Skip to Content
author's profile photo Former Member
Former Member

PO script (Medruck)

Hi all.

I am fasing an issue in the script medruck.

I copied the medruck into zmedruck.

in the standard form the line items in the

main window are:'item no', 'material', 'discription'(as in first row).

these are printing through text element /E ITEM_LINE_1.

in the second row: '0rder qty', 'unit'.

printing through the text element:ITEM_LINE_3F.

my requirement is,to change the positions of; discription ;and ;order qty'.

so I moved the 'description ' to second row and 'order qty' to first row.

but in the print preview the 'description' is comming.

but the 'order qty' is not comming.( the corresponding fiels is--RM06P-PRMG1).

in the debugging while the value in the field RM06P-PRMG1 is deleting when controll comming to the text elementb ITEM_LINE_1.

Can any body help me to solve this issue.

thanks in advance,

Regards,

Eswar

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2007 at 05:19 PM

    Here is what I had to do.

    In the MEDRUCKTOP include , declare a local variable of ekpo-menge.

    lv_menge type BSTMG.

    _________________________________________________________

    In your custom form ZMedruck there is a function module for Print_PO. Within this function module EKPO is available to you.

    after the following code

    " PERFORM prepare_item_text TABLES doc-xekkn doc-xaend.

    "Insert

    clear lv_menge.

    lv_menge = ekpo-menge

    ___________________________________________________________

    Call the local variable in your script

    &lv_menge& instead of RM06P-PRMG1).

    thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2007 at 05:09 AM

    what you can do is comment the lines in the text element which you do not want

    and copy the lines that you need to the text element you need.

    i have tried..it works....

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.