Application Development 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: 

Regarding BSEG Posting

Former Member
0 Kudos

hi experts,

I have few custom fields in my BSEG table ,

like

yycns

yasd

yass

zzabd

Now i want to include these fields in my standard BAPI_ACC_DOCUMENT_POST

and den to enhance IDOC for this Bapi, Here IDOC is capturing data from ETC layer external to SAP.

How to process step by step. Can anybody send me example code for the same.

I will provide points for the help.Please reply fast as its a bit Urgent.

Regards

Amit Singla

2 REPLIES 2

Madhu2004
Active Contributor
0 Kudos

Hi Amit,

we cannot add the fields in the in built bapi but copy the same code and create a new bapi and the fields to that bapi,

and inorder to enhance the IDOC add a segment to the idoc.

Madhu

Former Member
0 Kudos

Ya Madhu,

You r right, i have to develop a custom bapi , next to create a segment in IDOC , but how to proceed with the same can you suggest me ?

I have never done it before, How IDOC communicate with new bapi?

thanks in advance