Sales Order Fetch in APO

Hello Every1,
     I have to read the sales order item with the quantity by using the material number and location in the APO side. So I used the function module  '/SAPAPO/RRP_LC_PEGID_GET_IO' where I get the quantitiy, GUID and Pegging Area id but the sales order number. Please let me know how can I fetch the sales order by using these values.
Regards,
Siva.

Siva,
how do get order nos from order guids?
regards,
shan

Similar Messages

  • Sales Order update in APO

    Hi,
    We have a z-program in ECC which is triggered once sales order is saved. As of now we have maintained a nominal delay (30 secs) in the program to take into account sales order update to APO (as we are fetching some key information from APO based on SO update to APO).
    So instead of maintaing the delay in the program, is it possible to check that the sales order specific CIF queue is processed successfully and then that is taken as a trigger point to execute the program in ECC.
    Regards,
    YR

    Hi Babu,
    thanks for your reply...
    One last query before I close this thread.
    Can this queue processing in table TRFCQIN be mapped as a 'trigger event' in case it is successful to initiate the program on ECC side with reference to the specific sales order ?
    YR

  • Sales orders ONLY in APO and not in R/3

    Dear Friends,
    I have this peculiar but very critical problem wherein:
    APO creates an extra schedule line to an ALREADY EXISTING sales order only in APO with a quantity in decimals like 130.320 PCs or whatever. Also, important to note is that this line has a required date very much in the future starting from 12-2009. Also, this sales order schedule line is non existent in R/3!
    - I have checked the R/3 SD tables but nothing which relates to this qty.
    - I have checked the sales order changes, but nothing in the history which suggests that someone might have changed it.
    - I checked the UOM both in R/3 & APO but nothing.
    Now, the problem is that:
    How & what created this sales order?
    If it is in APO, then y it isnt being sent to R/3 like all the other normal sales orders?
    Most critical: APO sees this reqt & automatically creates a planned order (bckgrnd) which is then sent to R/3 as a recpt!!
    Thanks in advance !

    Team Eusap,
    You say you ran LC consistency (which would be /SAPAPO/OM17).  Did you also run CCR as I mentioned earlier?
    Although there are no Queue errors, it is possible that someone has deleted the item from the queue.  So, continue.
    You can try to delete the order in APO using program /SAPAPO/SDORDER_DEL.   Select Delete on database tab, deselect test, select the appropriate product/location(S).  Select 'without check'.  Select both boxes in Additional functions.  Since you are not using GATP, you are not using allocations, but it is OK to select these items too. Execute.  Stay away from the 'Delete all DB Sales order Data" tab!, or you may have to re-cif all your orders across.  Now redo your LC consistency.
    As far as your models are concerned, you need to assure yourself that there are no ATP (transactional, not material independent) models open.  Use CFM5 to search.
    As for the material independent CIF, it is a good idea to inactivate this model after the initial transfer.  If you ever do any ATP config within APO, this model can overwrite some of the settings you created in APO.  Usually this is undesirable.
    Let me know if any of the above steps allow you to delete the APO order you don't want.
    Rgds,
    DB49

  • VMI Sales Order CIF to APO

    Dear All;
    We are creating a VMI Order in APO which is CIF'ed to R/3 and a corresponding Sales Order is created with "Z" order type which has been configured.
    But this order is not CIF'ed back to APO. The integration model is active with the material and plant.
    Could you please shed some on light on any missing config here ?
    Thanks
    Vathsan

    Hi Vathsan,
    1) Check is there any struck queues
    2) Check the publication settings under distribution
    definition are maintained in APO customisation
    3) Run /sapapo/ccr for sales order and check the
    error noticed
    Regards
    R. Senthil Mareeswaran.

  • SALES ORDER SCHEDULING IN APO

    Hello everybody there,
    I am doing availability check in APO (SCM 5.0)
    Sales Order creation date : 20.01.08 
    Requested Delivery date :28.01.08
    Transportation Lead (LEAD condition type in scheduling- APO ) time maintained : 3 days
    MBDAT : 25.01.08
    On 26.01.08, if customer change the RDD to 27.01.08, system pushed the delivery date by 3 days i.e 29.01.08 ( 26.01.08+ 3 days)
    Although there is sufficient receipt available for the material , system is not giving Delivery date 27.01.08 , it gives 29.01.08.
    As the order was booked on 20.01.08 , client has already planned for transportation ( i.e arranging truck and forward agent etc.) but system is again chaNging the delivery date based on the transportation planning date ( LEAD) assuming that user will take 3 days for transportation planning.
    Assumption : No chk Horizon maintained
              No Transit time
    In the above scenario , is it possible to get the Delivery date 27.01.08 or the original one 28.01.08 with any setting in R/3 or APO ? In my case after changing the date , system triggers the ATP automatically ( expected also) and schedule the sales order from the begining i.e changing MBDAT / GI date /Delivery date all.
    Is it possible to retain the original delivery date or the pre-poned delivery date?
    Thanks in advance.

    Hi
    Look for the type of scheduling the system is using.
    The system first tries back scheduling and if in back scheduling it calculates one of the entry point dates( like transportation planning date or MADAT) the system automatically puts this date to current date and shift the scheduling direction to forward scheduling automatically.
    This can lead to moving the other dates in to future.
    Check if its calculating any such dates to lie in the past.
    I guess your transport planning date/MADAT falls in the past. So its moving that particular date  to current date and starts forward scheduling again. Thats the reason why your delivery date is moving to future date further by 2 days.
    Regards
    Mohan V R Chunchu
    Edited by: Mohan V R Chunchu on Jan 31, 2008 8:54 PM

  • All Open Sales Orders in APO system

    Hi Experts,
    We have a requirement in which we have to get all open sales orders in SAP APO system for 2013.  Please suggest if there is some way to do this.
    Thanks in advance.

    Hi Manjunatha,
    RRP1 will list all the requirements: sales orders, forecast, dependent demand, putchase order release, etc.
    Same than in all the ALV reports, you can change the layout, sort, use filters in order to only see the document that you need, etc.
    Here you can an example of my system, where you have sales orders in RRP1:
    Kind Regards,
    Mariano

  • Create Std Sales order and APO upgrade

    Hi Gurus,
    I have a test case on  "Create sales order (ZSLR)" for which the expected result is" Sales order creation and APO upgrade". I am supposed to write the test steps for the above test case.
    Please guide me the test steps on how to do the "APO Upgrade" for a std sales order.
    Appreciate your help and suggestions .

    Hi Marc,
    The ECC sales order display depends on the availability of integration
    model and active ATP fields maintained in ECC material master
    In APO, the product view display is controlled in Order view
    customisation at APO under PPDS
    Regards
    R. Senthil Mareeswaran.

  • CRM sales order and rules-based ATP

    Case:
    CRM sales order calls SCM APO for an ATP check.
    Rules-based ATP is triggered.
    CRM sales order is saved and replicated in R/3.
    Question:
    Is it possible that the ATP check (wie rules-based) is triggered in CRM again?
    Or must the CRM sales order item be cancelled?
    Thanks a lot for your help.

    Hi,
    Find answers below for each of your question.
      which steps are done when an ATP check ist triggered in APO by a CRM sales order item?
    - are temporary quantity assignments created in APO?   YES.
    - are these delta records deleted when the sales order is saved? YES. As normal behaviour.
    - are these sales order items transferred via the middle ware to APO? Sales orders are flown from CRM to ERP (Middle ware) and from there we used to CIF to SCM. No idea abt sales order transfer from CRM to SCM.
    Best Regards,
    Deepthi

  • Sales Order taking allocation

    Hi Gurus,
    I have one sales order that has all its items with a reason for rejection.
    The sales order does not exist in APO (it can be visualized with any of the ATP repair reports). But if I check the /SAPAPO/SDP94 I can see the quantity of this sales order as Sales Order Quantity.
    How can I delete this quantity?
    Why is this happening?
    I have ran the reports:
    /SAPAPO/ATPQ_CHKCUST - Product Allocation Assignment by Sales Order  --> to check whether the sales order exists in APO or not
    /SAPAPO/ATPQ_CHKUSG - Product Allocation Assignment Check --> to check if exists a Assignment without order item
    what else can I check?
    Has anyone tested the report /SAPAPO/OM_REORG_ATP? I did it in my quality environment but the report does not returns any information but the loops executed.
    Thanks in advanced
    Best regards
    -Italo

    Hi Rajendra,
    Are you referring IS Retail?
    If so, Allocation tables are used in Push Scenario. Based on allocation table, users can create Purchase Order not Sales Orders.
    Bye,
    Muralidhara

  • Sales orders for quotation do not cif to APO

    Hi experts,
    I face an issue I cannot cope with:
    when I create an order for a quotation and order quantity is less than quotation quantity the order doesn't cif to apo. When I make another order and quotation is closed the only second order comes to APO and total requirement decreased, because the quotation disappears. If the order is created for a full quantity, the qotation disappeares and order cames OK.
    In R/3 I set the rule of position completion = A (complete at first call),  document flow records = '2', effect of value copied = '+', copy schedule lines = ' '.
    I'll be very pleased if anybody gives an idea how to get a distribution of requirements between quotation and order in APO.
    Dimitriy Karpov

    Hi,
    If you are replicating the sales order from R3 to CRM then you will get all the orders present in CRM. If that is not the case then you need to write one RFC in R3 to get the desired data as R3 is governed by Select queries on tables instead of Function modules in CRM.
    So if you want to fetch any information from R3 then you need to create RFC and use select query to get the data.
    Thank you.
    Ashish

  • Open sales orders key figure in APO

    HI Gurus,
    Can anyone please throw some light as to where i need to be looking in this scenario. Our BW resource extracts open sales order quantity from ECC and loads into APO DP. The issue that i'm seeing is the open sales order quantity key figure is not getting updated properly in APO. For example to begin with we have a quantity of 800 EA in the period of 12/2014 (we go by fiscal period and in this case 12 would represent September 2014), 01/2015(October 2014), 02/2015(November 2014). The customer service group has deleted the quantity completely from period 12/2014 (September 2014) in ECC. But when i look in the planning book in APO, i can still see the quantities in the periods of 12/2014, 01/2015 and 02/2015. I was expecting the quantity from the period of 12/2014 to not showup in APO as it has been deleted in ECC. Our BW resource also confirms that he has loaded it properly in APO. Where can i start looking to resolve this issue.
    Thanks
    Ravi

    Dear Subhash, Thanks for your reply and i apologize as APO DP is new to me and i'm picking up things, can you please guide me to which tcode should i be going and checking this. Also reloading the planning area can you xplain a little more please
    Okay i have checked in the tcode /SAPAPO/TSCUBE and this is setup in the process chain for us which runs once a month on the opening day of the period. I hope this is what you were referring to?
    Under the key figure assignment in TSCUBE tcode, i see that the 'Add data" check box is not checked under Target area.

  • Sale order doesn;t exist issue in APO

    Hi ,
    I am facing issue while trying ot create outbound delivery from sale order. But during delivery creation , BAPI_OUTB_DELIVERY_CREATE_SLS , bapi throws error as " SALE order xxxxxxxxx doesn't exist in APO , Only 0 EA of material is available..." . But when manually do, delivey is created . Hence we analysed it is due to the time taken by APO system to update the Sale order. 
    Let me know how to get the sale order or orderid in terms of APO to verify the SO is updated in APO system .
    Kindly suggest

    Dear Experts,
    this message assumed answered, I'm facing with a similar problem, during the replication of business partners the address isn't created in SAP ECC, and a bdow with the error appears.
    Thanks in advance
    Cris

  • Sale order Tolarance in RRP3 in APO

    Hi All ,
    I have a sale order where Tolarance is maintained with +5% and -5% for a,line item in ECC.
    When I look  sale order in /SAPAPO/RRP3 (APO),I can only see the characteristics but could not able to see the tolarance.
    (Example-sale order qty is 1000 with tolarance +5% and -5% i.e; 950 to 1050)
    Can some body help me out in this and advise how to see the tolarance .Is it something related to User setting ?
    Thanks in advance..
    Regards,
    Nawal

    Hi Nawal,
    This is an area being rarely used.  Please see below tcode this may help you, get some clue.  Please check.
    /SAPAPO/CMDS_CUST6
    Maintenance of Tolerance Profiles
    /SAPAPO/CMDS_CUST7
    Maintain Conf. Profile Procurement
    /SAPAPO/CMDS_CUST8
    Procedures for Tolerance Check
    Or Else in IMG search the word "Tolerance" you will see the different configurations available.
    Hope this helps
    Thank you
    Satish Waghmare

  • Loading sales orders to APO

    Hi,
          What are the ways of loading sales order data into SNP planning book?
    To my knowledge, it is:
    1. R/3 to BW cube to APO( using TSOPY)
    2. Active integration model and assign the category BM to sales orders keyfigure in SNP planning area. so that all sales orders in Live cache loaded through integration model show up in the planning book.
                    Here is my issue. I checked the planning area and I see no category assigned to it. When I right click on the cell and select show details, it is showing me deliveries assigned with it. Also the sales order data is loaded only for 3 days from current date. Which gives me a suspicion that this is loaded from BW as the dates are controlled.
    Here are my questions.
    1. As deliveries are showing up in details, does it mean that the sales order data is being loaded through live cache??
    2. Why do deliveries show up when this is sales order data? I see deliveries in RRP3 for that product and location.
    3. Can we control the number of days to which the sales order data is loaded when loading from Live cache using option 2 as above?
    4. Do details such as deliveries show up when the data is loaded from BW cube to APO?
    Thanks.

    you SNP KF is assigned to a Category group that consists of categories for SO and Deliveries
    order series data doesnt have to do with BW data load. Unless you are releasing into SOs from time series
    so i guess you are getting your SOs and deliveries from ECC
    if you go to IMG and locate the category group and can take out the order type for deliveries from the category group (you can locate this in details for the planning area of SNP) then you will not see them
    its better not to limit the orders that are created in ECC comign to APO based on dates. This will cause inconsistencies. If you want to limit deliveries you should be able to restrict them using the integration model

  • Fetch Sales Order number VBELN from Purchase requisition number BANFN

    Hi,
    I'm not able to find a suitable method to fetch the sales order number(VBELN) from the purchase requisition number(BANFN).
    I tried using VBEP table to fetch the data, but it is giving serious performance issues, as in for fetching one record it is taking approx 20 seconds!!!
    Kindly suggest a suitable method for this.
    I've used the query as folllows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    Scenario in brief described below:
    Whenever a direct delivery sales order is created on a supply chain plant, a dummy purchase requisition without source of supply is created automatically at preferred supplying plant for the customer in the sales order. Direct Delivery Sales Orders which are still in Open status and for the associated dummy purchase requisitions with these sales order, the deletion flag set has to be unchecked.
    in this case, only one sales order is created corresponding to a preq..
    BAPI: BAPI_PR_GETDETAIL is not giving entries for the table as this is a special case of direct delivery from the production plant directly to the customer, bypassing the warehouse / distribution center...
    selection screen has input fields preq, matnr(product) and plant. we fetch entries depending on the data filled in selection screen and also they should be of document type(BSART in EBAN table) ZDD1 and deletion indicator is set(LOEKZ in EBAN).
    then we check if the sales order corresponding to the preq is in open status...
    for this i need to programmatically fetch the sales order number corresponding to the preq...
    this is causing a performance issue as i could find only one way -- fetching sales order number from VBEP table corresponding to BANFN... indexing for easier also didnt work...
    no other way i could find to fetch sales order number corresponding to the preq number....
    there is a bapi: BAPI_PR_GETDETAIL, but this is not fetching entries to the changing tables related to sales order...
    also EBKN table doesnt have any entries as this is a special case of direct delivery preq..
    Guess i couldnt find anyother way...
    Thanks.

    I'm not sure as to why the select query was still throwing performance issues. I could see that the index had been created on only BANFN in the DB. Prior to creating the index, it was taking approx 20 seconds per entry, but after creating the index, it took 13seconds approx.
    I used the select query as follows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    I tried a few other combinations also, but  those also didnt work effectively:
    select vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    without using SINGLE in the select query as the select query would implicitly pickup only a single record,
    select vbeln banfn
    from vbep
    into wa_vbep
    where banfn eq wa_eban_zdd1_x-banfn.
    and another query where the INTO statement was directed directly to a workarea.
    But unfortunately, nothing seemed to be working.
    The index i had created was on BANFN alone in the VBEP table.

