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

Need help on BDC issue

Former Member
0 Likes
1,059

I am doing a BDC recording for t-code SU10, when i choose the user and click on lock icon, the control is coming out instead of displaying the change log. Please help on this.

I need to record the log disply as well in BDC which is not shown while recording ( I can see the log when i directly lock the user in SU10)

NOTE: SAP Environment is EHP 7

Recording from SHDB is:

   1                                               T SU10 BS AA X   F

   2 Screen 1 Screen#                     X                                                                                                                                                                                                                                                                         

   3                                                 BDC_CURSOR      field(01)

   4                                                 BDC_OKCODE      /00

   5                                                 field(01)                  USERID

   6 Screen 1 Screen#                    X                                                                                                                                                                                                                                                                         

   7                                                 BDC_CURSOR       field(01)

   8                                                 BDC_OKCODE      =LOCK

   9                                                 MARK_COL(01)      X

I am doing a BDC recording for t-code SU10, when i choose the user and click on lock icon, the control is coming out instead of displaying the change log. Please help on this.

I need to record the log disply as well in BDC which is not shown while recording ( I can see the log when i directly lock the user in SU10)

NOTE: SAP Environment is EHP 7

Recording from SHDB is:

   1                                               T SU10 BS AA X   F

   2 Screen 1 Screen#                     X                                                                                                                                                                                                                                                                         

   3                                                 BDC_CURSOR      field(01)

   4                                                 BDC_OKCODE      /00

   5                                                 field(01)                  USERID

   6 Screen 1 Screen#                    X                                                                                                                                                                                                                                                                         

   7                                                 BDC_CURSOR       field(01)

   8                                                 BDC_OKCODE      =LOCK

   9                                                 MARK_COL(01)      X

5 REPLIES 5
Read only

Former Member
0 Likes
940

Hi,

I also faced some problems in BDC not for SU10 but there  are few TCODES where BDC doesn't

perform as we are expecting.

Solution to this i follow is to SUBMIT program:

Use this variation of SUBMIT statement:

SUBMIT SAPLSUID_MAINTENANCE ( Program for SU10 )

WITH ....... selection parmeters

EXPORTING LIST TO MEMORY AND RETURN


After that you can get the list exported to memory by using


FM LIST_FROM_MEMORY


Then you can use FM LIST_TO_ASCI to convert that list into ASCII so that you can display it or perform any other functions on that internal table..

Read only

0 Likes
940

Hi Suresh,

Thanks for the quick reply.

I dont think so I can SUBMIT SAPLSUID_MAINTENANCE ( Program for SU10 ) as it is of  type "F".

Read only

0 Likes
940

You can check program : SAPMSUU0M that is executable.

Read only

suneel_uggina
Participant
0 Likes
940

Hi ,

Please refer the below link.

Read only

ipravir
Active Contributor
0 Likes
940

Hi,

As per suneel uggina comment, if you are not able to lock the user through BDC due to some problem.

So the same you can do with use BAPI_USER_LOCK.

Regards,

Praveer.