‎2006 Mar 09 7:52 PM
hai friends,
I am using BAPI_ACC_DOCUMENT_POST for GL posting. The user wants to populate values in the custom field in BSEG Table, say BSEG-ZZFLAT1 through Bapi for posting.
I populate the table EXTENSION1 in the BAPI. But it cannot update in the BSEG table. How it can be done?
Thanks in advance,
Elamaran
‎2006 Mar 09 8:12 PM
Can you debug
PERFORM call_customer_function
TABLES extension1.
in the BAPI and check the error / cause for not updating the structures.
‎2006 Mar 09 8:12 PM
Can you debug
PERFORM call_customer_function
TABLES extension1.
in the BAPI and check the error / cause for not updating the structures.
‎2006 Mar 09 8:12 PM
You need to use SAP Enhancement (trans SMOD/CMOD) ACBAPI01.
Also see <a href="https://websmp202.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000325242002">OSS Note 487722</a>
The BTE (Business Transaction Event) RWBAPI01 may be useful too. The above referenced Note states:
Implementing the Business Transaction Event (BTE, also OPEN FI) RWBAPI01 with enhancement structure EXTENSION1 at BAPI_ACC_DOCUMENT_POST
As for CMOD/SMOD exit ACBAPI01, it is possible to change the accounting document in this case. Access: Transaction FIBF:
1. Call the menu path "Settings > Products -> ...of a customer" and create a product that mirrors the function which is to be mapped in the BTE.
2. Create a function module that contains the same interface, such as example module SAMPLE_INTERFACE_RWBAPI01.
3. Call menu path "Settings -> Process function modules > ...of a customer" enter process = RWBAPI01, the function module created and the product.
4. Finally, activate the product you have created in the first step so that the module will run.
Message was edited by: James Gaddis