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: 

Problem in Purchase Requisition Upload

Former Member
0 Kudos

Hi all,

I am uploading Purchase Requisition through BAPI

by BAPI_REQUISITION_CREATE.

Then I am appending text both in items and header by

fm CREATE TEXT.

But when i am uploading the item text

Line Comments are transfering with the extra characters.

example:-

When we type long descriptions we use returns and blank lines for formatting. Right now the text is coming over but the formatting is getting messed up.( The Blank lines and return are getting messed with # .)

how to solve it.

thanks in advance.

SG

3 REPLIES 3

Former Member
0 Kudos

Any help on this?

0 Kudos

Hi ,

One suggestion it may work try out..

i think the problem is with the formatting input to the create_text function module. try to change the import parameter of the function module CREATE_TEXT i.e FFORMAT to initial.

Former Member
0 Kudos

Instead of using FFORMAT which will format all the lines the same way, use the TLINE-TDFORMAT. Do not use formatting characters in the text itself, it will not be understood.