2007 Mar 08 8:28 PM
Hi,
Is there some restriction on the number of characters that can be submitted to the BAPI_PO_CREATE1 Potextheader TextLine? I have binded my context node in a WebDynpro application to a TextEdit box, but the text Edit box will only display and submit partial text and not the entire comment that I am trying to enter into the to SAP backend header text for the PO. It is proving to be extremely difficult to enter some text for comments on a PO. I am new to SAP. Any help greatly appreciated!
Thanks,
Stu
Hi,
Is there some restriction on the number of characters that can be submitted to the BAPI_PO_CREATE1 Potextheader TextLine? I have binded my context node in a WebDynpro application to a TextEdit box, but the text Edit box will only display and submit partial text and not the entire comment that I am trying to enter into the to SAP backend header text for the PO. It is proving to be extremely difficult to enter some text for comments on a PO. I am new to SAP. Any help greatly appreciated!
Thanks,
Stu
2007 Mar 08 9:39 PM
Hi Stu,
There is no limitation on the number of charachters in the PO header text. But I guess you are using just one line in the text table. Each line has 255 charachters and there can be n number of lines. In you Webdynpro context you will have to bind it to the table type rather than just the line. You can use the type STRING_TABLE in the context which is bound to the text edit and then use that to pass the data back to the BAPI function module. That might solve your problem.
Best regards,
Sudhi
2007 Mar 09 7:35 PM
Sudhi ,
Thanks for your reply. I ended up splitting my TextEdit Box string into chunks and creating a new element in Potextheader for each chunk. This has solved the problem.
Regards,
Stu