SAP for Retail Discussions
Join conversations about personalization, omnichannel strategies, and operational excellence in retail using SAP for Retail software.
cancel
Showing results for 
Search instead for 
Did you mean: 

What is the Bapi/Badi for initial stock upload

Former Member
0 Kudos

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.

4 REPLIES 4

paul_gendreau
Contributor
0 Kudos

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.


Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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