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_TRADINGCONTRACT_CHANGE

Former Member
0 Likes
1,277

Hi all

Need help.

I am using BAPI_TRADINGCONTRACT_CHANGE to the change the status for trading contract. I am passing the parameter for status change TRCONT-STAT to "complete". BAPI is successful but when I see the Tcode WB23 status is not changed to "complete" where if the BAPI is succ the status should be "Complete" . I am also using BAPI_TRANSACTION_COMMIT.

Plz give me solu if anybody has.

Thanks in advance.

Manisha

7 REPLIES 7
Read only

Former Member
0 Likes
1,036

Hi,

You have set the value of TRCONT_STAT in HEADDATAIN as X

You have to also put TRCONT_STAT in HEADDATAINX as X.

Regards

Sandipan

Read only

Former Member
0 Likes
1,036

Hi

Thanx for replying

I have done it but still m not able to see the changed status.

Thanx

Read only

0 Likes
1,036

Hi,

what is the Value you have passed to TRCONT_STAT is it N ?

Please check.

Read only

Former Member
0 Likes
1,036

Hi

I have different config we have to pass C to change the status. so m passing C.

it give me message as "Updating could not be completed"

Thanx

Read only

Former Member
0 Likes
1,036

Hi

Do we have any alternative for this BAPI.

thanx

Read only

0 Likes
1,036

Hi,

You can try this FM WB2_CONTRACT_RELEASE_AND_SAVE2.

Regards

Sandipan

Read only

Former Member
0 Likes
1,036

This message was moderated.