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 log table for material document

Former Member
0 Likes
4,185

Hi Guys

Can anyone help me with the change log table for material documents (MKPF-MBLNR), i am looking for the change doc. object in CDHDR for material document.

Thanks

Chris

5 REPLIES 5
Read only

Former Member
0 Likes
1,693

in table CDHDR ->on Change document header ..

the field is CHANGENR->Document change number ....

you have use the alpha routine Function module's for Input/Output from this table for this field as .

<b>CONVERSION_EXIT_ALPHA_INPUT</b> converts any number into a string fill with zeroes, with the number at the extreme right

Example: 

input  = 123 
output = 0000000000000...000000000000123

<b>CONVERSION_EXIT_ALPHA_OUTPUT</b> converts any number with zeroes right into a simple integer

Example: 

input   = 00000000000123 
output  = 123

reward points if it is usefull ...

Girish

Read only

Former Member
0 Likes
1,693

Hi,

in cdhdr table collect changnr to get other values from cdpos.. cdhdr-changnr = cdpos-changnr.

for only updated values u can use chang_ind = 'U'.

<b>Reward points</b>

Regards

Read only

0 Likes
1,693

Thank you guys

but i am looking for the value of OBJECTCLAS for the material document.

Kindly advice.

Thanks

Chris

Read only

Former Member
0 Likes
1,693

Hi Chris,

In our Ver 6.2, there is nothing in table TCDOB which holds such log objects. I am guessing this is not standard in SAP as once you have made a material movement and created the document, then you rarely need to change the document.

Read only

Former Member
0 Likes
1,693

Check with OBJECTCLAS = <b>MBLNR</b>

but make sure before doing any changes u have Log Data Changed checked in Technical settings o.w it will not update in CDHDR..

Reward if useful..

Regards

Prax