Application Development and Automation 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: 
Read only

what does this code do?

0 Likes
1,386

hello community!

Can someone help me understand what this code does and what it is for?

Thanks!

DATA: v_modo type C.

v_modo = 'N'.

BDC_OPTIONS-DISMODE = v_modo.

BDC_OPTIONS-UPDMODE = 'A'.

BDC_OPTIONS-DEFSIZE = 'X'.

BDC_OPTIONS-RACOMMIT = 'X'.

CALL TRANSACTION 'SU03'

USING BDCDATA

OPTIONS FROM BDC_OPTIONS

MESSAGES INTO gt_msg.

1 ACCEPTED SOLUTION
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Likes
1,290

Hello juanastradaa

This code definitely calls the SU03 transaction that maintains authorizations and profiles. That's all I can tell from the code. You have not provided the content of BDCDATA so it's not possible to tell what the code is doing in the transaction. Also see SAP Help on CALL TRANSACTION - USING

Best regards

Dominik Tylczynski

3 REPLIES 3
Read only

AlexGourdet
Product and Topic Expert
Product and Topic Expert
0 Likes
1,290

Thank you for visiting SAP Community to get answers to your questions.

As you're looking to get most out of your community membership, please consider include a profile picture to increase user engagement & additional resources to your reference that can really benefit you:

I hope you find this advice useful, and we're happy to have you as part of SAP Community!

All the best,

Alex

Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Likes
1,291

Hello juanastradaa

This code definitely calls the SU03 transaction that maintains authorizations and profiles. That's all I can tell from the code. You have not provided the content of BDCDATA so it's not possible to tell what the code is doing in the transaction. Also see SAP Help on CALL TRANSACTION - USING

Best regards

Dominik Tylczynski

Read only

Ulrich_Schmidt1
Product and Topic Expert
Product and Topic Expert
0 Likes
1,290

I don't see, what this has to do with RFC?!