Application Development and Automation 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: 
Read only

How to use EXTENSION to insert reason_code with BAPI_ACC_DOCUMENT_POST?

Former Member
0 Likes
2,226

Hi, experts

I want to create a FI certification with the document type SA, but this type need to insert reansion code to be created. As there is no such field in the BAPI_ACC_DOCUMENT_POST. How can I input reason code? Could I use the exit structure of bapi EXTENSION1 or EXTENSION2?

Is there any sample code for that?

Thank you very much.

2 REPLIES 2
Read only

Former Member
0 Likes
657

EXTENSIONIN is used to update the fields appended to std SAP tables.

It is very common to append zee fields to std Tables like MARA. Those can be updated using structure EXTENSIONIN . In your case if it is custom field appended to std Structure then it could be updated.

Read only

Former Member
0 Likes
657

Refer below threads

Hope this helpss...