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

CDHDR data not updated correctly

Former Member
0 Likes
1,418

Hi Everyone,

I am trying to release purchase order using the bapi BAPI_PO_RELEASE ,while releasing the po the table CDHDR is not updated correctly (CDPOS table get updated  correctly).Please help me to resolve this issue.

6 REPLIES 6
Read only

Former Member
0 Likes
1,190

Hi Kiran

Is CDHDR being updated by a custom change or via Standard?

If via Standard then I would log this with SAP OSS.

Regards

Arden

Read only

0 Likes
1,190

Hi Arden ,

Thanks for the reply .

The Tcode Fields is not updated correctly , while using the bapi 'BAPI_PO_RELEASE'.

Read only

0 Likes
1,190

Hi Kiran

I'm not sure it's going to either as the BAPI can be called from anywhere.

Is CDPOS getting updated with the TCODE?

Regards

Arden


Read only

0 Likes
1,190

Hi Kiran,

Create a break-point in FM EINKBELEG_WRITE_DOCUMENT.

Activate update debugging and run your bapi to find how this FM is updating CDHDR table.

Thanks

Read only

0 Likes
1,190

Hi Arden,

yes, CDPOS values are updated correctly and i think there is no Tcode Field in the table CDPOS

Read only

0 Likes
1,190

OK

I doubt logging this with SAP OSS will help as this is most likely the intended design.

The only way I can think to get your TCODE populated is to programmatically locate and update these after your BAPI call.

Sorry, that's about all I can offer on this one.

Regards

Arden