2008 Mar 07 8:59 AM
Hello,
I need some help about how to do the following: in my abap program I need to access a set of customers. This set of customers can be changed in the future in order to add or remove customers.
Any idea about how to do using a standard functionality of SAP? I do not want to create any Z table. Is there something like "sets" in SAP? Functional team has told me to store this information as variables using "sets" which will give the ability to add more such Customers when required.
Thanks
2008 Mar 07 9:05 AM
hi Alberto,
sets are created in tcode GS01.
hope this helps
ec
2008 Mar 07 9:05 AM
2008 Mar 07 9:10 AM
Set related transactions are GS01/ GS02/ GS03
Please refer https://wiki.sdn.sap.com/wiki/x/8dQ
Best Regards,
Arun
2008 Mar 07 9:33 AM
You can maintain Sets via GS01/GS02 transaction.
1. Go to GS01 to create a new set.
2. Give a proper name for the Set Name, Provide the Table Name as KNA1.
3. On pressing Enter it will ask for the fieldname. Give it as KUNNR.
4. On pressing Enter, you will get into the maintenance screen.
5. Maintain the values and press Save button to save the set.
To access the values maintain thru program,
1. First get the SET ID using the FM G_SET_GET_ID_FROM_NAME.
2. Using the SET ID get the values maintained in the set using FM
G_SET_TREE_IMPORT.
Hope this helps.
Reward points for all helpful answers.
Thanks,
Balaji
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |