Application Development and Automation 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: 
Read only

Header text is only taking 132 characters using BAPI - BAPI_SALESORDER_CREATEFROMDAT2

0 Likes
2,362

Hello all,

I am using a BAPI - BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order and ia am able to create a sales order using this BAPI but problem is when i pass more than 132 characters as a header text its only taking 132 characters and my requirement is to add more than 132 characters to the header text.

please suggest me what has to be done to get the header text more than 132 characters in sales order header text.

Thanks in Advance!!

3 REPLIES 3
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,785

Define text in more than one line.

It has been asked already:

"BAPI_SALESORDER_CREATEFROMDAT2" "header text" site:sap.com
Read only

Abinathsiva
Active Contributor
1,785

Hi,

Since TLine - TDLINE 132 char length, it has to be split into next line and process.

Read only

RaymondGiuseppi
Active Contributor
1,785

If your text is greater than a single record of text table, use a FM such as C14W_STRING_TO_TLINE to split it in multiple TDLINE records.