cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

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

Thanks

Nayan

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for all

Former Member
0 Kudos

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