2023 Jan 11 6:39 PM
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.
2023 Jan 11 7:04 PM
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
2023 Jan 11 6:39 PM
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
2023 Jan 11 7:04 PM
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
2023 Jan 11 9:30 PM