10-30-2008 12:22 PM
Hi everyone,
I have created a SET using transaction GS02.
It is created for the following fields:SKA1-saknr.
I also have an internal table having values for SKA1-saknr.
Now i have to validate whether the values present in the internal table are present in the SET.
But i don't know how to fetch values from the set..
Can anyone help me on this
10-30-2008 12:25 PM
Look at this sdn Wiki [Reading Sets - GS01 - GS02 - GS03|https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/listpages-dirview.action&key=snippets&idstoexpand=9055&] and sdn Blog [Understanding Sets in SAP R/3|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5541] [original link is broken] [original link is broken] [original link is broken];
Regards
10-30-2008 12:25 PM
Look at this sdn Wiki [Reading Sets - GS01 - GS02 - GS03|https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/listpages-dirview.action&key=snippets&idstoexpand=9055&] and sdn Blog [Understanding Sets in SAP R/3|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5541] [original link is broken] [original link is broken] [original link is broken];
Regards
10-30-2008 12:32 PM
Thanks a lot for your answer.
I did check the code.
But what should be the set class in my case
for input to the function module.
10-30-2008 2:38 PM
In table SETCLS you can find the default values for classes, or from SETHEADER with your class name. (i suppose your set class may be 0000 generic sets, 0102 Cost element groups or 0109 Account groups)
Regards
10-30-2008 12:26 PM
Hi,
Set parameter Id from your internal table like below.
set parameter id 'ZAD1' field itab-matnr.