on 08-15-2013 7:47 PM
I am modifying xvbep-lifsp in LVKMPFZ3. I am looking for suggestions on how test. I am not sure what all will be affected and
do not want to corrupt a table somewhere. He is an example of the type of modification I am referring too.
IF xvbap-status = 'EH'.
exec_hold_flag = 'X'.
xvbep-lifsp = '10'.
MODIFY xvbep INDEX indx_xvbep.
MESSAGE ID 'Z1' TYPE 'I' NUMBER 131
WITH 'Executive hold placed on line item'.
CONTINUE.
ENDIF.
Best regards
Hi Doug,
You are using the exit3 in OVA8, am I right? Usually if it refers to SO, you are doing it in function module SD_ORDER_CREDIT_CHECK. Set a break-point in
perform user_credit_check3 using update
xvbak-kkber
xvbak-knkli
flg_order
flg_delivery
changing
rc_check_2.
After, set other break point in function module SD_NEXT_ACTION_DATE_ORDER and check if it changes the values for VBEP although I can't understand what do you need to block the schedule when you can block the document by credit reasons doing the proper settings in OVA8.
I hope this helps you
Regards
Eduardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hell Doug,
Please try at include MV45AFZZ and FORM USEREXIT_MOVE_FIELD_TO_VBEP and write the modify statement there, also done forget to set update flag as 'U' to XVBEP structure. Lemme know in case you need any further help in this. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do want to put scheduled line on credit block? If yes then why in delivery why not in Sales order?
what is the scenario
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please let me know the scenario for which, you have modified the program ? Probably, that will give us better idea to give a suggestion.
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi G,
We have added a place for text in the additional tab B in the sales order to maintain the credit level for the customer. I am using User Exit 3 to determine if there is a hold on the account. I am also checking current balance and credit limit. I will need to make a change to vbep-lifsp to change the status of the load.
Regards,
Doug
Hello Doug,
Found this for you. Check out the sample code provided by Ray Mannion in this thread and i hope it helps. Thanks.
I looked that the day before you sent it and then some more yesterday. It took me over an hour to step through the code and that was flying through much of it. It does appear that that code will make the change to vbep-lifsp but at what cost? That function call appears to effect many areas.
Doug
Hello Doug,
I don't think that this code will generate any kinda wrong impact as calling this FM will only update Schedule lines of SD Doc however i still suggest you to discuss the same with your ABAPER before making it go live and check the implications before its implementation in your DEV/QAS server. Thanks, do update with your findings.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.