Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3273

Re: Change park document without using tcode FBV2, is there any BAPI or FM?

$
0
0

Hi,

 

 

Even I have similar requirement. I need to change the posting date of Parked document. Parked document can be created by either FBV1, FB50, FB60 or FB70

 

 

I have follwed harry huang and used the FM 'PP_CHANGE_DOCUMENT_ENJ' to change the parked document. Even I have faced similar issue 'Update was terminated " with error info "SAPSQL_ARRAY_INSERT_DUPREC" ...

 

 

Issue - Update termination occurs due to parking document already exists and FM 'PRELIMINARY_POSTING_DOC_WRITE' tries to insert same document instead of updating it.

 

Reason - Table 'XVBSEG' does not have any value for field 'bzalt', this field should have similar value to line item number ' buzei'.

 

Solution - I came up with a solution to this problem. Call the FM 'PP_CHANGE_DOCUMENT_ENJ' and use a BTE '00002217' to update the value of  bzalt with  buzei in internal table of  XVBSEG. Guess what it worked for me.

 

Regards,

Siva


Viewing all articles
Browse latest Browse all 3273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>