Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

regarding For ALL entries table

Hai guys,

<b>

TYPES: BEGIN OF TY_MAPP,
       AVBUND		LIKE	LIKP-VBUND,
       AVBELN		LIKE	LIKP-VBELN,
       AXBLNR		LIKE	LIKP-XBLNR,
       AWADAT_IST	      LIKE 	LIKP-WADAT_IST,
       ALFDAT		LIKE	LIKP-LFDAT,
       AVKORG		LIKE	LIKP-VKORG,
       AERNAM		LIKE	LIKP-ERNAM,
    END OF TY_MAPP.     

 IT_MAPP       TYPE TABLE OF TY_MAPP,
      TW_MAPP       LIKE LINE OF IT_MAPP,
      IT_MAPP1      TYPE TABLE OF TY_MAPP,
      TW_MAPP1      LIKE LINE OF IT_MAPP1.

SELECT VBELN FROM VBUP INTO TABLE IT_MAPP1
          FOR ALL ENTRIES IN IT_MAPP
          WHERE VBELN = IT_MAPP-AXBLNR+0(10).

ABOVE CODE GIVING COMPILE ERROR."FOR ALL ENTRIES IN IT_MAPP"

</b>

How to use INTERNAL TABLE HERE.

Also please confirm me whether belwo check is correct or not

>>> WHERE VBELN = IT_MAPP-AXBLNR+0(10).

THanks in advance.

Ambichan

Tags:
Former Member
Former Member replied

Add one field vbeln in IT_MAPP internal table.

then do

loop at it_mapp.

it_mapp-VBELN = IT_MAPP-AXBLNR+0(10).

modify it_mapp tranporting vbeln.

endloop.

then use for all entries IT_MAPP-vbeln directly.

Hope this will solve ur problem.

regards

vinod

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question