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: 

populate document header text in SES by bapi BAPI_ENTRYSHEET_CREATE

former_member224404
Active Participant
0 Kudos

Hi,

I am using BAPI BAPI_ENTRYSHEET_CREATE to create a service entry sheet. But I am not able to populate the document header text (bktxt) in acceptance tab in service entry sheet header in ML81N.

Can anybody help me what I need to pass to this BAPI in order to populate this field.

Thanks,

Mainak

1 REPLY 1

Former Member
0 Kudos

Hey Mainak,

I am aware that the question was posted by you long back, but I am replying so that other readers probably can benefit from the answer below -

I faced the similar issue recently in one of the projects. The solution that i have opted is as below -

1. I leveraged the changing parameter 'ESSR' work area of the user exit 'EXIT_SAPLMLSR_010'. This user exit is internally called via BAPI_ENTRYSHEET_CREATE.

2. You can export the value of 'ESSR-BKTXT' field to memory ID from the calling program and import it within this user exit and pass it to changing parameter ESSR.

Hope this helps to other readers!

- Thanks,

Urvi.