Application Development 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: 

Need to update bkpf-xref1_hd using chagedocument_open, single_case and close

Former Member
0 Kudos
1,384

Can somebody please help me how to update bkpf after selecting a record from ALV and saving. I've used the above three FMs but I do not see any result.

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos
134

Why are you trying to create a change document in CDHDR/CDPOS, that wouldn't change the original data?

Better try a FI FM like FI_DOCUMENT_CHANGE (may require a note implementation) or a good old BDC on FB02.

Regards,
Raymond

0 Kudos
134

Hi Raymond,

That was the requirement. Can you help me with that process?

0 Kudos
134

First use some search tool (launchpad, google) there are already many threads/discussions with sample on FI_DOCUMENT_CHANGE. (Just provide just enough information to identify document and fill the table parameter with fieldname/old/new values)