2026 May 15 1:13 PM
Hi. I'm having an issue with BAPI_ENTRYSHEET_CREATE. I'm passing a custom text to the entrysheetservices-short_text parameter for each service. However, the BAPI automatically assigns the short text of the service from the purchase order or contract to the SES. How can I ensure that my custom text is used instead?
Hi. I'm having an issue with BAPI_ENTRYSHEET_CREATE. I'm passing a custom text to the entrysheetservices-short_text parameter for each service. However, the BAPI automatically assigns the short text of the service from the purchase order or contract to the SES. How can I ensure that my custom text is used instead?
2026 May 15 1:29 PM
2026 May 18 9:22 AM
I think it doesn't work in S4 HANA. I just get data from outside and call BAPI. No screens.
2026 May 19 5:35 AM
Hi,
I found this note: https://me.sap.com/notes/1337342/E
It mentions a symptom related to the short text.
Even though it is not exactly what you are experiencing it did make me think that the usage of the short text field is somewhere configureable.
When a Service Entry Sheet(SES) is created using BAPI_ENTRYSHEET_CREATE with a service master record having "Short text change allowed(ASMD-CHGTEXT)" indicator set and if the short text field for the service is not filled in the BAPI then the system creates SES with service line short text as '$'.
I then looked further and apparently the CHGTEXT indicator can be configured via transaction ML02 based on the service type.
As it turns out I don't have a system where this functionality is used and as such did not check it further.
Nonetheless it might give you some direction to look further into 🙂
If that is not it there is still the option that there is a badi or exit used in the flow that holds custom logic to overwrite the short text field. Use a trace or other manners of finding such potential points of customer adaptations in the flow.
Hope it helps.
Kr,
Joery
2026 May 19 8:42 AM
Hi Joery, yes, CHGTEXT is set to 'X' for me, so the short text should be editable. I will try to investigate exits and badis.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |