cancel
Showing results for 
Search instead for 
Did you mean: 

PO print preview before saving

Former Member
0 Kudos

HI all,

I have a requirement where i have assigned a custom smartform ZMEDRUCK to the output type in ME22N.

we have copied the standard MEDRUCK program and modified it accordingly .

I have added my code to get the Header and Item text.

Now the problem i am facing is :

I have to see the changes done to the PO in the Print Preview before saving it. i am not able to see the TEXTS in the Preview.

But it is showing in the Std Output which is a Scipt.

Is there any way to do bring in the TEXTS in the Print Preview before saving the PO?

I have debugged the STD program , where i am not able to find where they are getting in the TEXT data.

Kindly help me.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In the same i am also using , it is coming into print privew.

when you enter the text and press the enter it will automatically stored in STXH table based on EBELN.

i am passing the header text like

Type Start

Text Name &YXEKKO-EBELN&

Text Object EKKO

Text ID F01

Language &CONTROL_PARAMETERS-LANGU&

Former Member
0 Kudos

Hi,

Thank you for replying.

I solved it .

there are 2 tables T165K and T165P. these tables contain the Order type , TDobject, tdid.

From there i picked up the TDOBJECT and TDID and i am getting the header and item text before saving.

Thank U.

Vikki.