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

Standard Error V0103

Former Member
0 Likes
1,037

Hello experts,

I am to develop the Release strategy type configuration for VA01 tcode ( SD). For which i have added fields in table vbak. These are checkboxes (the ones that i have added in the Table VBAK). So in the layout have not assigned any function code for them .I have created 2 authorization objects and asigned users to them creating roles in PFCG.everything related to my code is going fine. But i am getting a Standard Error when i tick on the checkbox . Message class V0 and Msg No. 104.This is my code Please help me out.

IF sy-tcode = 'VA02'.

BREAK-POINT.

if vbak-zzchk1 = 'X'.

AUTHORITY-CHECK OBJECT 'ZOBJ1' ID 'ACTVT' FIELD '39'.

  • AUTHORITY-CHECK OBJECT 'ZLEVEL1' ID 'ACTVT' FIELD '39'.

IF SY-SUBRC <> 0.

MESSAGE 'You Are Not Authorized To Use This Transaction' TYPE 'E'.

  • MESSAGE E999(ZM) WITH 'You Are Not Authorized To Use This Transaction'.

  • clear vbak-zzchk11.

  • vbak-zzchk11 = 'Level 1 - Approved'.

else.

clear vbak-zzchk11.

vbak-zzchk11 = 'Level 1 - Approved'.

  • MESSAGE 'Successful' TYPE 'I'.

ENDIF.

ENDIF.

*BREAK-POINT.

IF VBAK-zzchk2 = 'X'.

if vbak-zzchk11 <> 'Level 1 - Approved'.

clear vbak-zzchk2.

MESSAGE 'Level 1 Should be approved first' TYPE 'S'.

endif.

AUTHORITY-CHECK OBJECT 'ZOBJ2' ID 'ACTVT' FIELD '39'.

IF SY-SUBRC <> 0.

MESSAGE 'You Are Not Authorized To Use This Transaction' TYPE 'E'.

ELSE.

clear vbak-zzchk22.

vbak-zzchk22 = 'Level 2 - Approved'.

MESSAGE 'Successful' TYPE 'I'.

ENDIF.

ENDIF.

ENDIF.

1 ACCEPTED SOLUTION
Read only

jaideepsharma
Active Contributor
0 Likes
950

Hi,

I feel that you will have to make an entry for your checkboxes in one or few of the tables mentioned below:

T185

T185D

T185E

T185F

T185T

T185V

T185W

KR Jaideep,

Hi,

I feel that you will have to make an entry for your checkboxes in one or few of the tables mentioned below:

T185

T185D

T185E

T185F

T185T

T185V

T185W

KR Jaideep,

4 REPLIES 4
Read only

jaideepsharma
Active Contributor
0 Likes
951

Hi,

I feel that you will have to make an entry for your checkboxes in one or few of the tables mentioned below:

T185

T185D

T185E

T185F

T185T

T185V

T185W

KR Jaideep,

Read only

0 Likes
950

Hi Jaideep,

Thanks for your Suggetion but can you please tell me why and how can i make these entries. I mean how will i identify the relevant table. These checkboxes are included in my table VBAK in the form of an append structure.

Read only

0 Likes
950

Hi Jaideep,

Thanks for your Suggestion . But can u please tell me how can i search the relevant tables into which i am to insert values (FCTcodes) for my checkboxes. In my Vbak table these checkboxes are appended by using a z append structure

Read only

0 Likes
950

Hi,

You will have to do this in transaction VFBS.

Also, go through the link below:

[VFBS in Sales Order |;

KR Jaideep,