BPM multicast Order to multiple line messages via HTTP.

Hi
I have an interface that requires a Sales Order to be split up into messages per Order line.  So a 1:N.  Each message is then to be sent via HTTP.
I find that the HTTP Adapter is not able to handle a multi message as it returns error "Messages in multi-message format can only be sent to one Adapter Engine".
So a BPM is required to process each message and send them one at a time.  My test SalesOrder has 2 lines and so I expect 2 messages to be sent. I have a BPM but it is only sending the first message and it should do both. 
My BPM has the following steps
  Receive Step for SalesOrder
  Transformation Step for SalesOrder into OrderLinesMessage
  ReceiverDetermination Step for OrderLinesMessage to Receivers container
  ForEach block for Multiline element (Receivers) to CurrentLine (ReceiverLine container)
  Send Step for OrderLinesMessage where ReceiverFrom = ReceiverList and Receivers = ReceiverLine container
Why for my SalesOrder with 2 lines is only 1 message being sent ?.
thanks

Hi
I have an interface that requires a Sales Order to be split up into messages per Order line.  So a 1:N.  Each message is then to be sent via HTTP.
I find that the HTTP Adapter is not able to handle a multi message as it returns error "Messages in multi-message format can only be sent to one Adapter Engine".
So a BPM is required to process each message and send them one at a time.  My test SalesOrder has 2 lines and so I expect 2 messages to be sent. I have a BPM but it is only sending the first message and it should do both. 
My BPM has the following steps
  Receive Step for SalesOrder
  Transformation Step for SalesOrder into OrderLinesMessage
  ReceiverDetermination Step for OrderLinesMessage to Receivers container
  ForEach block for Multiline element (Receivers) to CurrentLine (ReceiverLine container)
  Send Step for OrderLinesMessage where ReceiverFrom = ReceiverList and Receivers = ReceiverLine container
Why for my SalesOrder with 2 lines is only 1 message being sent ?.
thanks

