Skip to Content
avatar image
Former Member

Trigger IDoc after value change to inventory quantity (MARD-LABST)?

We are trying to update a webshop with the latest stand of MARD-LABST on the sourche system by sending an IDoc but we don't know how to catch the change to the value in MARD-LABST in the first place. No change pointer is being triggered in the Sysmem. Any suggestions?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 18, 2017 at 04:02 PM

    I think this is not possible as you in general only get change pointers when you also see a change history to a change.

    A change in stock level is a result of posting a material movement and this does not create a change log in the material master.

    Same as it is with a goods receipt to a purchase order which updates the price, for this case SAP has an OSS note explaining that it is not possible: 2066889 - KBA: Material price changes do not create change pointer

    Maybe you can try to create your required change pointers yourself with a z-report that evaluates the movements

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 18, 2017 at 04:24 PM

    Hi,

    AS suggested by Jurgen,this is not better approach. Think on the hindsight,you will end up triggerring millions of change pointers by this,and also send lot many outbound IDOC.Further the recipent has to perform some calculation to arrive at final figure.

    You will need few more details other that MARD-LABST etc.

    Instead I would suggest ,if possible, design on API or Webservice or ODATA service which will extract required stock figures from ECC.

    You might need to consider open sales orders(VBBE) not yet delivery created,then consider Partial delivery qty and IBD GR qty etc,many criteria needs to be checked,and finally do the available qty calculation.You can check stock at storage location level or Bin level etc.

    Webshop can query this Webservice as and when required to chcek stock on hand for a particular material.

    Regards,

    Avik

    Add comment
    10|10000 characters needed characters exceeded