Sending products, sales orders and locations to APO system

i have to use bapies BAPI_LOCSRVAPS_SAVEMULTI2 , BAPI_PRDSRVAPS_SAVEMULTI2 , BAPI_SLSRVAPS_SAVEMULTI2 to send cutomers, materials and deliveries to APO system. Can  anybody help me to find sample code using those.
thanks

Hi  
Erkan KILICASLAN  ,
did you got any sample code for the above bapi
can you pls share with me , i have the similar requirement .
thank you in advance .
Cheers,
Vasu

Similar Messages

  • Different product hierarchy in sales order and in service order

    Dear experts,
    In VA03, I notice that
    - under Line Item > Sales B, there is a field Product Hierarchy
    - under Line Item > Account assignment, there is a field Order. From here, it links to a service order. In the service order, I can see a field Product Hierarchy too.
    I would like to know if there is an implication when the field Product Hierarchy in sales order and in service order are different. Is it possible that this will cause an inconsistency?
    Usually these two fields have the same value, since the value in sales order is copied from service order. However, in my case, the product hierarchy is changed/updated in service order, but not in sales order.

    Hi,
    We have document pricing procedure maintained at two levels for Sales order or Billing type.
    The pricing procedure is determined based on SAles Area Customer pricing procedureDocument Pricing procedure+pricing procedure.
    Example :For Sales Document type the document pricing rpocedure will be A and for billing type 'B"
    Sales Area1A+Pricing procedure A
    Sales Area1B+Pricing procedure B
    Now A will be maintained in VOV8 and B will be maintained in VOFA.So two pricing procedures.
    Regards,

  • Question about the rescheduling of a Sales Order and its Production Order

    Hello Everybody,
    I experience something strange with the rescheduling of a Sales Order and its corresponding Production Order.
    It will be easier to explain with an example...
    For a material, I have created a Sales Order.
    And from this Sales Order, I have now a Production Order converted from a Planned Order generated by the MRP Run.
    This is what I have in transaction MD04:
    SALES ORDER
    AV DATE: 20/02/2008
    GR DATE: 20/02/2008
    PRODUCTION ORDER
    AV DATE: 20/02/2008
    GR DATE: 18/02/2008    (GR process time is 2 days).
    ==> OK !
    Now, I have to reschedule the Sales Order one week sooner.
    SALES ORDER
    AV DATE: 13/02/2008
    GR DATE: 13/02/2008
    After transaction COHV to reschedule the Production Order, I have:
    PRODUCTION ORDER
    AV DATE: 15/02/2008
    GR DATE: 13/02/2008
    But I expected to have:
    PRODUCTION ORDER
    AV DATE: 13/02/2008
    GR DATE: 11/02/2008
    Do you have an idea about what is wrong?
    Thanks in advance for your help on this subject.
    Regards,
    Rudy

    Hello.
    Thank you for your reply.
    But in fact, I am doing some tests on a test platform, which is using an "old" copy of production database.
    So, there can't be data already scheduled for the dates I am using.
    Moreover, I just tried now to do the same with dates in November 2008, exactly with the same results.
    In production platform, they experience this problem too.
    Summary of my new test:
    Before rescheduling:
    SALES ORDER:
    AV. DATE = 20/11/2008
    GR. DATE = 20/11/2008
    PROD. ORDER:
    AV. DATE = 20/11/2008
    GR. DATE = 18/11/2008
    After rescheduling of one week sooner:
    SALES ORDER:
    AV. DATE = 13/11/2008
    GR. DATE = 13/11/2008
    PROD. ORDER:
    AV. DATE = 15/11/2008  (ipo  13/11/2008)
    GR. DATE = 13/11/2008  (ipo  11/11/2008)
    I really don't understand why I don't have the same kind of dates as the ones I get before the rescheduling...
    In my mind, I expect to have all these dates set back of one week...
    Regards
    Rudy
    Rudy

  • MRP Generated production orders greys out Sales Order and Customer fields

    Hi there,
    The MRP generated production orders greys out the Sales Order and Customer fields for some reasons. These fields are really important as they link the production order to the sales order and the customer's purchase order. Could the SAP team please fix this or advise alternative way of getting the sales order and customer info on production order? Thanks.

    Hello
    MRP only poulated this fields in case the material master has been set up with a strategy group hich is make to order (normally 20). Otherwise MRP summarizes all the requirements from different Customer orders and creates a production order
    Stephan

  • Any stanard BAPI have both sales order and production order

    hi Experts,
    i need to Identify any standard BAPI have both sales order and production order. If such BAPI is not available, create 'Z' BAPI to do the same.it's my require ment?plz give me suggestion it's useful for my project. i will give good points.
    thanks and regards,
    bbm

    hi eswar,
    can you give me how to do? and what i can use import,export,table and sourcecode bcz i am new in BAPI side even now i am working in SAP XMII project.
    so plz guide me.
    thanks and regards,
    bbm

  • Relation between Sales order and Production order

    Hi,
    In Make to stock scenario how the relation between Sales order and production order are related.In which table we will get the related fields (expect AUFK,VBAK,AUFO).
    warm regards,
    Surendar reddy.

    The relation between sales order and prodution order  is as follows.
    Pass AUFNR to AFKO/AFPO  Get AUFPL.
    Pass AUFPL to AFVC Get BANFN.
    Pass BANFn to EBAN Get EBELN.
    Hope this works .
    Cheers,
    Lakshmi Prasanna Gandham

  • List of Sales order and production order

    I need the list of sales order and production order for the period 01.04.2006 to 31.12.2006

    Dear Nau,
    VA05 for list of sales orders and put Document date in Sales Order Data
    COIO Process order information System
    Regards,
    Rakesh
    Pls award points if you find the solution

  • Configurated sales orders and block planning

    Hello
    We plan to implement ECC configurated sales orders and APo DP and block planning.
    We is the preferable process :
    - create the production orders in ECC at time of sales orders creation and run heuristics in apo to cover forecast with planned orders
    - send sales orders in Apo run heuristic and convert planned orders to production orders to cover sales orders?
    thanks in advance for your help
    Patrice

    Hi Patrice,
    The second process that you have mentioned,
    send sales orders in Apo run heuristic and convert planned orders to production orders to cover sales orders?
    is the effective and business advantageous process in which you can get optimised plan output planned through APO.
    Regards
    R. Senthil Mareeswaran.

  • Opening and closing stock with sales order and with out sales order

    hello,
    any body please help me my client want to check opening stock and and closing stock in areport.
    material contains batch and some material with sales order and some are with out sales order. my client is asking this in a single layout. please tell me isthere any teport or bapi or function module to get this report.
    this is very uregent. and layout is requesting like opening stock, production stock, sales stock and closing stock.
    please guide me to get this report.
    Thanks & Regads
    Bhakta

    Transaction MB5B
    For sales order related use specila stock as E and use radio button indicator in stock type
    For stock w/o sales order, use special stock indiactor as "space' and stock type valuated stock.
    to get a perticular month,opening stock/closing stock enter the start date/end date as month start and end date.
    See the o/p which will give the stock as required by you

  • How to know the excess stock with in a sales order and line item

    Hi,
          i am running an MRP against a sales order and sales order line item. the materials are getting planned based on the requirement. but due to some reasons the production orders are confirmed with out consumption of the actual required quantity of the  components. so the stock  is kept  ideal in the sales order  though it is not required further.
       do to some othere reasons also the excess stock of componenets exist. the PR or POs may also exist for the materials though they are not required further.
    i am in need of a report for the excess stock or excess PR or Purchase order for a sales order.
      please give me logic to find the excess things in that sales order and sales order line item. the Expensional message 26 is there in stock requirement list . but it does not give the excess quantity existing.
    regards
    madan

    hi rajesh,
      thanks for your reply. please tell me the logic to see when only partial quantity of sale sorder are delivered  and also when no delivery is made also.
    but manufactured and placed in stock.
    please tell me the tables to follow and logic of going ahead with them.
    regards
    madan

  • Availability check on storages in sales order and delivery documents

    Hi all,
    I'm verifying if it's possible to find a standard or a custom solution for this type of problem:
    I have a scenario in which there are more storages relevant for MRP (ex. 01, 02, 03, 04), and, in if I check availability in sales order or delivery (using checking rules "A" or "B") with setting which considering storages location inspection in availability check control, system check if there's stock available on all these storages.
    I'm trying to verify if it's possible to consider only some on these storages (ex. 01 and 03 only) in sales order and delivery documents availablity check.
    I know that in sales order storage location field is normally filled only using exit, but i don't know if it's possible to do, using a user exit, check availability considering only some storages and not all. At delivery level i have tried to use stock strategy, but this functionality don't have consequences on availability check, also if it's relevant during good issue phase.
    Any suggestion will be appreciated.
    Regards
    Gianpaolo

    Hi Gianpaolo,
    We had some issues with availability check on a Customer Site.
    I don't remember right now if we had to exclude storage locations from MRP to take them out from ATP, but I guess Shiva is 100% correct.
    At the end, what was done was to always "force" a unique storage location in the sales order item, which will be the storage location used for shipping of the delivery of course.
    If you use WM in your plant, then you will have no problem in having a unique storage location, so no problem.
    Anyway you are correct in your analysis, if the Storage location is not informed in the sales order item, then all the plant stock is taken in account for ATP.
    Best Regards,
    Franck
    Freelance Logistics SAP Consultant

  • How to assign version in sales order and transfer to PP module

    Hi all
    Users say that customer will require to produce/deliver old goods (we active revision level. The newest material version is D. But customer want version B). How to assign version in sales order and let PP user know the version customer want (MRP run and production order must use version B's BOM)?
    Regards,
    Rita

    Hi,
    i have a query if you have implimented ECM this will serve the purpose but it also depends on how good the planning is, in ur client site ( out of SAP ) where planner will plan according to the customer requirement as to which version to be kept active for a date range.The ECO analysts(functional) or consultants will make the ECO changes for those dates.
    In general for those type of customers (who needs old version) a different SO created under different document type which will create a production orders with specific order type depending on the assignment of requirement type and requirement class.
    those specific production ordertypes can be inturn assigned to either different plant where your old version BOM's will be active.
    You need to look into the custom settings in SAP to design the larchitecture to allign with other requirements.What i explained u is common methodology used.
    Hope this is clear..
    Prakash
    Message was edited by:
            prakash Uddagatti

  • 051 routine between sales order and delivery copy control

    Hi,
    The copy control routine 051 in copy control from sales order to delivery defines four combination criteria.
    1) delivery types same in config of sales doc type
    2) sales org same of the sales orders
    3) delivery indicator same
    4) billing type same as defined in sales doc type.
    my question is if i have the follwoing copy control defined between sales order and delivery :-
    sales       del           sales       deliv         bill      routine
    order        type         org        agreement       type     in copy ctrl
    type
    ZOR          ZLF          1000         SAME          ZF2         051
    ZTSD          ZLF          1000         SAME          ZF2         051
    my question is how will the routine combine  all the sales doc type into a single delivery.  my confusion is since the rotuine is attached to every combination of sales doc type and delivery type in copy control, how will the routine identify that it has to combine the sales doc type ZOR and ZSTD into a single delivery.
    one of the statements wriiten in routine 051 is that " check sales org is same for all document ". does this mean that the routine will identify sales orders with doc type ZOR only  if the routine is attached in config for copy contol between zor and zlf and  i remove the routine for copy control belwteen zstd and zlf.
    regards
    sachin

    Sales order is the order from your customer and delivery is when you are delivering the item.
    Shipping: In general  when the item is dispached from the warehouse, we can say the item is shipped,where as delivery is item/product reaching to the end customer.
    Hope it helps,
    Kiran

  • How to send the Sales Order to another user id within SAP

    Gurus,
    I have created a sale order through VA01.  Sales order number is generated.  Now that sales order I want to send it to another user.
    Is is possible, if how.
    I know we can send the reports like FBL3N, by selecting list and send there we can give the user id to whom we have to send.  Like that i want to send the sales order, how.

    Hi,
    For the standard report you can use the sending function from the menu, but sales order is a document, there is not the sending function in the maintenance view with t-code VA01 or VA02. Because the document should be printed out, you can define a condition type and create a condition record in background, let it send out a copy of sales order automatically when document saving.
    Hope it's helpful to you!
    Regards
    Tao

  • Sales Order and Sales Item not copy over to table AFPO-KDAUF and AFPO-KDPOS

    Hi Expert,
    May I know why I run MRP and convert planned order to production order based on Sales Order, why the sales order and sales item is not copied and save in table AFPO-KDAUF and AFPO-KDPOS?
    I can see the sales order and sales item is appearing in MD04, but how is the linkage between production order and sales order/item?
    Thanks.

    Sales order No. and sales line item will only be transfer to production order in MTO ( Make to Order) scenario.
    If your scenario is MTO and the sales order reference is not getting  transfer, then check your requirement type and  requirement class setting in T.Code OVZH and OVZG.
    In standard SAP 'KE' requirement type  40 requirement class is used  for MTO scenario.

