03-06-2008 12:52 PM
Hi,
in structure VBKRED there is a field called credit limit ... KLPRZ.
the same is used in transaction VKM1 "%used".
i need the significance of that field.
regards,
kb
03-06-2008 4:12 PM
Hi,
The field VBKRED-KLPRZ contains the percentage amount of a customer's credit limit that the customer has used up already. The structure is actually a node in the structure of logical database KMV, and the field (VBKRED-KLPRZ) is filled by the logical database program SAPDBKMV (see form credit_exposure). Transaction VKM1 corresponds to program RVKRED02, which actually submits RVKRED01. Program RVKRED01 uses logical database KMV (see its program attributes). Logical database KMV does the work of filling VBKRED-KLPRZ during transaction VKM1.
Within the logical database program, the standard function module 'CREDIT_EXPOSURE' is used to get the value for VBKRED-KLPRZ for a given "Credit control area" and "Customer number". To see exactly how the KLPRZ percentage is calculated, look at the bottom of the code of function module 'CREDIT_EXPOSURE' (search for "percentage"). Basically, the percentage is calculated by dividing the sum of all open orders for that "customer/credit control area" by the "Customer's credit limit". The customer's credit limit is stored in KNKK-KLIMK.
Best Regards,
Jamie
01-14-2009 10:08 PM