How to handle Automatic stock determination in Program

Dear All,
       I have devaloped a report which will display the list of  Production order based on sale order and its Items given in the selection screen in a pop-up to select output.Here when i check the production order it ll generate Goods Issue for the production order using 'BAPI_GOODSMVT_CREATE' (Bapi for t-code MB11) here how i can handle automatic stock determination if stock is not available in Storage location.
any idea about FM bf_stock_determination and how to use it, sample codes and any other ways to handle it.Because in Migo there is a Automatic stock determination icon which will fitch the material fron different storage location.
regards,
Arun.
Edited by: Arun Kumaran on Dec 4, 2008 12:27 PM

Hi,
Please check
1)  BAPI_WHSE_STOCK_GET_DETAIL
2) MB_READ_MATERIAL_STOCKS
3) BAPI_MATERIAL_AVAILABILITY
4) MD_STOCK_REQUIREMENTS_LIST_API
Hope it helps.
Regards
Hiren K.Chitalia

Similar Messages

  • How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods

    Hi All,
    How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods.
    This is a enhancement requirement.
    When ever user enter value in field 1 then automatically cursor should go to next field.

    Hello Bobb,
    You can create a trigger(when-list-changed) for each list item where you could:
    1.recreate the record groups and then use POPULATE_LIST so you can hide the selected values. In forms builder online help there are some good examples about create record groups dynamically.
    or
    2.you can perform a validation instead of hiding the selected values. If the values is already selected the display a message 'Value already selected....'
    Second option is much faster(only an 'if clause')
    Hope this helps.
    Regards,
    Alex

  • Automatic stock determination prob.

    Dear All Gurus,
    I have maintain Stock det. group,Rule and also set priority. in material master asignment of group is done.rule is also asign to application i.e Inventory management.
    cases:    store 1    priority 1
                  store 2     2
    stock of material in store1 is 100
    stock of material in store2 is 200
    now i want to issue 150 unit of material  with mvt. type 201
    in the time of posting systems display error " deficit of 50 unit in store1"
    how to rwsolve this prob.pls help
    thanks
    sandip

    Hi Sandip
    Priority 1 is only for automatically selecting the storage location which is happening correctly in your case.
    The required qty has to be available in that particular storage location to carryout the issue.
    Hope this clarifies all your queries.
    Regards
    Bhavesh Mistry

  • Automatic stock determination prob_new

    Dear All Gurus,
    I have maintain Stock det. group,Rule and also set priority. in material master asignment of  stock detr. group is done.rule is also asign to application i.e with  Inventory management.
    cases: store 1 priority 1
    store 2     priority 2
    stock of material in store1 is 100
    stock of material in store2 is 200
    now i want to issue 150 unit of material with mvt. type 201
    in the time of posting systems display error " deficit of 50 unit in store1".
    but i want systems to use 100 unit from store 1 and 50 unit from store 2 automatically.
    how to rwsolve this prob.pls help
    thanks
    sandip

    Hi Sandip
    Priority 1 is only for automatically selecting the storage location which is happening correctly in your case.
    The required qty has to be available in that particular storage location to carryout the issue.
    Hope this clarifies all your queries.
    Regards
    Bhavesh Mistry

  • Handling Consignment Stock at Customer Location

    Hi Experts,
    Please advise how to handle consignment stock at customer location in SAP B1 2005B, the situation is in this way;
    The customer pays for the goods but the delivery is a consignment shipment.
    Regards,
    Shakeel

    Hi Shakeel,
    We handle this in the following way:
    (only works well if you do not have too many customers wanting CS)
    To summarise
    1) Created new BP Account spcificly for CStock for Partner wanting consignment stock.
    2) Order for Consignment stock entered on new account, delivered and invoiced (invoice never sent to Customer) but you have a delivery note.
    3) Balance on Cstock BP account credited back to 0 but the stock is credited back to a new stock warehouse (e.g. CS001).  customer now has stock and you have a record of what has been sent in location CS001
    4) Cutomer notifies usage of stock. 
    5) Manual invoce raised on Actual BP account for consumed stock against warehouse CS001 (warehouse entered on invoice line) we also change payment terms for CS stock invoices.
    6) CS0001 Warehouse not been reduced by invoice qty and you have and invoice to send to the consumer.
    There are one or two floors in the procedure. eg handling changes in cost of stock.
    Happy to send you our procedures is you put an email on your business card.
    Thanks,
    Mike

  • Automatic batch determination - access sequence and search procedure

    Hello all,
    I would like to know how will the system automatically start a batch determination for TOs in warehouse.
    pl. post any documents related to it.
    I would like to know how to activate automatic batch determination in the system for transfer orders in warehouse management. is there any specific t-code or should i make any customizing settings in Batch management.
    Also how to create access sequence and how to activate or create search procedure/business procedure while implementing automatic batch determination. is there any specific t-code or should i make any customizing settings in Batch management.
    Pl. post any links or config. documents for automatic batch determination.
    Thanks,
    Maxx

    hi
    in delivery select the line item click on batch split, then click on batch determination.
    you will find strategy analysis  icon click on that.
    you can analyse your condition type  and understand for which combination condition record is maintained and batch  got determined.
    regards
    Gopi Ponnala      

  • How to handle returned products originally issued out using Transport Order

    Dear Experts
    I transfer a batch containing 10 cartons from production plant NDE1 to sales plant NDE2 within same company code using a stock transport order.
    Each carton is valued at 1dollar each, that is total value of transfered stock is $10
    After two weeks, 3 cartons went bad and needs to be returned to production plant NDE1.
    How do I capture this return process in SAP?
    If it were an outright sales to a customer, a Return Order with reference to the invoive will be created, return delivery done,PGI done which brings the returned stock into inventory, and a credit memo posted against the original billing.
    How do I handle my 3 cartons of returned stock since it was given out using a transport order?
    What will the accounting entries be in the system? i mean which accounts will be credited and debited by the $3 value of th ereturned three cartons?

    It depends how you handle the stock .Your accounting document generated in NDE2  in plant only.
    The first step you transfered the material through sto from NDE1 to NDE2 ,here there is no impact on accounting entries as you are transffering the stock with in company code.
    After you get return stock from customer NDE2 you can directly scrap or after inspecction of the stock if the stock is good then you can keep in Unresticted use for further sales.
    I dont think so you need again one more sto to get return stock from NDE2 to NDE1 as it is damaged stock and un necessary paying transport costs.
    If you scrap the material then the 3 qty of stock 3 doller price hit to scrap account.

  • How to Handle Returns of Vendor Consigned Stock Issued via Delivery ?

    Hi.
    I am currently able to issue Vendor Consigned Stock via Delivery. I use Lean Warehouse Management, and I have implemented Stock Determination Rule to take Vendor Consigned Stock and Unrestricted own stock in account during Issue. I am even able to insert the correct Vendor Number during the confirmation of the Transfer Order. When I generate the Goods Issue of the Delivery Order, I get an accounting document that affects both the Account Payable Liability and a Consumption Account.
    Now My Question is this :
    How do I handle Customer Complaints that lead to a Return of the Goods, back into Vendor Consigned Stock ? The goods that is returned, needs to be taken back into Vendor-Consigned Status, and a appropriate Accounting Document needs to be generated to reverse out the Acct Payable Liability and Consumption Account entries.
    Do I use a Returns 'RE' Sales Order to bring back the Stock ? I need to be able to create a Return Delivery that will immediately post the returned Stock back into Vendor Consigned Status. So where and how can I key in the vendor number in the Return delivery, keeping in mind Return Delivery in Standard SAP does not use Warehouse Management ?
    regards
    Peo

    Hi Edmund
    I think you can try the following:
    1. Define a new schedule line category - here you can define the movement type and the item category (as given in a Purchase Info Record). - Transaction VOV6
    2. Define a new sales order type for returns. - Transaction VOV8
    3. Define a new item category for the returns document, - you can mention the special stock type here too
    4. Carry out the sales order to item category and item category to schedule line category assignments.
    I am not sure if the system will prompt you to provide the vendor number or how does it populate the vendor no. while posting the material doc. However you can try this out and check if this solves your issue.
    Reward points if you find this helpful

  • How do you determine which programs or processes run following a reboot?

    How do you determine which programs or processes run following a reboot?  Also when you reboot Mac tries to reopen anything running before the reboot.  Is there any way to turn off that functionality?

    10.7 Lion
    dadpope wrote:
    How do you determine which programs or processes run following a reboot?
    Login items
    Follow the  instructions in this article.
    http://support.apple.com/kb/PH4333
    Also when you reboot Mac tries to reopen anything running before the reboot.  Is there any way to turn off that functionality?
    System Preferences > General
    Section: Number of recent items
    Uncheck the box for "Restore windows when quitting and re-opening apps".

  • In unicode programs how to handle unix files

    Hi Abapers,
    In Unicode programs.
      while transfering  file from unix directory to pdf format, logo is missing in that pdf file .
    how to handle this error.
    Thanks,
    Praveen

    have a look
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a35b0b-de0a-2a10-4ea5-dd82e6bbd74d
    Regards
    Shashi

  • How to handle message prioritization in interface determination

    Hi Experts,
    How to handle the prioritization of messages if we say that for single source message it will be forwarded to 2 types of target messages.
    Here's the scenario:
    InterfaceDetermination object
    SourceMessageA => TargetMessageTypeA
    SourceMessageA => TargetMessageTypeB
    Since both of the target messages will receive the source message, i want to prioritize that TargetMessageTypeB will be receive it first before TargetMessageTypeA.
    Should I structure it in the Interface Determination as this:
    SourceMessageA => TargetMessageTypeB
    SourceMessageA => TargetMessageTypeA
    or this should be handled by BPM? Let say BPM is the last option how could this be configured in ID?
    Cheers,
    R-jay

    Hello Folk,
    you have once option in the interface determination check the maintanence order at runtime , it will solve your problem.
    regards,
    Ravi.

  • How do i disable automatic start up of programs on OSx?

    Hi - can anyone please tell me how to disable all the files and programs I was working on when I shut down from automatically re-opening when I restart my computer? It's annoying and very time consuming. Thanks!

    Open General preferences pane. Check the desireable options here:
    When you shut down your computer a dialog will appear asking if you want to re-open applications at startup. Uncheck that option.

  • On slide No. 13 of my Keynote presentation, I have varous pictures that go through automatically just as I programmed them, but if I I want to get by clicking to the next slide , it does not let me. How can I program so when I want goes to next slide?

    On slide No. 13 of my Keynote presentation, I have varous pictures that go through automatically just as I programmed them, but if I I want to get by clicking to the next slide , it does not let me. How can I program so when I want goes to next slide?

    Keynote is programmed to execute all of the effects in a build sequence before it will move to the next slide.
    If you want tobe able to move to the next slide at any time in a sequence of builds, you will need to set all of the builds on that slide to:  "on click". You will then need to execute each build by pressing the space bar or click the left mouse button for each object.

  • How to handle exception in driver program

    Dear Friends;
         I have been assigned to  object wherein i have to display a form for which i am gathering all my data in smartform and my requirement is that when first time data selection failed i.e. no data found against selected order number (AUFNR) then i have to display information message and the return back to my selection screen wherein i am taking process order (AUFNR) from user . I guess we cannot display messages when we are in smartform function module so what i did is in my form interface i have created my own exception and i need to handle it in my driver program where it can be possible for me to display information message and return back to selection screen. But i don't know how to code it only i have is rough idea Can u please help me out???
    If possible send me example code
    Regards;
    Parag

    HI,
    Before calling the Generated Functionmodule of the smartform, just write the code to check the data and write all the validations, if any one failes, then raise the error message, then the Selection screen will come again if the error message occurs
    Regards
    Sudheer

  • How to set up Batch Management and stock determination ?

    Our client deals in various food articles and wish to use batch management and shelf life functionality.
    Details are
    While doing the goods receipt, batch no. as supplied by vendor will be entered. There is no requirement of batch no. generation. Thus batch no. as supplied by vendor will be used for identifying the stock. It will be also having fix shelf life and will be entered while doing the goods receipt. Now at the time of goods issue for consumption, or stock transfer to other plant system should propose the batch no. for material which will be having earliest expiry date (For ex. on 15.01.2010 we receive the goods with batch no ABC having expiry date as 31.03.2010 and we receive another lot on 20.01.2010 with batch no. XYZ having expiry date on 25.03.2010, then while doing the goods issue for consumption or stock transfer, system should propose the lot with batch no. XYZ and not ABC). How to achieve this?
    As I am new to batch management please provide detail configuration steps for batch management and stock determination. We are not using warehouse management.
    Thanks in advance,
    Satish

    Hi,
    Please refer below link
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOBM/LOBM.pdf
    Regards,
    Nitin Amritkar

Maybe you are looking for

  • Can't select ODS for Multiprovider

    Hi all, I need help creating a multiprovider, on the screen when doing it my ODSs doesn't appear to select it...

  • How do I limit the view of a date lookup column to = [Today]?

    I have a list that has a column that contains various event dates  that I use in another list for a lookup column.  As this list gets longer over time, I want to restrict the lookup/dropdown list to only reflect dates =>[Today].  How can I do that in

  • How to create infotype 0015

    Hi, Is there any FM or BAPI to create IT 0015 in ECC6 system. Also creating a BDC is better approach or using FM HR_INFOTYPE_OPERATION is better? regards, ashish

  • Report selector

    This is a continuation of my previous thread... [View selector|https://forums.oracle.com/forums/thread.jspa?threadID=2421463&tstart=0] May be I feel I need to be more clear on my requirement ! my requirement is..... I have a report like this weekno r

  • HT4994 i have normal sim in Nokia and all the contacts are in it, how i can import them in microchip of iPhone 4S

    Hi, i have normal sim card in my old Nokia phone and all the contacts are in it, how i can import these contacts to iPhone 4S. The contacts are more than 1000, it is quite hard to transfer them one by one. Please help.