2011 Apr 06 8:09 AM
HI All,
i am facing one issue in posting the parked documents (from ztable) in bulk using function module PRELIMINARY_POSTING_POST_ALL with inputs bukrs,BELNR,gjahr .
program flow is step1 : input file with project-wbs details - park the documents in ztable based on project(as document)-wbs(as tems)
step2 : reclaculation of values for parked documents
step3 : posting the each document using the above FM one by one and reversing.
issue : when one document parked with one item but while posting it is posting 3 or more docs with same amount for the same ref doc no.
the scenario not getting reflected in my test system.only in live system it is happening.
i tried my best to find the issue ,it is very important can some one suggest any reasons for the issue How to resolve.
HI All,
i am facing one issue in posting the parked documents (from ztable) in bulk using function module PRELIMINARY_POSTING_POST_ALL with inputs bukrs,BELNR,gjahr .
program flow is step1 : input file with project-wbs details - park the documents in ztable based on project(as document)-wbs(as tems)
step2 : reclaculation of values for parked documents
step3 : posting the each document using the above FM one by one and reversing.
issue : when one document parked with one item but while posting it is posting 3 or more docs with same amount for the same ref doc no.
the scenario not getting reflected in my test system.only in live system it is happening.
i tried my best to find the issue ,it is very important can some one suggest any reasons for the issue How to resolve.
2011 Apr 06 2:45 PM
Hi,
just the first idea: did you check, that the parameter-tables for the posting-FM are cleared and refreshed in your loop?
Best regards, Christian
2011 Apr 07 12:41 PM
HI christian,
Many thanks for your post/information,but i am clearing the internal table.
And moreover for 1000's of projects for only 3 or 4 projects it is happening.
when parking document parked only with one item(25 GBP) in VBKPF but when posting posted with 4 times with same amount for same doc reference.
in my case VBKPF-BSTAT also properly getting updated with V(parked indicator).
please let me know any more ideas so that i wll cross check.
Thank you.