on 04-16-2008 9:57 AM
Hello Abapers,
Is it possible to have a loop inside a sapscript?
Can you give me a sample code?
I have tried it on my sapscript but it only shows the last row
of my internal table.
This is my source code :
/: DEFINE &WF_EBELN& = &EKPO-EBELN&
/: DEFINE &WF_EBELP& = &EKPO-EBELP&
/: PERFORM GET_ITEM_TEXT IN PROGRAM ZMPU_PO_ORDER
/: USING &WF_EBELN&
/: USING &WF_EBELP&
/: CHANGING &WF_TEXT&
/: ENDPERFORM
/: LOOP AT &WF_TEXT&
as &WF_TEXT&
/: endloop
in the zmpu_po_order, the WF_TEXT has 12 lines of data,
but when sapscript is displayed it only has one line.
I hope you can help me. Thanks in advance...
Hi,
It is not possible using loops in sap text editor .
YOU CAN USE IN PROGRAM OF FORM.
reward points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.