2008 Apr 21 3:17 PM
Hi,
i´ve added "custom" fields in RBKP table by means of an append structure following the instructions of a badi implementation.
i´d love to have this "custom" fields available when using BAPI_INCOMINGINVOICE_PARK.
That is, i need to have them available as input parameters of the bapi.
The structure used in the standard is BAPI_INCINV_CREATE_HEADER. What i need is to have within the former structure my z fields:
e.g. BAPI_INCINV_CREATE_HEADER-ZZCUSTOMFIELD_1,
BAPI_INCINV_CREATE_HEADER-ZZCUSTOMFIELD_2,
...etc.
is there a way to do this?
copying the standard bapi to a Z one is a feasable solution?
Best regards.
Hi,
i´ve added "custom" fields in RBKP table by means of an append structure following the instructions of a badi implementation.
i´d love to have this "custom" fields available when using BAPI_INCOMINGINVOICE_PARK.
That is, i need to have them available as input parameters of the bapi.
The structure used in the standard is BAPI_INCINV_CREATE_HEADER. What i need is to have within the former structure my z fields:
e.g. BAPI_INCINV_CREATE_HEADER-ZZCUSTOMFIELD_1,
BAPI_INCINV_CREATE_HEADER-ZZCUSTOMFIELD_2,
...etc.
is there a way to do this?
copying the standard bapi to a Z one is a feasable solution?
Best regards.
2008 Apr 21 3:26 PM
Hi Pablo:
In case you are using SAP version ECC6, you can enhance interface for the BAPI.
You can read about Enhancement Framework:
http://help.sap.com/saphelp_nw04/helpdata/en/3e/0e1089c24611d1ad09080009b0fb56/content.htm
Best regards.
Jordi.
2008 Apr 22 8:02 AM
Hi,
After reading the SAP documentation i still don´t have a clear idea of what i have to do in order to have my custom "Z" fields available in header structure of BAPI_INCOMINGINVOICE_PARK:
HEADERDATA LIKE BAPI_INCINV_CREATE_HEADER
Could someone please give a hint?
Best regards
2008 Apr 22 8:52 AM
Hi Pablo:
I didn't have the chance to enhance a BAPI interface, neither to use enhancement points, but I read it is possible.
Try this:
Go to SE37, and display the BAPI you wish.
Select the Import or Export Tab.
Go to Menu: Function Module -> Enhance Interface, and select an existing enhancement Interface, or create a new one. Follow the steps.
Later you will have to handle it by using enhancement points, and enhancement points implementation.
This works for ECC6. For 4.6C does not work. Enhancement framework is a new feature.
Hope this helps.
2008 Apr 24 7:17 AM
Hi,
i´ve finally solved the question copying the standard bapi to a Z one and doing my changes
inside the fm.
Best regards.
2008 Apr 24 9:01 AM
Hi Pablo:
Of course, this is a solution.
But has the drawback that in the future, in case of an upgrade, if SAP modifies the BAPI, your ZBAPI may not work properly.
Best regards.
Jordi
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |