cancel
Showing results for 
Search instead for 
Did you mean: 

Filling up Line item text in BAPI_PR_CREATE

former_member355937
Participant
0 Kudos

Hello Guys,

I want to use the FM BAPI_PR_CREATE and fill up its item text for line item level. How do you properly fillup the table <i><b>PRITEMTEXT</b></i>? What should be the appropriate TEXT_ID, TEXT_FORM should I use?

I urgently need your professional advice regarding this matter.

Thank you very much,

Jeffrey

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Pass the following values:

TDOBJECT(TExt object) EBAN

TDNAME(Text name ) <Concatenation of Purchase req number and Item number of purchase requisition>

TDID(Text ID) B01

TDSPRAS(language) EN

REgards,

Ravi

P.s: Please reward helpful posts.

Former Member
0 Kudos

Quick change

TDNAME - you don't need to pass anything to this as the PR is not yet created, the BAPI will internally take care of this.

Regards,

Ravi

Note : Please mark all the helpful answers

former_member355937
Participant
0 Kudos

Thanks RAVI!

One more thing. In TDID(TextID) field, for value 'B01', does this mean: B01 is for Item text;

B02 is for Item Note and so on...?

Thanks,

Jeffrey

Former Member
0 Kudos

Exactly.

What you can do is to go into a existing PR and go to the text in full screen mode. And then in the Go To-->

Header you can see all the parameters required for that text.

Regards,

Ravi

Note : Please mark all the helpful answers

former_member355937
Participant
0 Kudos

Hello Ravi,

Thank you so much for the info. Another thing, how come I could not see <i><b>Go To--> Header</b></i> menu that you are refering to?

Thanks,

Jeffrey

Former Member
0 Kudos

Hi,

Select the SAPScript Editor from the list of the values displayed in drop down list box down the text editor, then it take you the SAP Script Editor then select GOTO-> Header, you can find Text Id and Text Object name.

Regards,

Arun.

former_member355937
Participant
0 Kudos

Hello Ravi,

How come when I used the textID 'B04' - Material PO text it was placed in 'B01' - item text instead?

Thanks,

Jeffrey

Answers (0)