2016 Jul 31 3:29 PM
Hello experts,
I have one issue, I am populating one custom field added in additional tab B at line item level in VBAP at Exit, move_field_to_vbap in include MV45AFZZ.
the code is triggering for line item 10 and setting the VBAP custom field value, but when I am entering the value in line item 20 and pressing enter, the code is not getting triggered.
Any suggestions, what would be my proper exit where I can place this code and expectations would be, if user enters all the line items together or one by one, the custom field filled in the screen will be updated for all line items.
Regards,
Salil B
2016 Jul 31 3:30 PM
in Addition to above post, the transaction used will be VA01 to create sales order or VA02 to change.
2016 Aug 01 12:48 PM
Hi Salil,
Did you tried with FORM userexit_save_document_prepare in MV45AFZZ.
Check this .
Regards,
Praphul
2016 Aug 01 1:22 PM
Hi Salil,
How is the code organized in the user-exit form 'MOVE_FIELD_TO_VBAP'? Are you sure it doesn't even hit the FORM at all or is it possible that a CHECK statement for instance causes it to exit out completely before your new code is executed?
Regards,
Ryan Crosby
2016 Aug 01 2:53 PM
hey Try FORM USEREXIT_CHECK_VBAP USING US_DIALOG. Include MV45AFZB
it will work, it will trigger each line item.
Sinagam.