Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

sd

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

thanks