Simulate Sales Order and partners function

Hi,
I am using the BAPI: BAPI_SALESORDER_SIMULATE to simulate the sales order creation. Everything is working fine, except the partners determination.
Where should i get all the partners related to that sales order. I want to determine the same that we saw in Partners tab in VA01.
Can you help please? i already tested with the ORDER_PARTNERS table, but i didn't get the point. Could you please explain?
Thanks
Best regards

Ok,
I went to transaction WE20, but i am not understanding what this will help to my requirement.
Can you explain better please?
What i need is to know if it is possible to know all the partners functions when you are simulating a sales order by using the BAPI simulate. I want to simulate the same that happens in VA01 when we are creating a sales order and we go to tab Partners.
Thanks
regards

Similar Messages

  • Get the Ship-to-Party from Sales Order and Line item

    Hi all,
    I am developing one report in which I want to get the Ship-to-Party for a particular Sales Order and Sales Order Line item number.
    I can see table VBPA from I can get value of KUNNAR and so on. But my concern is that can the Ship-to-Party differ for different line items for sales Order, if yes how to get that one, any table or any function module?
    In my scenario i found out that ship-to-party only depend upon sales order and partner function not line item.
    please help me..
    regards,
    vikas.

    Hi,
    First step: Customer Creation (T. Code: XD01)
    i) Create Sold to Party (Ordering Party) with Account Group: Sold-to-Party
    ii) Create as many Ship-to-Party and Bill-to Party, if reqd, with Account appropriate Account Groups.
    iii) Match all the Ship-to-party/ Bill-to-Party/ Payer for the respective Sold-to-Party under Tab: Sales Area data, Sub-tab: Partners.
    Second Step: Sales Order Creation (T.Code: VA01)
    i) Enter Sold-to-Party at Header Level.
    ii) Enter Materials (at Line-item level).
    iii) Now, System will pop-up all the Ship-to-Party/ Bill-to Party/ Payer, Matched for the particular Sold-to-Party. Click on appropriate selection.
    OR
    Now, (if option doesn't pops-up) select the line and Double Click on to the same line. it will lead to the next page. Here, Click Tab: Partners
    Now, in Column: Partner Function, search for appropriate Partner: Ship-to-Party or Bill-to-Party or Payer.
    Remember: Sold-to-Party will be non-editable as entered at Header level.
    Repeat the same for Each Line-item.
    Regs,
    Amit K. Yadav

  • Function module for open sales order and open PO

    hi all,
    can anyone please tell me that is there any function module to get open sale order  and also for open purchase order?
    regards saurabh.

    Hi ,
    In EKPO Table u select this fields  Purchase Document no and Item no of Purchsing Document , Material no , and Purchase Order Qty.
    In MSEG Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and  Qty.
    Both Tables having  Purchase Document  no , So  Purchase Doucment no throguh  u will get the Material and qty , Finally u Subract the both Material Qty's .
    u will get the Open Po For particular Material.
    If ur not getting ,Inform me .
    Regards ,
    Shankar GJ

  • Abap Report including sales orders and delivery data.

    Hi Experts,
    I Want to develop a new abap report which would contain the data for sales orders and delivery.
    I want to fetch all the sales orders based on the ship date (LIKP-WADAT_IST) of the delievry.
    Could anyone please let me know how to fetch teh data or is their any function module which would help me to solve my problem.
    <Removed by moderator>
    Thanks,
    Komal.
    Moderator message : Spec dumping not allowed. Thread locked.
    Edited by: Vinod Kumar on Aug 10, 2011 1:25 PM

    post this in ABAP forum for quicker response.
    Regards
    Raja

  • Table For Open Sales Order And Customer Invoices

    Dear Gurus,
    Are there any table to know open Sales orders and pending invoices for Customers?
    Wishes,
    Abhishek

    Hi,
    Go to T code VA05 and select open sales order radio button. Put other input parameters like date range or sold to . Execute you shal get list of all open sales order.
    For pending invoices go to T code VL04 and you get list of all billing not yet created even though GI is done.
    These are standard SAP functionality and can be used rather than looking in a table level.
    Regards
    Vivek

  • 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

  • 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

  • Return Sales Order - And its Status

    Hello Experts,
    I have a question in the sales returns scenario.
    Step 1: I Create a sales order ( With two items and delivery full ) and perform steps till billing ( invoice ).
    Step 2: I Create Return sales order with reference to the first sales order but i take Only one item to return.
    Now the status of the return sales order is Being Processed.
    Step 3: I create a complete ( deliver full quantity of the item ) return delivery with reference to the return sales order and save the document. Now still the return sales order is in status Being Processed. Ideally i should have been Completed.
    Step 4: I do the Goods receipt for the return delivery. Now also the status of the returns sales order is Being Processed instead of Completed
    Kindly suggest any way to control the status of sales document or is this the ideal way( if so what's the functional purpose behind this ? ).
    Is this because the billing block is still set in the Return sales order ?

    Do you mean that only after credit memo creation or clearing of the credit memo from FI the status of return order is set to completed?
    If this is an ideal scenario, in one of our systems the status of return sales order is set to completed immediately after returns delivery creation.
    This behavior is same as that of normal sales order scenario, where the sales order status is set to completed once the delivery happens.
    Kindly suggest, if there is any customizing to control the oeverall status update for specific sales order types or based on the type of sales scenario.

  • Difference between Delivery, Sales order and  Shipment

    Hi
    I would like to know difference between sales document, delivery document and shipment.
    When is the delivery created? What data will it have?

    Hi
    <b>Sales Documents </b>
    Sales-related business transactions are recorded in the system as sales documents. These are grouped into four categories:
    Pre-sales documents: inquiries and quotations
    Sales orders
    Outline agreements, such as contracts and scheduling agreements
    Customer problems and complaints, leading to free-of-charge deliveries and credit memo requests
    If your particular business processes require it, you can process deliveries and billing documents directly from a sales document. In addition, some sales documents, such as cash sales and rush orders automatically trigger the creation of subsequent delivery and billing documents.
    Basic Functions Within Sales Order Processing
    During sales order processing, the system carries out basic functions, such as:
    Monitoring sales transactions
    Checking for availability
    Transferring requirements to materials planning (MRP)
    Delivery scheduling
    Calculating pricing and taxes
    Checking credit limits
    Creating printed or electronically transmitted documents (confirmations and so on)
    <b>Delivery Processing</b>
    In its role as central object of the goods issue process, the outbound delivery supports all shipping activities including picking, packing, transportation and goods issue. During the outbound delivery process, shipping-planning information is recorded, status of shipping activities is monitored and data accumulated during shipping processing is documented. When the outbound delivery is created, the shipping activities, such as picking or delivery scheduling, are initiated, and data that is generated during shipping processing is included in the delivery.
    Range of Functions
    An outbound delivery can be created as follows:
    With reference to a sales order
    With reference to a stock transport order
    With reference to a subcontract order
    <b>Shipping </b>
    Shipping is an important part of the logistics chain in which guaranteed customer service and distribution planning support play major roles.
    In shipping processing, all delivery procedure decisions can be made at the start of the process by
    Taking into account general business agreements with your customer
    Recording special material requests
    Defining shipping conditions in the sales order
    The result is an efficient and largely automatic shipping process in which manual changes are only necessary under certain circumstances.
    Integration
    The Shipping component is integrated under the Logistics Execution component. Shipping is a subsequent activity of the Sales component.
    Range of Functions
    The shipping module supports the following functions, which include but are not limited to:
    Deadline monitoring for reference documents due for shipment (sales orders and purchase orders, for instance)
    Creating and processing outbound deliveries
    Planning and monitoring of worklists for shipping activities
    Monitoring material availability and processing outstanding orders
    Monitoring the warehouse's capacity situation
    Picking (with optional link to the Warehouse Management system)
    Packing deliveries
    Information support for transportation planning
    Support of foreign trade requirements
    Printing and transmitting shipping documents
    Processing goods issue
    Controlling using overviews of
              o Deliveries currently in process
              o Activities that still are to be carried out
              o Possible bottlenecks

  • How to display Header Texts that you find in Sales Order and Billing Doc..

    Hi,
    I am having some problems accessing the text that is typed in the Header Texts area of the Sales Order and Billing. To access the Header Text you should first trigger the Sales Order (VA02) then once in the Sales Order Click Goto -> Header -> Texts. The same follows to the Billing.
    I need to extract what is typed here on to a report. First of all I can’t figure out which table is used to save this information. I am suspecting that this information is encoded and stored in a table. To display this I may need to decode it.
    Is there some one who could help me to archive this please!!!
    Many Thanks,
    Kishan

    Hi Kishan,
    The texts you find in all SAP Object, like orders, invoice, materials, ... can be extract with FM 'READ_TEXT'.
    To know the parameters of the FM, you 'll have to go to the text ( in plain page mode ), then you do "GOTO" -> "HEADER", and a pop-up window opens with the parameters you need ( Text name, language, text id, text object ).
    The table "t_tdline" contains the entire text .
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
    *   CLIENT                        = SY-MANDT
        id                            = w_id
        language                      = sy-langu
        name                          = w_name
        object                        = w_object
    *   ARCHIVE_HANDLE                = 0
    *   LOCAL_CAT                     = ' '
    * IMPORTING
    *   HEADER                        =
      tables
        lines                         = t_tdlines
    hope this helps.
    Erwan.

  • New sales order and Change sales order in item level or delete at item leve

    I got one requirement. Daily i have to display one report on new sales orders created on that day and any sales order item is modified or any item is deleted or any item is added.
                      How to get the sales order numbers and position numbers which will follow above creteria. I found one function module but it is not giving position numbers and new sales order details.
             Is there any BAPI for this requirement.

    I am using "CHANGEDOCUMENT_READ" function module to get the new sales orders created and changed sales order items on a particular time. This function module is getting data from CDHDR and CDPOS tables. But only change sales orders is coming. New sales orders which is created on that time is not getting.
              One of my friend is telling like we have to activate one change pointer to retrive new sales orders also. Which is like there will be one check box.
    Is any body having idea on this. Please reply me on briefly with the code to retrive new sales orders and changed sales orders

  • Stock reservation against Sales order and deivery against reserved stock

    Hi SAP Gurus,
    e We are trying to provide a solution for thscenario where user wants to reserve stock immediatey after SO creation...and deliver same reserved stock.
    i am recommanding Reservation where reservation will be created with 231 immediately after SO creation but the rea problem is that how to create SO delivery against that reservation/Reserved stock so that document flow remains intact for the SO.
    Thank you very much in advance,
    Regards,
    Dharmesh.

    Hi Lakshmipathi,
    I had the same question and search landed to this thread but I ask again with the different perspective
    The reservation concept is really an MM functionality but you really dont reserve stock against any order or delivery (other than using special stock movement types like 412E) but unless you create a delivery immediately (and include deliveries as requirements in case of ATP check) you have no real way of establishing the hard reservation. If you do a non-order reservation i.e. you reserve something in anticipation then reservation needs to be used as a receipt in ATP check for both sales order and delivery.
    Alternatively what you can do at most is to conserve the pegging relationship (fixed pegging) that has been established once the order is confirmed (with or without ATP check) but this can get really tricky when you have batch determination to be done is delivery in which case you find that there aren't enough batch stocks conforming to customer specifc SLED to pick. So both ATP check and pegging looses its purpose of hard reservation. So that leaves us with having to determine batches too at sales order creation and let pegging not change.
    Is this is a good idea in general.. 1) in Make to stock segment, 2) In make to order segment..
    Does the concept of resevation stocks at sales order creation does more harm than good ? in general.. Implication in planning. inventory build up .MRP. Another issue is how long should you reserve stocks against order or against specific customer or country and such.
    Regards
    Loknath

  • Add price conditions in sales order and purchase orders

    Hi,
    I need add five price conditions in a sales order, and a purchase order.
    I need filled KOMV table, however, i don't found the user-exits appropiated (example: the exit EXIT_SAPLMEKO_002 haven't parameter KOMV),
    Regards,

    Quite a few years ago I did something like this in sales orders... found the code in my notes, here it is.
    I used USEREXIT_PRICING_PREPARE_TKOMP in include RV60AFZZ.
    * Check if this condition record exists already
      read table xkomv with key kschl = c_condition_name
                                kherk = 'C'             "(depending on the task)
                                kposn = vbap-posnr.
      if syst-subrc ne 0.   "condition wasn't added yet
          clear xkomv.
          xkomv-kschl = c_condition_type.
          xkomv-kbetr = condition_amount.
          call function 'PRICING_CHECK'
            exporting
              comm_head_i = tkomk
              comm_item_i = tkomp
              komv_i      = xkomv
              preliminary = 'X'
            importing
              comm_head_e = tkomk
              comm_item_e = tkomp
              komv_e      = xkomv.
          xkomv-KWERT = xkomv-kbetr.
          append xkomv.
      endif.
    Keep in mind that I haven't used this logic for years, so you'll have to test if it still works, but it worked for me back then.
    If I'd have to do this now, I'd probably try to find a suitable enhancement point though...

  • Regarding creating a LOOSE LINK between Sales Order and Vehicle

    Hi,
    Does anyone has any idea on how to establish a LOOSE LINK between Sales Order and Vehicle using BAPI_VEHICLE_CREATE or any other Function module.
    Any help will be highly appreciated and rewarded.
    Kind Regards,
    Tanuja

    Dear Kumar,
    Strategy - 40
    Consumption of PIR (not Redution)
    1) the first point in strategy in 40 is, incoming sales order consumes PIR
    2 )both sales order and PIR takes place in MRP planning run
    2) this is where it is in mostly used in many indutries
    just a small example how this strategy works
    1) creat PIR for ur FERT- 100Nos
    2) check in MD04- u will get PIR (VSF) as 100
    3) now creat sales order for 120 for same month
    4 )run MRP for that particular FERT
    5) check the result in MD04, here ur PIR gets vanishied and an plan order will be generated for 120 Nos.
    Regards
    kumar
    Edited by: kumar kumar on Jul 22, 2009 8:29 AM

