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

Change Pointer ID already exists

Former Member
0 Likes
1,295

Hi All,

I am creating material using BAPI_MATERIAL_SAVEDATA I am getting error message "Change Pointer ID already exists"

I need your inputs please to resolve this.

Regards

Martin

Hi All,

I am creating material using BAPI_MATERIAL_SAVEDATA I am getting error message "Change Pointer ID already exists"

I need your inputs please to resolve this.

Regards

Martin

4 REPLIES 4
Read only

Former Member
0 Likes
1,049

can i have message number and message id..

Read only

0 Likes
1,049

Hi Seshu,

Message number :- 050

message Id :- B2

thanks in advance

Martin

Read only

0 Likes
1,049

Hi Martin,

Put a break point in the program <b>LSCP1F06</b> where its raising the exception. To help you there are three places(lines 27,33,41). See where the sy-subrc is not equal to zero. You will know wht the problem exactly is.

Thanks

Aneesh.

Read only

0 Likes
1,049

Hi Martin,

I think you are inserting dulicate keys,

Keep the break point in function Module - CHANGE_POINTERS_CREATE

Keep break point below.

  • write change pointers and status

INSERT BDCP FROM TABLE T_BDCP ACCEPTING DUPLICATE KEYS.

INSERT BDCPS FROM TABLE T_BDCPS ACCEPTING DUPLICATE KEYS.

IF SY-SUBRC <> 0.

MESSAGE E050 RAISING DUPLICATE_POINTER_ID.

ENDIF.