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

Problem in BAPI *BAPI_BUS2172_GET_DETAIL

Former Member
0 Likes
395

Hi Experts,

I am using Bapi BAPI_BUS2172_GET_DETAIL in the user exit CNEX0002 to get the Authorization detail.

But Bapi is behaving randomly for each execution of the same Project defiantion with different Ok Code.

Suposse in the first run it retuns like this

AUTH_HOLDER_USER_GROUP LOB_HD_MFG[..]

AUTH_HOLDER_USER_GROUP LOB_RESC_MFG[..]

but for the same input it returns next time like below

AUTH_HOLDER_USER_GROUP [..]

AUTH_HOLDER_USER_GROUP [..]

I am surprised ? Please let me know the possible solution soon.

Regards

Mohit Bansal

Hi Experts,

I am using Bapi BAPI_BUS2172_GET_DETAIL in the user exit CNEX0002 to get the Authorization detail.

But Bapi is behaving randomly for each execution of the same Project defiantion with different Ok Code.

Suposse in the first run it retuns like this

AUTH_HOLDER_USER_GROUP LOB_HD_MFG[..]

AUTH_HOLDER_USER_GROUP LOB_RESC_MFG[..]

but for the same input it returns next time like below

AUTH_HOLDER_USER_GROUP [..]

AUTH_HOLDER_USER_GROUP [..]

I am surprised ? Please let me know the possible solution soon.

Regards

Mohit Bansal

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
354

Look at OSS [Note 1275182 - Short dump occurs when a version is created|https://service.sap.com/sap/support/notes/1275182] valid since 27.03.2009

Symptom

(...)

3. In a Z report, you edit several projects and/or project templates. The BAPI module BAPI_BUS2170_GET_DETAIL and/or BAPI_BUS2172_GET_DETAIL returns incorrect attributes.

Regards,

Raymond