Maybe you are looking for

  • Lightroom 5 is quite slow in importing photos

    Lightroom 5 is quite slow in importing photos from a memory card connected to a reader using USB 3.0! After installing LR5, I didn't change any default settings. Interestingly, this wasn't found in beta testing. LR4 was what I call quick or snappy. B

  • * sign in ABAP code

    Hi Experts I found in SAP code the usage of * sign but it wasnt in select statement. Anyone knows how below statement works? i_frggr       = *ekko-frggr Thanks in advance. az

  • Flash.data.SQL : cannot access sqlite_master table ???

    Normally I find I can execute this query in sqlite and gives me all the database info. Am I missing something or being more than usually stupid ? Not a huge issue, but I was going to build a simple explorer just to get a feel for sqlite in AIR, and l

  • Nokia 5800xm, very bad battery backup

    hi all, i have just bought Nokia 5800 XM, a week back. I am facing a very bad experience with this new phone since its giving a poor battery backup. The battery is not lasting even a day. I charge it fully in night and it starts getting down next day

  • Need help in enhancing CRM datasource /extract structure

    Hello Experts, I have come across an issue with a CRM DR phase 1 report "Program Status Management report". The user wants to display Mobile number and Pager number of a contact person for the customer. Contact person is a Business Partner (Mobile no