Skip to Content
avatar image
Former Member

What is the Bapi/Badi for initial stock upload

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 25, 2015 at 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.


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 26, 2015 at 03: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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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