Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How can we update values in SET (GS02) using ABAP Code ( FM or BAPI)?

bhumika_patel
Discoverer
0 Kudos

Generally, We update values in GS02 manually, but what if there are more than 1k values? It is not possible to sit and update each and every single value..I tried to find BAPI to upload the data..and I found some FM such as G_SET_GENERATE G_SET_MAINTENANCE.I don't find it to be helpful..I would be grateful if anyone could help me.

1 ACCEPTED SOLUTION

NTeunckens
Active Contributor
0 Kudos

See this Blog : link that offers Samplecode.

As a fallback, you could use LSMW. See this link

4 REPLIES 4

NTeunckens
Active Contributor
0 Kudos

See this Blog : link that offers Samplecode.

As a fallback, you could use LSMW. See this link

0 Kudos

Hi Nic,

I did not understand the use of FM G_SET_MAINTENANCE but I have implemented BDC for the same.

Thank you for your response.

I would like if you let me know the exact use of G_SET_MAINTENANCE.


0 Kudos

Hi Nic,

I got the purpose of the FM. Thank you 🙂

0 Kudos

Hi Patel,

i am looking for FM to update multiple values in various sets.

i used G_SET_MAINTENANCE but not much useful, it is calling GS02.

Can you help me how you sorted out this issue.