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: 

what does this code do?

0 Kudos
609

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

DominikTylczyn
SAP Champion
SAP Champion
0 Kudos
513

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

AlexGourdet
Product and Topic Expert
Product and Topic Expert
0 Kudos
513

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

DominikTylczyn
SAP Champion
SAP Champion
0 Kudos
514

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

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos
513

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