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

MISSING_AUTHORIZATION when calling the func 'CS_BOM_EXPL_MAT_V2'.

0 Likes
895

All my friends ,

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

aumgb = 'X'

auskz = 'X'

capid = 'PP01'

datuv = sy-datum

ehndl = '1'

mehrs = 'X'

mmory = '1'

stlal = l_stlal

mtnrv = t_plaf-matnr

werks = t_plaf-plwrk

TABLES

stb = t_mat

matcat = t_catmat

EXCEPTIONS

alt_not_found = 1

call_invalid = 2

material_not_found = 3

missing_authorization = 4

no_bom_found = 5

no_plant_data = 6

no_suitable_bom_found = 7

conversion_error = 8

OTHERS = 9.

the sy-subrc eq 4 which means the missing_authorization occured . this code is written in the RFC function moudle . WHo can help me ~.

2 REPLIES 2
Read only

Former Member
0 Likes
619

Hi Jack

Since you are using this FM in RFC my guess is that your RFC user id which invokes this call in SAP

does not have authorization for BOM explosion.

I don`t see ny other issue.

Regards

Neha

Read only

Former Member
0 Likes
619

If you want to know which authorization object is missing you can retrieve the auth object through transaction su53.probably that object is missing in your user profile...

regards,

kashyap