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

How Can I perform the external abap programe transmit the internal table in

Hi,all

In Sapscript,I want calculate a internal table and return the changed table to Sapscript

I know used the transmit result variable for example:

/:PERFORM GET_MAKTX IN PROGRAM ZXX

/:USING &MATNR&

/:CHANGING &MAKTX&

/:ENDPERFORM.

How can I set Using with a table?

Thanks

Sun

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 06:09 AM

    Hi,

    You cant export and import tables using an SAP script. TAke your values in variables and do the calculations using it.

    Thanks

    Nayan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 04:10 AM

    Hi,

    As per my knowledge it is not possible to pass the entire table at a time using PERFORM in PROGRAM ,,, USING and CHANGING.

    Solutions:

    1) If possible do the same thing in the Print Program:

    using CONTROL_FORM call element and print in the script

    2) if you know the all table entries.: Pass all records at time:

    Ex: PERFORM Pxxxx in PROGRAM PROGXXXX

    USING <MATNR1>

    <MATNR2>

    <MATNR3>..............

    CHANGING < MAKTX1>

    <MAKTX2>

    <MAKTX3>............

    ENDPERFORM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:54 AM

    Thanks for all

    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.