Similar Messages

  • LSMW program to upload the sales order with multiple line items.

    Dear SD and PP Gurus,
    I am new to creating LSMW Program.
    I want to create a LSMW program to upload the sales order with multiple line items. I have read on SDN that it can be done on two phases. First Create Header Data than line items. IS IT TRUE??, Or
    Is there any procedure by which we can load the sales orders with multiple line items in a single run (part).
    I want to use Batch process, not a BAPI or IDOC procedure.
    I have created a program with
    object 0090
    Method 0000
    Program Name RVINVB10
    Program Type D
    Source Structure 1 - For Header and Source Structure 2  for Line Items.
    Mapped Field INDET (With Fix Value 1), ORDERTYPE, SALESORG, DISTCHANNEL, DIVISION, CUSTOMER, PONUMBER , DELVDATE, PRCGDATE, PMTTERM
    INCOT1 INCOT2 with Source Structure - 1 and
    Field INDENT (With Fix Value 2),  ITEMNO, MATCODE, MATQTY, SUOM, PLANT, BATCH, AMOUNT with Structure-2
    than maintained Structure relation ship, field Mapping, Specified Files, Assigned files, Read Data and other process,
    At final stage (Start Direct Input program RVINVB10) it is giving a message - Table name not allowed.
    Please tell me where I am wrong.
    Thanks in advance.
    DSC

    Dear SD Gurus n Experts,
    I have solved the above problem. But there is another problem appearing regarding the date format. Now system generating a message: Date . . is not valid.
    While I am using Date: YYYYMMDD format in flat file, which is SAP's Standard Format.
    In SDN Link: LSMW upload Sales Order using VA01/VA02     I have found that there are some date fields which are mandatory to filled. Here I have mapped
    VDATU - Requested delivery date,  BSTDK - Customer purchase order date,  PRSDT - Date for pricing and exchange rate,  BSTDK_E - Ship-to party's PO date, FKDAT - Billing Date, KORDT - Delivery Date,
    and PRGRS - Date type is Constant = D
    Can any one tell me, where is the priblem.
    With thanks,
    DSC

  • One order with multiple lines in OM is creating multiple invoices

    Application: Oracle 11i (11.5.3)
    Modules implemented: GL, OM, AR, AP, PO and CM
    Business Requirement:
    Our client would like to create Order consisting of multiple lines in Order Management.
    The Orders created in OM with multiple lines could be booked, picked, released and transferred
    over to Accounts Receivable. On transferring over the Orders from Order Management to Accounts
    Receivables using Auto Invoice process the Order should create ONE invoice with multiple lines.
    Moreover, for the multiple lines created on an invoice deferred revenue could be applied.
    ( eg. An order is placed for software and support. The support is to be invoiced all at once but revenue deferred to 1/12
    recognized each month as revenue is earned.)
    Right now we are getting two invoices. It is putting the deferred revenue item on a seperate invoice. Is this normal
    functionality? How can I get both on one invoice.
    thanks

    Hello Monique,
    Well you can have one invoice generated for an order with multiple lines. This is possible by changing some rules in Account Receivables. Use the grouping rules under setups->autoinvoice in AR. You can club your invoices based on any of the columns of ra_interface_lines_all. Hope this works for you.
    Arvind

  • Where/ how do I set SNP to create Planned orders with multiple line items?

    Hi
    Currently our SNP is generating planned orders on a daily basis, it creates a single order with a single line item per location.
    Where/ how do set SNP to create planned orders on a daily basis to generate a single order with multiple line items per location, so therefore one planned order with multiple line items for a single location.
    Thanx
    Keegan

    Hi Keegan,
                   In SNP (APO) it is not possible to create order with multiple line items.
    But you can do some settings so that while planning system can do aggregation and disaggregation.
    But your requirment should be set on Aggregation/Dis-aggregation logic.
    Please follow the follwing links:
    http://help.sap.com/saphelp_scm2007/helpdata/en/2c/c557e9e330cc46b8e440fb3999ca51/content.htm
    Aggregation:
    http://help.sap.com/saphelp_scm2007/helpdata/en/42/f731d078e73ee4e10000000a1553f6/content.htm
    Disaggregation:
    http://help.sap.com/saphelp_scm2007/helpdata/en/a6/ebefaf32e22e468355da304cc59387/content.htm
    Please be sure that the setting of this logic will be at planning area level.
    You can't change aggregation/disaggregation logic further.
    Regards,
    Santosh

  • Production order from sales order with multiple line item(for one material)

    Dear Gurus,
    I am working in MTO scenarios. If there is several line item in a sales order for one material, multiple production order( same as no. of sales order line item) is getting created against each of the line item.My requirement is,since the material code is same in each line item and sales order is one, one production order should be generated for all line item. please tell me how to do it.
    (Here for one material, multiple line item is required for some specific reason)
    Regards
    Rajib Pathak

    Hi,
    This is not possible.
    In Std SAP will create one production order for one sales order. The stock is also allocated to thet particular sales order only. Because each and every sales order may vary in any one of the parameters. Considering this, SAP has designed like this.
    Regards,
    V. Suresh

  • Adding Sales Order with multiple lines

    Hi all,
    I have a C# program whereby I am trying to get Sales Orders from one database (source) and create them in another database (destination). I can't get the code to work properly as lRetCode is never equal to 0 but is -5002.
    How can I fix it so that it adds the sales orders properly?
    Here is the code snippet:
                unaddedSOs = sList.Except(dList).ToList(); // contains the header information
                // Add the Sales Orders that are missing to destination database
                SAPbobsCOM.Documents sboSO =   (SAPbobsCOM.Documents)oCompanyDestination.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders);  // Destination
                // Loop through unadded Sales Orders
                foreach (var item in unaddedSOs)
                    // Set properties of the Sales Order object
                    sboSO.CardCode = item.cardCode;
                    sboSO.CardName = item.cardName;
                    sboSO.DocDate = item.docDate;
                    sboSO.DocDueDate = item.docDueDate;
                    // Add Sales Order Document Lines
                    SAPbobsCOM.Recordset rsLines = oCompanySource.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset); // Source of lines
                    // Get Sales Orders from source database
                    rsLines.DoQuery("SELECT ItemCode, Quantity, Price FROM RDR1 WHERE DocEntry = '" + item.docNum + "'");
                    rsLines.MoveFirst();
                    if (rsLines.RecordCount > 0)
                        while (!rsLines.EoF)
                            sboSO.Lines.ItemCode = rsLines.Fields.Item("ItemCode").Value;
                            sboSO.Lines.Quantity = rsLines.Fields.Item("Quantity").Value;
                            sboSO.Lines.Price = rsLines.Fields.Item("Price").Value;
                            sboSO.Lines.Add();
                            rsLines.MoveNext();
                    // Try to add the Sales Order to the database
                    int lErrCode = 0;
                    string sErrMsg = "";
                    int lRetCode = sboSO.Add();
                    if (lRetCode != 0)
                        int temp_int = lErrCode;
                        string temp_string = sErrMsg;
                        oCompanyDestination.GetLastError(out temp_int, out temp_string);
                        // Incase adding a Sales Order failed
                        if (lErrCode != -4006)
                            // Display error message
                            MessageBox.Show(lErrCode + " " + sErrMsg);
                MessageBox.Show("Done!!!");
    Kind Regards,
    Kinyanjui.

    Hi Kinyanjui,
    I think you're always writing to the same line:
    int row = 0;
    while (!rsLines.EoF)
        sboSO.Lines.SetCurrentLine(row);
        sboSO.Lines.ItemCode = rsLines.Fields.Item("ItemCode").Value;
        sboSO.Lines.Quantity = rsLines.Fields.Item("Quantity").Value;
        sboSO.Lines.Price = rsLines.Fields.Item("Price").Value;
        sboSO.Lines.Add();
        rsLines.MoveNext();
        row++;
    Best regards,
    Pedro Magueija

  • Send XML Message via HTTP and Receive Response

    Hello,
    We have a scenario where we need to update Currency Exchange Rates in R/3 via a 3rd party called Oanda.  I'd like to use XI for this Interface, if possible. 
    Basically, we need to send XML over HTTP.  Here's the URL and the XML we need to use for our POST (I'll need to perform the look-up for about 15 currency codes - I plan on using a BPM process to loop through each currency code specified in a flat file):
    http://www.oanda.com/cgi-bin/fxml/fxml?fxmlrequest=<CONVERT><CLIENT_ID>TestAccount1</CLIENT_ID><EXCH>USD</EXCH><EXPR>CAD</EXPR><DATE>03/25/2008</DATE></CONVERT>
    And the reponse looks like this:
    <RESPONSE>
      <EXPR>CAD</EXPR>
      <EXCH>USD</EXCH>
      <AMOUNT>1</AMOUNT>
      <NPRICES>1</NPRICES>
      <CONVERSION>
        <DATE>Mon, 24 Mar 2008 20:00:00 GMT</DATE>
        <ASK>1.0257</ASK>
        <BID>1.0251</BID>
      </CONVERSION>
    </RESPONSE>
    I plan on mapping each reponse to BAPI_EXCHRATE_CREATEMULTIPLE, using BPM.
    So my question is this:  Should I use the HTTP adapter for the out going POST to Oanda?  If so, would the HTTP adapter be consider the sender or the receiver?  Also, how would the XML message be automatically appended to the end of the URL (i.e., after the fxmlrequest parameter)?  I guess I'm a little confused on how to use the HTTP adapter...  Are there any blogs that discuss this type of scenario?
    Thanks,
    Matt

    Hi guys,
    I have few concerns for setting up this scenario.
    1). I have created a data type for request mapping, and teste the mapping.
    The output looks like below:
      <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:MT_CONVERT xmlns:ns1="http://test.com/ExchngRate">
       <CONVERT>
         <CLIENT_ID>test</CLIENT_ID>
         <EXPR>CAD</EXPR>
         <EXCH>USD</EXCH>
         <DATE>10/21/2009</DATE>
         <AMOUNT>1</AMOUNT>
       </CONVERT>
      </ns1:MT_CONVERT>
    How to pass only
      <CONVERT>
         <CLIENT_ID>test</CLIENT_ID>
         <EXPR>CAD</EXPR>
         <EXCH>USD</EXCH>
         <DATE>10/21/2009</DATE>
         <AMOUNT>1</AMOUNT>
       </CONVERT>
    to the receiver HTTP adapter.
    2) I am using URL address in the receiver HTTP adapter.
    Target Host: www.oanda.com
    Path Prefix: cgi-bin/fxml/fxml?fxmlrequest=
    What is will be Service Number?
    Looking forward for you help. Your help is greatly appreciated.
    Thanks,
    Namadev
    Edited by: Namadev Chillal on Oct 21, 2009 5:35 PM

  • Fault messages via HTTP

    Hello,
    I am trying to connect a thrid-party system that uses http to a R/3-System. I also want to handle application errors in the third-party-system. But right now I am a little bit confused about the fault messages. When creating a fault message in ESR, there is always the standard type ExchangeFaultData used which can't be changed. But my system is returning application errors in a different format which does not match to the ExchangeFaultData type. How can I deal with that?
    Thanks in advance for any help.
    regrads,
    Jens Harzer

    You can have a look here :
    http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/content.htm
    It explains the basics of fault/error msgs when designing msg interfaces
    Chris

  • Sales order with multiple Schedule lines

    Hello,
    Could you please help me to create a sales order with multiple line items.
    for example, I need to create a sales order with line item 10 with schedule lines more than 3.
    Thanks in advance,
    Bhaskar.K

    As already explained  Sh. Line Catg. is determined with Item Catg.of the item + MRP type automatically  . As per your assignment in ( SD-sale-sales document-Sh. line-Assign Sh. line Catg.) system automatically propose the Sh. line Catg of your entered item
    Now for three Sh line  - in VA01  create the order  with your  item , give quantity  -now  select the line item, click on the  Display item Details ICON extreme left  bottom of the screen, than click on Sh. line tab here you maintain as many sh. line as you required.
    Actually these Sh lines are nothing but the Requested Delivery Date And Quantity which is ultimately pass on to (Transfer the Requirement) MRP
    Hope this'll help you
    Ashok
    Edited by: Ashok ku. on Aug 17, 2009 11:16 PM

  • Error After BAPI_PO_CREATE1 with multiple Lines "Enter Account Assignment"

    Hi,
    I am trying to Post Purchase Orders with Multiple lines using BAPI_PO_CREATE1 and got error
    "Enter Account Assignment". This is happening when I post PO with multiple line items.
    I am trying the same PO with one record, PO is creating successfully. Do I need to put any additional data.
    I am creating PO with Item Category 'D' and Account Assignment 'N' and external number range and internal number range.
    Pls let me know, Do i need any additional flags for this.
    Thanks,
    naini

    Hello all,
    please help!!
    I used function BAPI_PO_CREATE1 to create PO with limit item but function returned message error '518 No account assignment exist for service line 0000000000'. Can anyone give me an idea to slove this problem? for your information, I used parameters below to run this function.
    POHEADER
    POHEADER-COMP_CODE = '1205'
    POHEADER-DOC_TYPE = 'GZPO'
    POHEADER-VENDOR = '8000001313'
    POHEADER-PMNTTRMS = '0001'
    POHEADER-PURCH_ORG = '1222'.
    POHEADER-PUR_GROUP = 'K05'
    POHEADER-CURRENCY = 'THB'
    POHEADER-EXCH_RATE = '1.00000'
    POHEADER-EX_RATE_FX = ' X'
    POHEADER-DOC_DATE = '10.06.2008'
    POHEADERX
    POHEADERX-COMP_CODE = 'X'
    POHEADERX-DOC_TYPE = 'X'
    POHEADERX-VENDOR = 'X'
    POHEADERX-PMNTTRMS= 'X'
    POHEADERX-DSCNT1_TO = 'X'
    POHEADERX-PURCH_ORG= 'X'
    POHEADERX-PUR_GROUP = 'X'
    POHEADERX-CURRENCY= 'X'
    POHEADERX-EXCH_RATE= 'X'
    POHEADERX-EX_RATE_FX= 'X'
    POHEADERX-DOC_DATE= 'X'
    POHEADERX-INCOTERMS1= 'X'
    POHEADERX-INCOTERMS2= 'X'
    POITEM
    POITEM-SHORT_TEXT = 'TEST'
    POITEM-PLANT = '5005'
    POITEM-MATL_GROUP = '606100001'
    POITEM-QUANTITY = '1.000'
    POITEM-PO_UNIT = 'AU'
    POITEM-ITEM_CAT = 'B'
    POITEM-ACCTASSCAT = 'K'
    POITEM-DISTRIB = ' '
    POITEM-PART_INV = ' '
    POITEM-PCKG_NO = '0000100001'
    POITEMX
    POITEMX-SHORT_TEXT = 'X'
    POITEMX-PLANT = 'X'
    POITEMX-MATL_GROUP = 'X'
    POITEMX-QUANTITY = 'X'
    POITEMX-PO_UNIT = 'X'
    POITEMX-ITEM_CAT = 'X'
    POITEMX-ACCTASSCAT = 'X'
    POITEMX-DISTRIB = 'X'
    POITEMX-PART_INV = 'X'
    POITEMX-PCKG_NO = 'X'
    POSCHEDULE
    POSCHEDULE-PO_ITEM = '00001'
    POSCHEDULE-SCHED_LINE = '0001'
    POSCHEDULE-DEL_DATCAT_EXT = 'D'
    POSCHEDULE-DELIVERY_DATE = '01.09.2006'
    POSCHEDULE-QUANTITY = ' 1.000'
    POSCHEDULEX
    POSCHEDULEX-PO_ITEM= '00001'
    POSCHEDULEX-SCHED_LINE = '0001'
    POSCHEDULEX-PO_ITEMX = 'X'
    POSCHEDULEX-SCHED_LINEX = 'X'
    POSCHEDULEX-DEL_DATCAT_EXT = 'X'
    POSCHEDULEX-DELIVERY_DATE = 'X'
    POSCHEDULEX-QUANTITY = 'X'
    POACCOUNT
    POACCOUNT-PO_ITEM = '00001'
    POACCOUNT-SERIAL_NO = '01'
    POACCOUNT-GL_ACCOUNT = '0065903020'
    POACCOUNT-BUS_AREA = '70'
    POACCOUNT-COSTCENTER = '0010700003'
    POACCOUNT-ORDERID = ' '
    POACCOUNTX
    POACCOUNTX-PO_ITEM = '00001'
    POACCOUNTX-SERIAL_NO = '01'
    POACCOUNTX-PO_ITEMX = 'X'
    POACCOUNTX-SERIAL_NOX = 'X'
    POACCOUNTX-GL_ACCOUNT = 'X'
    POACCOUNTX-BUS_AREA = 'X'
    POACCOUNTX-COSTCENTER = 'X'
    POACCOUNTX-ORDERID = 'X'
    POSERVICES
    POSERVICES-PCKG_NO = '0000100001'
    POSERVICES-LINE_NO = '0000000001'
    POSERVICES-OUTL_IND = 'X'
    POSERVICES-SUBPCKG_NO = '0000100002'
    POSERVICES-QUANTITY = ' '
    POSERVICES-BASE_UOM = ' '
    POSERVICES-GR_PRICE = ' '
    POSERVICES-FROM_LINE = '000001'
    POSERVICES-TO_LINE = '999999'
    POSERVICES-SHORT_TEXT = ' '
    POSERVICES-MATL_GROUP = ' '
    APPEND POSERVICES
    POSERVICES-PCKG_NO = '00100002'
    POSERVICES-LINE_NO = '0000002'
    POSERVICES-OUTL_IND = ' '
    POSERVICES-SUBPCKG_NO = ' '
    POSERVICES-QUANTITY = '1.000'
    POSERVICES-BASE_UOM = 'AU'
    POSERVICES-GR_PRICE = '43,486.21'
    POSERVICES-FROM_LINE = ' '
    POSERVICES-TO_LINE = ' '
    POSERVICES-SHORT_TEXT = 'Demurrage'
    POSERVICES-MATL_GROUP = '606100001'
    POSRVACCESSVALUES
    POSRVACCESSVALUES-PCKG_NO = '0000100001'
    POSRVACCESSVALUES-LINE_NO = '0000000001'
    POSRVACCESSVALUES-SERIAL_NO = ' '
    POSRVACCESSVALUES-QUANTITY = ' '
    APPEND POSRVACCESSVALUES
    POSRVACCESSVALUES-PCKG_NO = '0000100002'
    POSRVACCESSVALUES-LINE_NO = '0000000002'
    POSRVACCESSVALUES-SERIAL_NO = '01'
    POSRVACCESSVALUES-QUANTITY = '1.000'
    POLIMITS
    POLIMITS-PCKG_NO = '0000100001'
    POLIMITS-LIMIT = '1.00'
    POLIMITS-EXP_VALUE = '1.00'
    APPEND POLIMITS
    POLIMITS-PCKG_NO = '0000100002'
    POLIMITS-LIMIT = ' '
    POLIMITS-EXP_VALUE = ' '
    please help
    Thank you for advance

  • ECATT : multiple line itmes

    Hi Gurus,
    i am creating ecatt with TCD recording. My requirement is if i record a sales order with one line item can i use the same ecatt for multiple line items.
    for example if i create a test script z_va01 in this i record a sales order having one line item. For this i created test data and configaration. Can i use same ecatt to create a sales order having multiple line items.
    Thanks in advace
    anil

    Hi Anilkumar,
    I don't think you can use same TCD script for single line item and multiple line item. The reason behind is the line items are part of recording. And their positions get recorded. So data has to match with run time behavior of transaction.
    In SAPGUI recording, record VA01 transaction for multiple line items first. And see whether you get different dynpro for each line item. If so, then you can make them Optional. Now this script can run for both multiple line item as well as single item provided one dynpro for each line item.
    Find the following weblog for SAPGUI recording and making screens optional -
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    /people/sapna.modi/blog/2006/04/18/ecatt-chaining-parameterization-creation-of-test-datatest-configuration-system-data-part-iv
    But my personal experience says not to play much with the recorded scripts in the given scenario. If you can record two different scripts for the different line items, your life will be simpler.
    Hope this helps.
    PS If the answer solves your query, plz close the thread by marking it Solved and rewarding each reply.

  • Ecatt multiple line items

    Hi Gurus,
    i am creating ecatt with TCD recording. My requirement is if i record a sales order with one line item can i use the same ecatt for multiple line items.
    for example if i create a test script z_va01 in this i record a sales order having one line item. For this i created test data and configaration. Can i use same ecatt to create a sales order having multiple line items.
    Thanks in advace
    anil

    Hi guys,
    I know it has been a long time since this thread was opened, but I'm facing with the same problem.
    I created the sales order with SAPGUI REC, and added a loop for line item creation and schedule line creation.
    *LINE ITEM NUMBER
    DO ( V_LNIT_NO ).
         SAPGUI ( VA02_2010_STEP_2 ). --> Adding line item
         V_LI_ROW = V_LI_ROW + 1.
    ENDDO.
    And i amended the line item selection Guielement ID - (Changes are in bold)
    'wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\02/ssubSUBSCREEN_BODY:SAPLJ3AD:2930/ssubSUBITEM_L2:SAPMJ3AS:2001/tblSAPMJ3ASTCTRL_LINE_ENTRY/ctxtJ_3ASZDI-MATNR[3,<!V_LI_ROW!>]'
    so that the loop will make the line item selection to the next line.
    My requirement is to upload the data through a excel file, so I created a test configuration with the relevant variables. But the data from the excel line wont populate the loop data, it only repeats the data from the same line over and over again.
    How can I fix this? Please help.
    Ps - I have tried to make the the MATNR_D to a table by adding [], --> MATNR_D[] - Table. And it becomes a <INITIAL>, and by clicking on the value column cell, it goes in to parameter I_MATNR (I defined this)
    and you can add Parameter 1, 2,  3 etc and within the parameter you can add table-line. I read that this is the solution but, the variable is not recorded on the excel sheet as a column. Please help

  • Billing for multiple lines

    Hi Dear SD experts,i have sales order with multiple lines,each line has different item category, all of them are  order-related billing,then i did billing,but i found that those lines not in one billing document,instead,there are 2 billing document generated.i guess the reason is different copy control for item category.
    my question is how to include all lines in one billing document? although different copy control  in each line.

    Hello,
    First, check which item categories are copied in one billing. When you are creating billing document, definately you are getting some log 9not error). Check log where system tells why they are splitting. You are right, it is because of copying requirement maintaine at item category level in copy control. Based on log information, if you want to club all, take confirmation from business and then write some custome routine so that system and maintain in copy control.
    Regards,
    Mukul

  • How to send XML via HTTPS in Servlet

    I am new to Java. I need to make a servlet which can send a message via HTTPS with a content type of XML to another web server when it is called. each msg is proceeded with a header in the following format:
    requestID=rid&userID=uid&password=mypd
    and a detail information in XML:
    <S_Request>
    <requestControllID>1-rf200</requestControlID>
    <zipCode>99012</zipCode>
    <orderQuantity>35</orderQuantity>
    </S_Request>
    I have basic idea of how to send an http post with parameter string by using the Redirect function but don't know how to deal with the XML detail. Any one has idea about this? Any help will be greatly appreciated!

    This is what I did for one of my projects;
    String myXML = "all the xml tags and fields";
    URL url = new URL("https://www.somesite.com");
    HttpsURLConnection connection = (HttpURLConnection) url.openConnection();
    connection.setDoOutput(true);
    OutputStream outXML = connection.getOutputStream();
    outXML.write(myXML.getBytes());
    I think you can add the requestID and all to the begining of the string myXML
    Good luck
    Rajesh

  • Using Select all to create multiple lines in a sales order

    Hello SAP experts,
    In our business practice users create multiple line sales orders with reference to contracts and use the copy paste method and then assign each line to the contract manually.
    After a few years of this practice i found a new way to create multiple lines but it doesn't quite work correctly. When you have created the first line of an order if you click on the select all button the system will ask you how many lines do you want to copy. I don't know if this is standard SAP but 3 things don't happen when we use this 1) The schedule line information is blank 2) conditions do not copy from the contract even though the contract has been referenced. 3) Since there is no schedule line information the order fails when saving and we get a update terminated message.
    I am having problems finding any documentation around this function so any help with this would be greatly appreciated.
    error when updating is
    Transaction..   VA01
    Update key...   4D358878A8B601AAE10080000A2C4982
    Generated....   28.01.2011, 13:47:23
    Completed....   28.01.2011, 13:47:23
    Error Info...   00 671: ABAP/4 processor: GETWA_NOT_ASSIGNED

    GETWA_NOT_ASSIGNED
    Many threads are there on this error message and you would come to know if you google with this text.  Check couple of threads where  the same topic was discussed
    [Re: GETWA_NOT_ASSIGNED|Re: GETWA_NOT_ASSIGNED;
    [Re: GETWA_NOT_ASSIGNED ABAP Dump|GETWA_NOT_ASSIGNED ABAP Dump;
    Also there are some 20 OSS notes on this error message and you can have a look at the following notes:-
    1)   Note 913679 - VA01: Short Dump GETWA_NOT_ASSIGNED on click of quantity.
    2)   Note 591955 - ABAP runtime error GETWA_NOT_ASSIGNED
    3)   Note 870670 - SD_SALES_DOCU_MAINTAIN_DIALOG termination with GETWA_NOT_***
    4)   Note 141314 - VA02: Dump with 'GETWA_NOT_ASSIGNED'
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Uploading flah file to server

    I am really new to this flash site building. This is my first site that i have created and now i am wanting to post it to the webserver. I have ftp into my webserver and have dragged my .swf file over to the directory. My site still does not show whe

  • SETUP tables steps required

    <Moderator Message: Please search before posting. You can find a lot of information related to this issue searching the forums, the blogs and of course the online help.> Hi friends, I want do purchase extraction using LO cockpit extraction before doi

  • Stack Java with Adobe document Service

    Good Mornig, sorry for my English, but I have one question: which file '.rar' should I use to install (and I Can download) Stack Java and Adobe Document Service ? Thank you 1000!!! Francesco.

  • IOS 4.1 issues

    Hi all I have been trying to update to 4.1 from 4.0.1 for 2 days now but i can't get it to work. First I tried through iTunes via donload and update (but the download fails saying server connection was reset right at the end every single time). So I

  • Can't remove old password

    My daughter just recently purchased a Curve 8130 off ebay.  Everything works great except the pervious owners email password in locking my daughter out from changing it to her own password.  Her carrier is Sprint, and they said there is no way to rem