02-25-2015 4:24 AM
Hello,
I want to upload inventory from Legacy to SAP, for this we are planning to create custom program, so whats the Bapi/Badi can be use to build Z program.
02-25-2015 10:26 AM
Hello Satheesh:
What requirement leads to a custom program?
In a standard IS-Retail system, I would recommend to consider the use of IDoc MBGMCR03 and process code BAPI. When processing, using Movement Type 561 and you will be able to load the initial stock quantity and value (i.e. moving price).
- Paul
---------------------------------------------
Paul R. Gendreau, Jr.
SAP Retail, Inc.
02-26-2015 3:36 AM
Hello Satheesh,
If you do not want to use IDOCs as mentioned by Paul, you may use BAPI_GOODSMVT_CREATE to create custom program with movement type 561.
Thanks,
Venu
03-11-2015 6:42 PM
We took option to create custom program with BAPI, upload file will be the input data.
one thing, we should not hard code to 561, because if you have vendor, block, customer specific stocks then movement types will different, so input file will have movement type column.
Thanks
03-13-2015 12:41 PM
Hi Satheesh,
sorry for nagging you but I'm not so sure about using different movement types for initializing stock.
You have the option to define special stock type in case you need to post the goods receipt differently, as shown in the list below;
561 Receipt per initial entry of stock balances into unr.-use
561 E Receipt per init. entry of stck balances to unr. sales ord.
561 K Rcpt per init. entry of stock balances to unrestric. consgmt
561 M Receipt per initial entry of stock balances to unrestr. RTP
561 O Rcpt per init. entry of stck balances to unr. stck w. subc.
561 Q Receipt per initial entry of stock balances to unrestr.proj.
561 V Rcpt per init. entry of st. bal. to unr. ret. pack. at cust.
561 W Rcpt per init. entry of st. bal. to unr. consgmt at customer
On top of that, I would definitely go for a standard way to upload your file as I suppose that it's perfectly possible with existing SAP tools (as mentioned by Paul). Obviously, not knowing the structure of your file..
Just a thought
Cheers,
Tomas