Field Modifications

1. How to selectively grey out a field in VA01/02 ?

User Exit USEREXIT_FIELD_MODIFICATION
This exit is processed for EVERY field in the screen.
eg., Submitted date/time is entered here when creating the quote. In change mode this field by default is editable. The business required that this field should not be editable later after
the quote is created.
The following code is written to accomplish this.

if t180-trtyp eq 'V' and vbak-auart ne 'ZQTE' and (
screen-name = 'VBAK-MAHDT' or
screen-name = 'VBAK-BSTZD' ).

data: w_mahdt like vbak-mahdt.
data: w_bstzd like vbak-bstzd.

clear: w_mahdt, w_bstzd. "Submitted Date and Time fields

select single mahdt bstzd " Select the actual fields from the document.
from vbak
into (w_mahdt, w_bstzd)
where vbeln = vbak-vbeln.

if ( not w_mahdt is initial )
and ( not w_bstzd is initial ).
screen-input = 0. " This is what makes the fields grayed out.
endif.
endif.

Static vs Dynamic Credit Check

Static :: Combined value of

  1. Open Orders {Orders not yet delivered}
  2. Open Deliveries {Deliveries not yet invoiced}
  3. Open Invoices {Invoices not forwarded to Accounting}
  4. Open A/R Items
Dynamic :: Combined value of
  1. Dynamic Part {Open Order Value}
  2. Open Deliveries
  3. Open Invoices
  4. Open A/R Items
The open order value is stored in an info structure and a date range is specified called the horizon. So only totals 2 , 3, 4 are considered in dynamic credit check. All open orders beyond the specified horizon is not considered.

More Details on SAP Credit Management and SAP SD Training here.

Where are condition tables stored in the database ?

Annn Pricing
Bnnn Output
Cnnn A/C Det (Rev, Recon,Cash)
KOTDnnn Material Det
KOTEnnn Rebate
KOTGnnn Material Listing/Exclusion
KOTNnnn Free Goods Determination/Bonus Buy

Where are text objects maintained ?

SO10. These text objects are extensively used in SAP Script and SMARTFORMS. SAP Text Determination in SD can be used to configure the way texts flow through in SAP SD. Visit SAP SD Training for full fledged SAP Training in Sales and Distribution Functional Module