cancel
Showing results for 
Search instead for 
Did you mean: 

po condition values in sap script

Former Member
0 Kudos

Hi,

I modified the std po print prog and i want to add the data in the line_item_1 element.so that when i use perform in the form there i want to pass the value in using &itab-kbetr&.so how to add the itab value under the element line_item_1.pls help to solve the issues.

Thanks,

Rajendra.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved

Former Member
0 Kudos

Hello,

I am not clear with ur problem,but according to what I Understood u have to change the line item dynmically with value in the form.

Then use

PERFORM z_routine program zprogram

using &XXXXX&

changing &itab-kbetr&.

endperform.

Try in this way,Let me know if I am not clear.

Regards

Former Member
0 Kudos

Hi Ravi,

In the perform statement using &tkomvd-kbetr& i want to use.but i am not getting the data of tkomvd .because tkomvd is not available in the element item_line 1.tkomvd value is available in another element itemcondition.but i want it in element item_line _1.for that i changed the standard po program and i add the below line

PERFORM print_item_po1 TABLES doc-xekpo doc-xeket

doc-xekkn doc-xaend

USING 0 ix_mflag ix_from_memory.

LOOP AT tkomvd where kschl = 'RA00' OR KSCHL = 'RA01' OR KSCHL EQ 'RB00' OR

KSCHL = 'RC00' OR KSCHL = 'RL01'.

move-corresponding tkomvd to itab.

  • komvd = tkomvd.

append itab.

clear itab.

endloop.

even though i am not getting the value in perform using&itab-kbetr&.how to get the value here to display.pls help me solve the issue.

Thanks,

Rajendra.

Former Member
0 Kudos

revert me with ur mail id

Former Member
0 Kudos

Hi Ravi,

MY MAIL ID raj3k2@yahoo.com

Thanks,

Rajendra.