cancel
Showing results for 
Search instead for 
Did you mean: 

SapScript - Print table out_par - more than one entry for object

Former Member
0 Kudos

Hi Gurus,

following problem.

I have a SapScript form and call an external program from within the form.

In this programm I get more than one entry for the same out_par-value - this is correct.

My problem now is that on the form there is only printed one of the entrys.

Here my coding in SapScript.

/: DEFINE &ZZ_OBJECT& = ' '

/: PERFORM LESEN_OBJEKTLIST IN PROGRAM ZIHFORM

/: USING &CAUFVD-AUFNR&

/: CHANGING &ZZ_OBJECT&

/: ENDPERFORM

*

* All involved object:

* &ZZ_OBJECT&

Many thanks in advance for your help.

Regards

Accepted Solutions (1)

Accepted Solutions (1)

satyajit_mohapatra
Active Contributor
0 Kudos

In Sapscript PERFORM-ENDPERFORM statements, the parameters can contain only one value as they are variables of type character & length 80.

If you want multiple values in your CHANGING parameters, fetch all of them in different variables. Also, in your program store them in the same order, in the output internal table of structure ITCSY.

Check this thread

http://wiki.sdn.sap.com/wiki/display/profile/ExternalSubroutinesinSAPScript

Answers (0)