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

bapi for contract change issue

Former Member
0 Likes
867

Hi All,

I am trying to change PRICEDATE(MEPRF) using BAPI_CONTRACT_CHANGE .

But everytime in bapireturn i am getting following errors.Browsed all google  and modified code also but no use.

And i need only one item 10 for a contract-EBELN but in my bapi item table i am getting all the item number records.

1)Instance PurchasingContract of object type xxxxxxxxxx could not be change

2)Enter planned del time.

3)Change MEPRF could not be effected

Can anyone  pls help me .

Thanks,

Shalini

2 REPLIES 2
Read only

Former Member
0 Likes
542

Hi,

Can some one help me.I am getting dump for BAPI_CONTRACT_CHANGE.

" Access via 'NULL' object reference not possible."

I can see warning msgs in the dump as below.

"No message generated for output of purchasing document".

This msg i can see in me32k when i change manually also.But its only a information message.Still i am getting.

Did anyine face such type of issue.Pls respond.

Thanks

shalini

Read only

0 Likes
542

Hi Salini ,

Are you getting dump from both BAPI as well as ME23K .T-code ....?

Check this Note 1475971 - BAPI: Performance for contract and scheduling agreements

Regard's

Smruti