Hi ,
I have a requirement where I need to populate the User status of the sales order in KOMKBV1 structure.
For this purpose I have added the Z-field in the structure.
The user status is present in JEST table and also depends on the User profile which is in JSTO table. These tables can be accessed based on VBAK-OBJNR value.
As I want to update the KOMKBV1 structure I was calling my code in 'USEREXIT_KOMKBV1_FILL' of program 'RVCOMFZZ'.
But the problem here is during order creation I am not getting the VBAK-OBJNR when I enter RVCOMFZZ program.
Also I tried getting value from (SAPMV45A)RV45A-ASTTX , but if the subscreen in order creation where the value is present is not visited the (SAPMV45A)RV45A-ASTTX does not contain the 'User status' value.
Can you please let me know from which structure will I be able to get the value during order creation.
Regards,
Shardul