cancel
Showing results for 
Search instead for 
Did you mean: 

SapScript problem with PO

Former Member
0 Kudos

Hi all,

i have one problem in P.O. in P.O item level text is available

in that 6 options are there like item text,-----

i writen the code(in SCRIPTS -- SE71) to fetch the text that is given in that corresponding texts by using

INCLUDE &T166P----


'F01' -


1 TEXT.

INCLUDE &T166P----


'F02' -


2 TEXT.

INCLUDE &T166P----


'F03' -


3 TEXT.

INCLUDE &T166P----


'F04' -


4 TEXT.

INCLUDE &T166P----


'F05' -


5 TEXT.

INCLUDE &T166P----


'F06' -


6 TEXT.

it is working fine when ever we maintain data in 1 TEXT

but if we are not maitain in 1 TEXT it is not showing the data that is maintain in 2 TEXT.

plz help me .

Its Urgent.

Its Urgent.

Edited by: shankar ravi on Feb 29, 2008 11:42 AM

Edited by: shankar ravi on Feb 29, 2008 12:07 PM

Edited by: Alvaro Tejada Galindo on Feb 29, 2008 5:45 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

There are 2 ways

1)

INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH IX

Don't need to mention the function codes explicitly.

2)

Script:

You can call the text also from program's using PERFORM ..ENDPERFORM.

Program:

In the FORM, call the Function Modules READ_TEXT (or) SELECT_TEXT.

Read the documentation of the FMs.

Regards

Vinayak

Former Member
0 Kudos

thanks,

will u pls give me the code for the second case (FORM ENDFORM).

Regards,

Ravi.