Question on best approach to create sales orders in R3

Hi
   We have a scenario wherein XI should read data for sales orders from a SQL server DB and then map this information onto an IDOC and post to R3. Now, there is some information needed to fill in some segments of the idoc - that has to be looked up from a lookup table in R3 itself.
One of the ways to do this is use BPM and do a synchronous lookup to R3 ( or a rfc lookup directly from the mapping in XI ) , build the IDOC and then use idoc adapter from XI to post to R3.
Another approach - we were thinking of is use an ABAP proxy - and within the proxy - do the lookup- build the idoc segments and then use MASTER_IDOC_DISTRIBUTE function module to create the idoc ? This way, we will avoid the rfc lookups to R3 from XI.
( Use of idoc inbound user exit to do the lookup is not feasible in our environment )
Any thoughts on whether the second approach can be used and pros and cons on the two approaches ?

Hi
I would have chosen ABAP proxy approach reason is it is allowing me only one touch point to make changes. With this performance is better. Steps are less as in case of BPM performance is less compared to proxy and i have to do additional effort to do RFC lookup to read the table from R/3.
Even looking at future support perspective its easy to maintain the proxy interface and enhancements can also be addressed in easily.
Thanks
Gaurav

Similar Messages

  • Taking ref. more than one billing documents during creating sales order

    Hi everybody,
    During creating sales order with reference, how can i take reference more than one billing documents?
    Thanks.
    Best regards.
    Kaan Özdöker
    Astron

    Hi all,
    Thanks for the helpful answers. I realized after your answers, my question was misunderstood.
    Ok, i can refer to billing documents one by one in the sales order creating screen i know, but i want to refer to many billing documents at once.
    In this mean, Srinath'a answer was very helpful. As i thought there is no other way except user-exit modification or new routine.
    Thank you all.
    Best regards.
    Kaan Ozdoker
    Astron

  • Creating Sales Order trhough PS-WBS

    Dear Experts,
    I have two question;
    1. I need to create sales order through WBS according to client's requirement. Can anyone explain how to create sales order from WBS.
    2. Client wants to create sales order through WBS and trigger milestone billing plan from that sales order. but client wants to delivery according to normal sales order. My question, is it necessary to create two sales order for same material? I want to delivery from that sales order which is created through WBS. is it right decision?
    I am waiting for your valuable suggestion.Thanks in advance.

    Sorry about the below the site is acting up again. Anyways according to process it depends on how the configuration is setup.
    In my experience I have seen that deliveries are done thru PS. One creates a Project Sales Order and assigns the WBS element number inside the item line for that material. If PS config is properly set the Billing Plan dates also get fetched and populated. Once it is assigned you can create invoices relating to the billing plan dates in order related billing. Note: You can create deliveries from PS or SD. I have no idea why you would create 2 sales order you did not quite explain why you would want to do that for?
    Best of Luck
    Ali Lozada

  • Create Sales Order using IDoc

    Hi All,
    Based upon customer's input file which contains header and line item details I have to create sales order in our system. We would like to use IDoc for this. Customer will send us file once a day by email or FTP.
    For this I have created a port and partner profile but I am not sure how the process will get initiated?
    Can someone please let me know how can I do this? There is now outbound process involved, I just need to create sales order based upon input file using IDoc.
    Regards,
    Sanjay

    HI,
    You cannot directly call the function modules that process the idoc, because these functions are called dynamically by the ALE layer and the function expects data in a certian format (IDoc format ).
    BAPI would be the best way to go for your scenario.
    However there is a workaround if you want to use IDoc only. You can follow this approach :
    1. Populate an outbound ORDERS05 IDoc from the file data.
    2. Distribute it to the same system, i.e sender system and receiver system is same.
    3. On the Inbound side the Idoc that you created on the outbound side will be received and processed.
    "R3  File----->Outound ORDRES05  -----
    ______________________________________|
    |
    '------> " Inbound ORDERS05 ( in the same R3 system)
    The tricky part is sending an Idoc and receiving in the same system, but you can find how to do this on the wiki pages.
    regards,
    Advait

  • Updating price in already created sales order

    Hi all,
    I have an issue. When we create sales order, system will display current date pricing on sales order, for example total value of sales order is 9000. Now before delivery, prices change and we have to manually update price on sales order individually. Is there any report available that can update price of all already created sales orders instead of going on sales order and update one by one.
    Please respond.
    Best Regards,
    AI.

    Hello,
    You can update the pricing for all the created orders at a time in VA05 .
    Goto Transaction code VA05 and give all the sales orders and then in the MENU click on
    EDIT->MASS CHANGE>NEW PRICING
    And update the New pricing, then will carry out new pricing for all the sales orders at a time.
    OR,
    There is also one function module  SD_BULK_CHANGE , Create your own Query in SQV1 and make changes.
    Hope it will resolve , Please revert if you need further details
    thanks,
    santosh

  • Creating Sales Order- Item Category TAN is not defined.

    Hello all,
    I am working on Creating sales order for Global Bike Inc case. But when I enter the material and quantity number and click check mark it says "Item category TAN is not defined". Can some body help me how can we define TAN or why it is giving me that error.
    Thanks in advance.
    Sujan

    Hi SujanB,
    As your question is already answered. An indicator that defines the characteristics of a document item.
    For example, the item category controls the type and scope of:
    Pricing
    Billing
    Delivery
    Inventory posting
    Transfer of requirements
    Providing further deatils ;--
    01. How item category is determined :--
    Depending on the item category group that you apply & the sales doc type you are processing the system automatically proposes an item category in the document.
    1.sales document type (source: order type)
    2.item category group (source: material master)
    3.item category of the higher-level item (source: user defined)
    4.item category usage (The usage is defined by SAP and is hard coded in the programs)
    SPRO- IMG- SD- Sales- Sales Document- Sales Document Item- Assign Item Category (VOV4)
    Pls refer following link for furter details ;--
    general item category group
    item category usage  in item category determination
    http://help.sap.com/saphelp_46c/helpdata/en/dd/55fb13545a11d1a7020000e829fd11/content.htm
    http://www.slideshare.net/magnatraining/item-category
    Hope it helps....
    Thanks/Rajesh

  • Creating sales order document with reference to billing document

    I have to create sales order with reference to existing billing document. I have tried to following bapis.
    1. BAPI_SALESORDER_CREATEed
    I have successfully created document with following details.
    -->ORDER_HEADER_IN:
    DOC_TYPE = ZRK
    SALES_ORG = 3000
    DISTR_CHAN = 00
    DIVISION = 00
    ORD_REASON = 100
    SD_DOC_CAT = L
    CURRENCY = EUR
    REF_DOC = 100000028
    REF_DOC_CA = M
    -->ORDER_ITEMS_IN:
    ITM_NUMBER = 000010
    MATERIAL = 701791
    TARGET_QTY = 0000000001000
    CURRENCY = EUR
    REF_DOC = 100000028
    REF_DOC_CA = M
    -->ORDER_PARTNERS:
    PARTN_ROLE = SP
    PARTN_NUMB = W12001
    COUNTRY = NL
    by providing this input i am able to create the document but it is not picking up the net value. so i have passed some extra paramters in ORDER_ITEMS_IN
    COND_TYPE = PNET
    COND_VALUE = 14,56
    COND_D_UNT = PC.
    folowing error is occured: Condition PNET is missing in pricing procedure A V Z0000.
    is it something related to configuration problem?
    2.BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2
    I have used same test data that is used for BAPI_SALESORDER_CREATEFROMDATA (where in i coudl succefully create doc). but here i encounterd following error.
    Unpermitted combination of business object BUS2032 and sales doc. category L.
    When i created manually using transaction : VA01
    I could do the same by passing following inputs:
    DOC_TYPE = ZRK
    SALES_ORG = 3000
    DISTR_CHAN = 00
    DIVISION = 00
    Reference document number.
    Please suggest me right way of approach.

    Hi,
    In SAP, when the sub-sequent document is existing , we can not cancel the preceeding document. Therefore if you want to cancel the billing document you need to calcel the documents which are created with reference to that.
    Check and confirm.
    Regards,
    Ravi Duggirala

  • How to manual maintain TAX condition value while creating sales order

    Hi
    I am creating one Tax condition suppose JLST without access sequence .
    while creating sales order I am manually maintain the % value of TAX. suppose it is 1%
    then I see It show some value in TAX .
    save that sales order & creating delivery document for that but when I create Invoice its show error.
    " Tax code  in procedure CMTAXP is invalid ".
    I know the configuration only for Tax condition with vk11 condition record .
    BUT now I want to maintain TAX condition at the time of creating sales order.
    so I remove the access sequence of that condition .
    but It shows tax code error while billing.
    My main question is that If i maintain condition record while creating sales order then how i can assign Tax code .
    Can it is possible ?
    if yes then How?
    please help me.
    thank you

    Hi,
    The "straight-forward" answer for Tax Code creation is contact the FI consultant. He shall help you, by creating Tax codes.
    I have tested, with creating a tax cond type (copy of MWST) & manually entering values. I can create Sorder, Dlv and Bill but I cannot create an Accounting document. That is because of every line (amount) a Tax code is necessary.
    I THINK, you can NOT have manually filled tax codes; access sequence is needed to get the tax value (%) and the Tax code from the condition record.
    There is lot of material on the web to understand Tax classification, code etc. etc. See a useful link below -
    http://www.sapgeek.net/2010/04/sd-determines-tax-code/
    In short Tax code is a must and take the help of your FI consultant for the configuration of the same.
    BTW - Tax code is already made created for MWST, therefore I suggested that you can use MWST. Furthermore, you can change the values corresponding to Tax codes in FTXP.
    But if you are a beginner in these things, better take help.

  • Condition tab in display mode while creating sales order.

    Hi Guys,
    When I go to create a sales order the condition tab shows all the condition types in grey, irrrespective of its being manual or mandatory. I know it has nothing to do with V/06 or standard pricing transactions. So I changes the item categry.Again used the same order type, same customer , same material and same sales area. Once I change the item category to Zxxx, Condition tab becomes changeable. So I concluded that item category is the culprit. But the question is Which part of item category is influencing it ?
    Please help.
    Regards,

    Hi Phani,
    While creating sales order (VAO1), I go to item level and click on condition tab. I see all the things in this tab grayed. Nothing is changeable. I changed the item category, while the pricing procedure was same as the old one. Condition tab became changeable. So it has something to do with item category. But what is that one thing missing in my item category which is making condition tab grayed out..?
    Regards,

  • Create sales order with reference to 10 quotation

    Create sales order with reference to 10 quotation I want to put all quotation means take reference in one sales order how I can do it because when tried va01 and taken reference of question it allow to put only one question number how can I do it for multiple question
    Ahmed

    Hi Raj,
    If you come back to initial screen after coping the first quotation ,then system will ask you whetehr to save or cancel the data,if we select save then it will be saved immediately,else it will cancel.So ,it is not possible to copy more than one quaotation in standard SAP.The only option is to deveop a BDC with the help of abaper.
    We can only create this when header data is same in all the quotations.
    Regards,
    Pasapula.
    Edited by: Pasapula on Jul 24, 2009 9:48 AM

  • BAPI_SALESORDER_CREATEFROMDAT2 for creating sales orders with configurable

    Hi All,
    I want to create sales order with a material which in turn triggers a configurable network order.
    I am using the following BAPI : BAPI_SALESORDER_CREATEFROMDAT2.
    After reading the "[Variant Configuration (LO-VC)|http://help.sap.com/printdocu/core/print46c/en/data/pdf/lovc/lovc.pdf]" documentation, I thought I had to populate the
    following tables ORDER_CFGS_REF, ORDER_CFGS_INST and ORDER_CFGS_VALUE.
    The call function return no errors and the sale order is well created. However, I have no values in the network.
    If I created a sale order in VA01, a network is created with value. So the customizing is good.
    Do you have any idea how to populate this tables ? Sample code will be very helpful.
    We found in this forum a lot of sample code about configurable material, with obj_type populate with MARAu2019. But no example with configurable network.
    Actually I complete these tables like this :
    " E1CUCFG
      ls_order_cfgs_ref-posex = '000010'.
    *  ls_order_cfgs_ref-config_id = '000010'.
      ls_order_cfgs_ref-config_id = '000001'.
      ls_order_cfgs_ref-root_id = '00000001'.
      ls_order_cfgs_ref-complete = 'T'.
      ls_order_cfgs_ref-consistent = 'T'.
    *  ls_order_cfgs_ref-cbase_id = '4ECADFC4BE9F03A6E10080000AC4AB76'.
    *  ls_order_cfgs_ref-cbase_id_type = 'G'.
      APPEND ls_order_cfgs_ref TO lt_order_cfgs_ref.
    " E1CUINS
      ls_order_cfgs_inst-config_id = '000001'.
      ls_order_cfgs_inst-inst_id = '00000001'.
      ls_order_cfgs_inst-obj_type = 'PLKONET'. u201C(in replacement of MARA)
      ls_order_cfgs_inst-class_type = '300'. u201C(or 020).
      ls_order_cfgs_inst-obj_key = '01000000801'.
      APPEND ls_order_cfgs_inst TO lt_order_cfgs_inst.
    " E1CUVAL
      ls_order_cfgs_value-config_id = '000001'.
      ls_order_cfgs_value-inst_id = '00000001'.
      ls_order_cfgs_value-charc = 'XXXX'. u201C(corresponding to Flag DTA)
      ls_order_cfgs_value-charc_txt = 'Flag DTA'.
      ls_order_cfgs_value-value = '0'.
      APPEND ls_order_cfgs_value TO lt_order_cfgs_value.
    Thanks,

    Have a look to OSS-Message 567348. There is sample coding for using BAPI_SALESORDER_CHANGE, but the parameters should be the same to yout BAPI
    Best regards
    Torsten Manhardt

  • Purchase order to create sales order and delivery

    Hello all,
    I am planning to create sales order and since i require customer Purchase order to create sales order, i am also planning to create purchase order.
    My question is who should i mention as vendor or who would be the vendor when i create a purchase order that would be used to create sales order.
    should it be the customer who orders the material or should it be the plant from which the material is going to be supplied.
    and also in the line item for the field "plant", should i enter the supplying plant or should i enter the ship to plant.
    Thanks,
    Maxx

    The moment you mention 'Vendor', the SAP synonym for it is 'Supplier' hence it would be the supplier (and not customer), that is the plant from which the marerial is supplied. Hence your vendor in customer PO will be the supplying plant.
    The 'Plant' in the line item in case of PO will be the receiving plant (the customer's Plant).
    I hope this answers your doubt.
    Amit G

  • Create Sales order from Internal Purchase Order using IDOC

    Hello Friends,
    I have requirement to create Sales Order from Internal Purchase Order Using IDOC.
    Backgorund, we have already configured IDOC orders05 to create Sales Order from external Purchase order from Inbound IDOC, and it is working fine.
    Now we have new requirement to create Sales Order from our own Purchase order, i.e. When PO is created in one plant corresponidng sales order automatically must needs to create in another Plant with respect PO.
    I m trying to design a solution for above problem as follows,
    1.create an Inbound Idoc from PO, by creatiing one new message type on PO save.
    2.Process that Inbound  IDOC same as it is from external PO.
    3.Once processed Sales order will create.
    Please help me in step 1. to create Inbound IDOC from PO.
    If you want any further clarification please write me.
    Thanks,
    Mahesh

    I had done a similar scenario before and we achieved it through SAP XI. The problem is with the control record. When we create a ORDERS IDOC from a PO the control record will be for outbound transmission. We sent the file to XI and XI resent it back with some data parsing and a new inbound control record. This way it went neat outbound and inbound.
    I'm not sure what kind of architecture you have. If you have to do it within your ECC/R/3, then you could create the outbound IDOC to a new port and write a fresh RFC to pick it up from the same folder and create a new control record for inbound processing.
    I haven't tried this; but there is a "processing w. trigger (inbound)" option on the outbound process code. May be you can explore into that a bit more.
    I'm sure there could be better approaches to handle this within ECC so if you stumble on any, do write back. I would like to know to update my knowledge .

  • How to create sales order Automatically with reference to contract?

    how to create sales order automatically through batch or online? can anyone please suggest what needs to be change in SAPMV45A program?

    Hi,
    Wt am able to understand from the above question is, you want to create automatic sales order against contract on a day to day basis by doing batch program, hope am wright.
    See you can do it in two ways.
    1. By using BDC, in SHDB T code record how exactly you will do transaction and then give it to your abaper rest he will do. he will write a program and he will schedule that program every day night.
    2. By using BAPI. Just check in there are many threads are there which gives sales order bapi. Tell your abaper to map that bapi and tell them to schedule back ground job.
    Hope this will help out in solving your problem.
    Regards,
    Nagesh

  • Regarding IDOC posting to create sales order

    Hi Friends,
    when we are trying to post Idoc to create sales order, Idoc status is showing error as "Enter requested delivery date" with status 51. and error message no is V1394. we found that user is trying to post the Idoc with two delivery dates.
    Kindly help me to find out the root cause of this issue....why system is throwing error as "Enter requested delivery date"
    Thanks in Advance,
    Reagards,
    Babu

    Hi Babu,
    Normally customer will forward 2 types of delivery date
    1. Requrested Delivery Date (Goods reaching to the customer door step, EDI qualifier '002')
    2. Requested shipping Date (Googs leaving from shipping from warehouse, EDI qualifier '10')
    In the above case SAP will take only requested Shipping date which can be mapped at E1EDK03 - DATUM with E1EDK03 - IDDAT is equal to '002'.
    Let me know whether you are mapping IDOC with EDI message. If so then you need to map with the EDI qualifier '10'
    << Moderator message - Point begging removed >>
    With best regards,
    M. Rajendan.
    Edited by: Rob Burbank on Jan 4, 2012 9:47 AM

Maybe you are looking for

  • NSLocaleLanguageCode How to get the iPhone language code

    Hi everyone, I am working on a multi-language software for the iPhone, and I realized that using [[NSLocale currentLocale] objectForKey:NSLocaleLanguageCode] doesn't give you back the actual language used on your iPhone, but give you the region forma

  • Start a new java process using Runtime.Exec() seems to ignore the -Xmx

    I am working with a process that requires a minimum of 1.5 GB to run and works better if more is available. So I am determining how much memory is available at startup and restarting the jre by calling Runtime.exec("java -Dcom.sun.management.jmxremot

  • "3.x Analyzer Server" EVENT taking more Time when Executing Query

    Hi All, When I am Executing the Query Through RSRT   taking more time. When I have checked the statistics and observed that "3.x Analyzer Server" EVENT taking more Time . What I have to do , How I will reduce this 3.x Analyzer Server EVENT time. Plea

  • How to change active partition?

    Hi experts, I have disk D which contains OS windows 7 and not in active, but my another disk E is in active with 100% free space.so, how can i change active partition from E to D ? please help me  

  • How to generate melody in labview????

    how can I generate the melody using labview.can anyone please help me out with this???