09-08-2015 12:52 PM
Hi Friends,
We are trying to create a Invoice using the FM BAPI_INCOMINGINVOICE_CREATE.
Now we need to update the fields XREF2 and XREF3 of BSEG which is not present in the BAPI parameters.
The client will pass the values in extension table BAPIPAREX. Now we are trying to update the XREF2 and XREF3 using a FI Substitution, but I am not able to read the Extension Table value in the Substitution.
TA
Regards,
Gaurav
09-08-2015 3:01 PM
Read 2149315 - BAPI_INCOMINGINVOICE_CREATE and customer fields
Hint: And then use another BAPI or some tricks as exporting information to memory so substitution user-exit will be able to access it?
Regards,
Raymond
09-08-2015 3:01 PM
Read 2149315 - BAPI_INCOMINGINVOICE_CREATE and customer fields
Hint: And then use another BAPI or some tricks as exporting information to memory so substitution user-exit will be able to access it?
Regards,
Raymond
09-10-2015 8:09 AM
Please try this FM - EXIT_SAPLV60B_002 for update XREF1 AND XREF2.
Thanks,
Kalyan.
09-10-2015 10:07 AM
Hi Kalyan,
Thanks for the reply but this FM is not getting called when trying to post the invoice using BAPI.
I am going to try what Raymond suggested.
Any other pointers would be helpful.
Thanks.
09-10-2015 10:12 AM
Hi Gaurav,
Please check BADI ACC_DOCUMENT and method CHANGE.
The method has the extension parameter and parameter C_ACCHD have fields XREF2 and XREF3. Please check if it can be used.
Thanks
-Learner