Maybe you are looking for

  • Hyperlinks in Adobe Acrobat 6.0 Professional won't work

    Hi, I am using Adobe Acrobat 6.0 Professional and MS Word 2003. When I convert Word documents to PDF, my hyperlinks won't work. In Word they work fine but when I click on them in a newly created PDF file, nothing happens. I would be so grateful if so

  • Bug: Web Service – Acrobat X

    Hi, I have a problem with calling a web service from a xfa form. I have JavaScript like this: Net.SOAP.wireDump = false; var service = Net.SOAP.connect(oListURL); laResult = service.myService({p1: lValue1, p2: lValue2, p3: lValue3, pXml: lXml}); Para

  • Bought A Micro Photo Need H

    Ok so I bought a micro photo... I read all the topics concerning issues about the player using Vista... So let me get this straight... 1. I have to use a computer with Windows XP to download the firmare so I can be able to use my?Micro Photo?with Vis

  • Does TC need to be connected to the internet to backup to?

    I have a network of 3 airport extremes but I would like the TC to not be assessable by the network. Just wifi backups...

  • Error message: 50103 (oxffff3c49) when trying to run VILogger

    I get this error message: 50103 (oxffff3c49) when trying to run VI logger for data received from the NI USB 6008 DAQ. What does this mean and how do I fix it?