Skip to Content
0
Former Member
Mar 10, 2007 at 04:03 AM

How to create a change document?

22 Views

How to implement this:

When table IHPA is updated (fields: OBJNR, PARNR, PARVW)

A change document should be automaticly created in table CDHDR and CDPOS

I have gone to the T-code scdo to create a new change document object ZIHPA

and set the table = IHPA and marked Doc. for individal fields at delete

Then I generate the the fuction module ZIHPA_write_document.

I have create a program and call this fuction module.

But I'm confused by the import parameter.

And I have tried some parameter, the function run successful but no record has been created in table CDHDR and CDPOS.

Who can help me? Thanks a lot.