10-13-2008 1:08 PM
Initially i have used BAPI_MATPHYSINV_CREATE_MULT,
then after this when i use BAPI_MATPHYSINV_COUNT, i need to pass thephysical inventory document which i get from return message of prevous BAPI. But when i give this phy. inv doc, year, count_date
it says that this document no.(phy.inven. doc which i get from first BAPI) does not exist. i don know it is saying so
10-13-2008 1:18 PM
hi,
PLease commit the First bapi using BAPI_TRANSACTION_COMMIT.
And then call the second one.
Regards,
Swati
10-13-2008 1:18 PM
hi,
PLease commit the First bapi using BAPI_TRANSACTION_COMMIT.
And then call the second one.
Regards,
Swati
10-13-2008 1:27 PM
Yes i have already used the Commit BAPI. but still it says that this "Document 100000308 does not exist in calendar year 2008".
Message M7-062
10-13-2008 1:29 PM
And the phy. inv. doc which i get from the first BAPI, when i manually put it in to Tcode MI04 and enter then it does not giv any error.
10-13-2008 1:31 PM
Hi
check by going into SAP system weather that doc. it there in SAP or not .
OR
give time in WAIT in commit . try with increase the TIME .
10-13-2008 1:22 PM
Hi
Swati is right , just COMMIT first BAPI then call second and pass required value.
Regards
Sachin
10-13-2008 1:36 PM
HI,
yeah please mention the WAIT time in BAPI_TRANSACTION_COMMIT.
Regards,
Swati