Maybe you are looking for

  • Should TouchPad be left on all the time? Battery life?

    Hello, sorry if this question has been asked before but I have searched this forum (before asking this question) and could not find an answer. Is it recommended to leave your TouchPad on all the time (which I have been doing) or should it be turned o

  • TV Shows will not play on 5G  iPod

    I just bought a 5G 30GB iPod yesterday after my 2G was stolen (so I am a relatively experineced user). I have been able to update my old music and everything seems to be working fine except for playing TV Shows. I have dowloaded an episode of Lost an

  • Hangs when calling report to be displayed in PDF format

    I am calling reports from a form using RUN_PRODUCT to be displayed in PDF format. Initially, there is no problem generating and displaying reports, but inevitably at some point when a report is run it just hangs. Rebooting the server temporarily fixe

  • Graphs in Server Admin isn't updating any more.

    Hi all, The graphs in Server Admin doesn't show correctly. For any given time range, it's always 31% for CPU utilization and 28KB/s for network. However it's definitely not the case when comparing to Activity Monitor. The graphs for web showing corre

  • Right Click No Longer Working on Cover Flow

    I've just recently rebuilt my PC and have my music collection split over 2 drives - local C: drive (itunes folder) and an external drive. When I reinstalled iTunes and copied over my library files I got an ! mark by all tracks on the external drive (