SalesOrder creation IDOC

Hi Gurus,
     Can you please provide IDOC type to create sales order . I have checked with orderise01 to 05 but it couldn't match the fields,Can any body provide correct Idoc type?
Thank you,
Usha.G

Hi Usha,
Check out ORDERS0<n>, where <n> between 1 and 5 (don't think there's a higher version than 5, but didn't check). This works fine for creating sales orders.
Cheers, harald

Similar Messages

  • Re:PO creation idoc

    HI,
    here we are using Process code : ME10 for PO creation Idoc. my problem is "idoc is not generated automatically", if we enter values manually idoc will gwt genarated.
    message control and partner profile every thing is correct,in the output condition records we have metioned immediate processing (4).
    regards

    thanks for valubul inputs

  • Planned order creation IDOC

    Hi Experts,
    i've a requirement where i need to develop a custom IDOC for Planned order creation. is there any standard IDOC for Planned order creation and if it is there then provide me the complete details like IDOC name, message type name, posting and selection program names etc.
    if i need to create a custom idoc then wht is the procedure for it.
    Regards
    Faisal

    Hi Abdul,
    You can use the below details for achieving the below requirement:-
    Message Type :- LOIPLO
    Basic Type      :- LOIPLO01
    You need not create any custom IDOC type as we are having a standard IDOC type available within SAP, but you need to write a custom function module to read the data from the IDOC segments and then call the below BAPI to post the Planned Order.
    Check the input parameters of BAPI and gothrough the documentation of the Basic Type in WE60 transactions, whether all the necessary input parameters of the BAPI are covered in the standard IDOC type, if not then we need to customize the standard basic type to meet the requirements.
    Bapi which needs to be used is BAPI_PLANNEDORDER_CREATE.
    I think all these inputs will solve your purpose.
    Thanks,
    Mahesh.

  • Bapi-salesorder creation error in  creating document

    hai friends..
      iam doing creation of sales order using bapi .-structures..
      but error in creating doucment ....
    can u send me some example .. abt sales order .creation ..
    once u check my code ...
    DATA: BEGIN OF HEADER OCCURS 0,
           VBELN LIKE BAPIVBELN-VBELN,
           AUART LIKE VBAK-AUART,
           VKORG LIKE VBAK-VKORG,
           VTWEG LIKE VBAK-VTWEG ,
           SPART LIKE VBAK-SPART,
           VKBUR LIKE VBAK-VKBUR,
           KUNNR LIKE BAPIPARNR-PARTN_NUMB ,"vbak-kunnr,
        END OF HEADER.
    DATA: BEGIN OF ITEM OCCURS 0,
           VBELN LIKE BAPIVBELN-VBELN,
           POSNR LIKE BAPISDITM-ITM_NUMBER ,"vbap-posnr,
           MATNR LIKE VBAP-MATNR,
          NETWR LIKE VBAP-NETWR,
           KWMENGE LIKE VBAP-KWMENG,
          WERKS LIKE VBAP-WERKS,
          NETPR LIKE VBAP-NETPR,
       END OF ITEM.
    DATA:  ORDER_HEADER_IN LIKE BAPISDHD1,
           ORDER_HEADER_INX LIKE BAPISDHD1X.
    DATA: ITAB_HEAD likE order_header_in,
          ITAB_HEADX likE ORDER_HEADER_INX.
    DATA: ITAB_ITEM  TYPE STANDARD TABLE OF  BAPISDITM WITH HEADER LINE,
          ITAB_ITEMX TYPE STANDARD TABLE OF  BAPISDITMX WITH HEADER LINE.
    DATA: KUST TYPE STANDARD TABLE OF  BAPIPARNR WITH HEADER LINE,
           RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA: VNO  LIKE BAPIVBELN-VBELN,
          VCNT LIKE VBAP-POSNR.
    LOOP AT HEADER.
        VCNT = 10.
        CLEAR ITAB_HEAD.
       ORDER_HEADER_IN-REFOBJTYPE = 'OR'.
       ORDER_HEADER_IN-REFOBJKEY = 'OR'.
       ORDER_HEADER_IN-REFDOCTYPE = 'OR'.
       ORDER_HEADER_IN-DOC_TYPE = HEADER-AUART.
        ITAB_HEAD-DOC_TYPE = HEADER-AUART.
        ITAB_HEAD-SALES_ORG = HEADER-VKORG.
        ITAB_HEAD-DISTR_CHAN = HEADER-VTWEG.
        ITAB_HEAD-DIVISION = HEADER-SPART.
        ITAB_HEAD-SALES_OFF = HEADER-VKBUR.
        KUST-PARTN_NUMB = HEADER-KUNNR.
         ITAB_HEADX-DOC_TYPE = 'X'.
         ITAB_HEADX-SALES_ORG = 'X'.
        ITAB_HEADX-DISTR_CHAN = 'X'.
        ITAB_HEADX-DIVISION = 'X'.
        ITAB_HEADX-SALES_OFF = 'X'.
        LOOP AT ITEM WHERE VBELN = HEADER-VBELN.
          REFRESH RETURN.
          ITAB_ITEM-ITM_NUMBER = VCNT.
          ITAB_ITEM-MATERIAL = ITEM-MATNR.
          ITAB_ITEM-NET_WEIGHT = ITEM-KWMENGE.
          APPEND ITAB_ITEM.
          ITAB_ITEMX-ITM_NUMBER = VCNT.
          ITAB_ITEMX-MATERIAL = 'X'.
          ITAB_ITEMX-NET_WEIGHT = 'X'.
          APPEND ITAB_ITEMX.
          VCNT  = VCNT + 10 .
        ENDLOOP.
        CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
          EXPORTING
        SALESDOCUMENTIN               = SALESORDER
            ORDER_HEADER_IN              = ITAB_HEAD
         ORDER_HEADER_INX              = ITAB_HEADX
        SENDER                        =
        BINARY_RELATIONSHIPTYPE       =
        INT_NUMBER_ASSIGNMENT         =
        BEHAVE_WHEN_ERROR             =
        LOGIC_SWITCH                  =
        TESTRUN                       =
        CONVERT                       = ' '
         IMPORTING
           SALESDOCUMENT                 = VNO
          TABLES
           RETURN                        = RETURN
           ORDER_ITEMS_IN                = ITAB_ITEM
           ORDER_ITEMS_INX               = ITAB_ITEMX
            ORDER_PARTNERS                = KUST.
       CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              WAIT          = 'X'.
             IMPORTING
               RETURN        = RETURN.
    LOOP AT return WHERE type = 'E' OR type = 'A'.
    EXIT.
    ENDLOOP.
    IF sy-subrc = 0.
    WRITE: / 'Error in creating document'.
    ELSE.
    COMMIT WORK AND WAIT.
    ENDIF.
        WRITE: / '   Sales Order NO  IS: ', VNO.
        WRITE: / SPACE.
        CLEAR VNO.
        WRITE SY-ULINE.
      ENDLOOP.
    my HEader  is    123    OR  1000 30 10 SATYA.
    ITem  2  IS     123   10  HAI   15
    once u check it ......

    Hi Satya,
    just check this
    REPORT  Z_STANDARD_SALES_ORDER no standard page heading.
    DATA DECLARATION
    CONSTANTS : C_X VALUE 'X'.
    Structures to hold Sales order header data
    DATA : HEADER LIKE BAPISDHD1," OCCURS 0 WITH HEADER LINE,
           HEADERX LIKE BAPISDHD1X." OCCURS 0 WITH HEADER LINE.
    Internal Tables to hold Sales order ITEM DATA
    DATA : ITEM LIKE BAPISDITM OCCURS 0 WITH HEADER LINE,
           ITEMX LIKE BAPISDITMX OCCURS 0 WITH HEADER LINE.
    Internal Tables to hold Partners ITEM DATA
    DATA : PART LIKE BAPIPARNR OCCURS 0 WITH HEADER LINE.
    Internal Tables to hold Partners SCHEDULE DATA
    DATA: SCHEDULE LIKE BAPISCHDL OCCURS 0 WITH HEADER LINE,
          SCHEDULEX LIKE BAPISCHDLX OCCURS 0 WITH HEADER LINE.
    Internal table to hold messages from BAPI call
    DATA: RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA  W_MSG(150).
    *DATA: begin of wa_MESSAGE,
         message(150),
         end of wa_message.
    *DATA: itab_msg like table of wa_message with header line.
    Data: Begin of Record occurs 0,
          Control type i,
          DOC_TYPE like HEADER-DOC_TYPE,
          SALES_ORG like HEADER-SALES_ORG,
          DISTR_CHAN like HEADER-SALES_ORG,
          DIVISION like HEADER-DIVISION,
          PURCH_NO_C like HEADER-PURCH_NO_C,
          PARTN_NUMB like PART-PARTN_NUMB ,
          PARTN_ROLE like PART-PARTN_ROLE ,
          ITM_NUMBER like ITEM-ITM_NUMBER,
          MATERIAL like ITEM-MATERIAL,
         TARGET_QTY like item-TARGET_QTY,
          REQ_QTY LIKE BAPISCHDL-REQ_QTY,
          TARGET_QU like item-TARGET_QU,
          PLANT like ITEM-PLANT,
          PMNTTRMS like header-PMNTTRMS,
          End of record.
    data: itab like ALSMEX_TABLINE occurs 0,
          wa like ALSMEX_TABLINE.
    data: SO like BAPIVBELN-VBELN.
    Selection Screen
    selection-screen begin of block b1 with frame title text-001.
    PARAMETERS: P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
    selection-screen end of block b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      PERFORM GET_FILE USING P_FILE.
    Start of Selection
    start-of-selection.
      DATA: xl type string.
      xl = '*.xls'.
      IF not P_FILE CP xl.
        Message 'Wrong input file format' type 'E'.
      ENDIF.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                      = P_FILE
          I_BEGIN_COL                   = 1
          I_BEGIN_ROW                   = 1
          I_END_COL                     = 13
          I_END_ROW                     = 3000
        TABLES
          INTERN                        = itab
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    DATA POPULATION
      loop at itab into wa.
        if wa-col = '0001'.
          record-Control = wa-value.
        elseif wa-col = '0002'.
          record-DOC_TYPE = wa-value.
        elseif wa-col = '0003'.
          record-SALES_ORG = wa-value.
        elseif wa-col = '0004'.
          record-DISTR_CHAN = wa-value.
        elseif wa-col = '0005'.
          record-DIVISION = wa-value.
        elseif wa-col = '0006'.
          record-PURCH_NO_C = wa-value.
        elseif wa-col = '0007'.
          record-PARTN_NUMB = wa-value.
        elseif wa-col = '0008'.
          record-PARTN_ROLE = wa-value.
        elseif wa-col = '0009'.
          record-PMNTTRMS = wa-value.
        elseif wa-col = '0010'.
          record-ITM_NUMBER = wa-value.
        elseif wa-col = '0011'.
          record-MATERIAL = wa-value.
        elseif wa-col = '0012'.
          record-REQ_QTY = wa-value.
        elseif wa-col = '0013'.
          record-TARGET_QU = wa-value.
        elseif wa-col = '0014'.
          record-PLANT = wa-value.
        endif.
        AT END OF row.
          APPEND record.
          CLEAR: wa, record.
        ENDAT.
      endloop.
      DATA: tot_lines type i,
            tot_po type i,
            index type i.
      describe table record lines tot_lines.
      read table record index tot_lines.
      tot_po = record-control.
      DO tot_po times.
        index = index + 1.
        clear: HEADER,HEADERX,ITEM[],ITEMX[],RETURN,RETURN[],SCHEDULE[],SCHEDULEX[], PART[],PART.
        refresh: ITEM[],ITEMX[],RETURN[],SCHEDULE[],SCHEDULEX[],PART[] .
    POPULATE HEADER FLAG.
        HEADERX-UPDATEFLAG = c_x.
        HEADERX-doc_type = c_x.
        HEADERX-SALES_ORG = c_x.
        HEADERX-DISTR_CHAN = c_x.
        HEADERX-DIVISION = c_x.
        HEADERX-PURCH_NO_C = c_X.
        HEADERX-PMNTTRMS = c_X.
        loop at record where control = index.
    POPULATE HEADER DATA FOR PO
          HEADER-DOC_TYPE = record-DOC_TYPE.
          HEADER-SALES_ORG = record-SALES_ORG.
          HEADER-DISTR_CHAN = record-DISTR_CHAN.
          HEADER-DIVISION = record-DIVISION.
          HEADER-PURCH_NO_C = record-PURCH_NO_C.
          HEADER-PMNTTRMS = record-PMNTTRMS.
    *POPULATE ITEM DATA.
          ITEM-ITM_NUMBER = record-ITM_NUMBER.
          ITEM-MATERIAL = record-material.
         ITEM-TARGET_QTY = record-TARGET_QTY.
          ITEM-TARGET_QU = record-TARGET_QU.
          ITEM-PLANT  = record-PLANT .
          APPEND ITEM.
    *POPULATE ITEM FLAG TABLE
          ITEMX-ITM_NUMBER = record-ITM_NUMBER.
          ITEMX-UPDATEFLAG = C_X.
         ITEMX-TARGET_QTY = C_X.
          ITEMX-PLANT = C_X .
          ITEMX-MATERIAL = C_X .
          ITEMX-TARGET_QU = C_X .
          APPEND ITEMX.
    *POPULATE SCHEDULE  TABLE
          SCHEDULE-ITM_NUMBER = RECORD-ITM_NUMBER.
          SCHEDULE-REQ_QTY = RECORD-REQ_QTY.
          APPEND SCHEDULE.
    *POPULATE SCHEDULE  TABLE
          SCHEDULEX-ITM_NUMBER = RECORD-ITM_NUMBER.
          SCHEDULEX-REQ_QTY = C_X.
          APPEND SCHEDULEX.
        endloop.
    *POPULATE PARTNER  TABLE
        PART-PARTN_NUMB = record-PARTN_NUMB.
        PART-PARTN_ROLE = record-PARTN_ROLE.
        APPEND PART.
    *BAPI CALL
        CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
              EXPORTING
               ORDER_HEADER_IN               = HEADER
               ORDER_HEADER_INX              = HEADERX
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       =
      INT_NUMBER_ASSIGNMENT         =
      BEHAVE_WHEN_ERROR             =
      LOGIC_SWITCH                  =
      TESTRUN                       =
      CONVERT                       = ' '
              IMPORTING
               SALESDOCUMENT                 = SO
              TABLES
               RETURN                        = RETURN
               ORDER_ITEMS_IN                = ITEM
               ORDER_ITEMS_INX               = ITEMX
               ORDER_PARTNERS                = PART
               ORDER_SCHEDULES_IN            = SCHEDULE
               ORDER_SCHEDULES_INX           = SCHEDULEX
      ORDER_CONDITIONS_IN           =
      ORDER_CONDITIONS_INX          =
      ORDER_CFGS_REF                =
      ORDER_CFGS_INST               =
      ORDER_CFGS_PART_OF            =
      ORDER_CFGS_VALUE              =
      ORDER_CFGS_BLOB               =
      ORDER_CFGS_VK                 =
      ORDER_CFGS_REFINST            =
      ORDER_CCARD                   =
      ORDER_TEXT                    =
      ORDER_KEYS                    =
      EXTENSIONIN                   =
      PARTNERADDRESSES              =
        loop at return where type = 'E' and ID NE 'MEPO' and ID NE 'BAPI'.
          WRITE:/ Return-message.
        endloop.
    *Confirm the document creation by calling database COMMIT
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            WAIT = 'X'.
    *Messages
        loop at return where type = 'S' and number ne '233'.
         WRITE:/ Return-message.
          CALL FUNCTION 'FORMAT_MESSAGE'
            EXPORTING
              ID        = return-ID
              LANG      = SY-LANGU
              NO        = return-NUMBER
            IMPORTING
              MSG       = W_MSG
            EXCEPTIONS
              NOT_FOUND = 1
              OTHERS    = 2.
          WRITE W_MSG.
         itab_msg-message = w_msg.
         append itab_msg.
          clear: W_MSG.
        ENDLOOP.
      enddo.
         -->P_W_FILE  text
    FORM GET_FILE  USING    P_W_FILE.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        CHANGING
          FILE_NAME     = P_W_FILE
        EXCEPTIONS
          MASK_TOO_LONG = 1
          OTHERS        = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.     "GET_FILE
    Regards,
    Sachin

  • Salesorder Creation Using ALE

    Hi,
    I am a new to the ALE scenario.
    In the current project, whenever a Purchase Order is created, a coresspponding sales order is automatically generated using ALE. My questions are:
    1) Is an Idoc generated in this scenario to create the sales order?
    2) If yes, then from where can I get the message type, idoc type and the function module used, if the Idoc has already been archived.
    3) If the salesorder is created without an Idoc (in this ALE scenario) then how can I find out which program is being used to create the sales order.
    Any help would be greatly appreciated.
    Thanks in advance.
    Mick

    hi,
    http://****************/Tutorials/ALE/ALEMainPage.htm
    dis is the link where u can find d solution to ur problem,if u find it useful .
    regards,
    ric.s

  • Salesorder creation using jco

    hi,
    i am trying to create a salesorder in r/3 from website using jco. can any one tell me the sites where i can get the stuff regarding this.
    thanking u in advance.
    regards,
    mounika.

    hi,
    You need to call the BAPI - BAPI_SALESORDER_CREATEFROMDAT2
    Here is a simple example...
    import com.sap.mw.jco.*;
    public class Bapi1 extends Object{
      JCO.Client mConnection;
      JCO.Repository mRepository;
      public Bapi1(){
        try{
           mConnection = JCO.createClient(client,userid,password,
    lang,host,system no );
           mConnection.connect();
           mRepository = new JCO.Repository("MyRepos", mConnection);
        }catch(Exception ex){
           ex.printStackTrace();
           System.exit(1);
        JCO.Function function = null;
        JCO.Table codes = null;
        try{
          function = this.createFunction("BAPI_SALESORDER_CREATEFROMDAT2");
          if (function == null){
            System.out.println("BAPI_SALESORDER_CREATEFROMDAT2" + "not found in SAP");
            System.exit(1);
    //here you need to pass the paramters also.........
    //pass all the parameters needed for the creation of the sales order in JCO.Structure.
          mConnection.execute(function);
          JCO.Structure returnStructure = function.getExportParameterList().getStructure("RETURN");
          if (!(returnStructure.getString("TYPE").equals("")||
                returnStructure.getString("TYPE").equals("S"))){
            System.out.println(returnStructure.getString("MESSAGE"));
            System.exit(1);
        }catch(Exception ex){
          ex.printStackTrace();
          System.exit(1);
        mConnection.disconnect();
      public JCO.Function createFunction(String name) throws Exception{
        try{
          IFunctionTemplate ft = mRepository.getFunctionTemplate(name.toUpperCase());
          if (ft == null)
            return null;
            return ft.getFunction();
        }catch(Exception ex){
          throw new Exception("Probelm retrieving JCO.Fucntion object");
      public static void main(String agrs[]){
          Bapi1 app = new Bapi1();
    Hope you will find it useful
    Regards,
    Richa.

  • LSMW Upload SalesOrder Creation:problem in assigning Partner type SH and SP

    Hi
    I'm trying to upload sales order creation data using LSMW -BAPI Method
    Business Object : BUS2032
    Method : CREATEFROMDAT2
    Message type : SALESORDER_CREATEFROMDAT2
    Basic Type : SALESORDER_CREATEFROMDAT202
    and I'm passing the following header data
    Sales Order Type, Sales organisation, Distribution Channel, Division, Sold To Party, Ship To party,
    Purchase order number, PO Date, Requested delivery date, Order Reason, Payment terms, Incoterms part1, Incoterms part2, Document Currency.
    and the following item data
    MATERIAL NUMBER
    Order quantity
    Storage Location
    Item Category
    Item Usage
    Reason for Rejection
    Plant
    Net Weight
    Gross Weight
    Condition Type
    Amount
    Internal Order Number
    I'm assigning the header data to structure <b>E1BPSDHD1</b>
    and Item data to <b>E1BPSDITM,E1BPSDITM1</b>
    and Partner data to structure <b>E1BPPARNR</b>.
    When I am assigning Partner data to the structure E1BPPARNR, I want to assign both <b>sold-to-party</b> and <b>ship-to-party</b> ,(because I have two source fields of this type) but there is only target field related to the partner data , here I am assigning <b>partner type as SP</b> and <b>partner number as sold-to-party</b>, still there is an unassigned field ship-to-party, for this field I am unable to find a relevant target field so please help me how can I assing These two flat file fields <b>(sold-to-party,ship-to-party)</b>
    Looking for further more information : if there is many sold-to-party's and many ship-to-party's how can I go that in this situation i.e maintaining  Many to Many relationship using LSMW tool
    Thanks in advance
    regards
    Rajasekhar

    Here is what you have to do.
    In field mapping, double click on the field PARTN_NUMB (or any field of that structure) in change mode. This opens up the code editor. There just enter the following code. I am assuming you are doing only these fields. But if you are mapping more fields of this structure, you have to map them here.
    E1BPPARNR-PARTN_NUMB = ORDERHEADER-KUNAG.
    E1BPPARNR-PARTN_ROLE = 'AG'.
    E1BPPARNR-ITM_NUMBER = '000000'.
    *-- add more field mappings here, if needed
    TRANSFER_RECORD.   
    *-- Now pass the Ship-to record          
    E1BPPARNR-PARTN_NUMB = ORDERHEADER-KUNWE.
    E1BPPARNR-PARTN_ROLE = 'WE'.
    E1BPPARNR-ITM_NUMBER = '000000'.
    *-- Add more partners if needed by copying the above code.
    Remember, you need to do TRANSFER_RECORD only that many times as you have the partners. There will be one 'TRANSFER_RECORD' at the end of this structure, so keep that in mind.
    Srinivas

  • Source system creation IDoc error

    Dear Experts,
    While creating the source system I am getting this error "IDoc type ZSDD029 could not be found", if I ignore this error the system creates source system in BI folder instead of making it in SAP folder. I have created IDoc with this name and next time when I create new source system the IDoc type move to ZSDD030, and keep on adding it and gave me this error. Any Idea
    Regards,
    ray

    Hello,
    Can you try the following:
    1) Tcode WE30: The type ZSDD029 must exist in BW system.
    If it does not exist, create it as a copy of type RSSEND.
    2) Afterwards, enter the following in the view maintenance of view
    EDIMSG (tcode SM30):
    Message type RSSEND, IdocType as specified above, Release
    corresponding to the release you are currently using.
    3) Please make sure your entries for RSBASIDOC are identical in BW.
    Regards,
    Shashank

  • ProgramID creation/IDOC monitor

    Hi
    I have done  scenario BAPI-XI-IDOC using XSLT mapping.
    I'm calling BAPI on same server(R/3) and posting  IDOC on same(R/3) .
    1. but unable to find any mesages in SXMB_MONI and MessageMonitor in RWB?
    2. I dint find any IDOC adapter running in component monitor? I'm able to see other adapters expect IDOC and HTTP..why?
    3. I thought ProgramID may be wrong with here, thats the reason i couldn't see any request message in sxmb_moni.?
    4. For this i have created two Businesssystems as thirdparty for sending and receiving, Is it right?
    5. I dint create sender aggrement! is it right?
    6. for this i'm trying to configure in SXMB_ADM as RUNTIME for LOGGING_SYNC to 1, but i couln't see Value 1.
    Hope i'm clear about my queries, please give me reply when you get time.. note down right now i'm working with XI3.0SP9 evalution version.
    Thank you ,
    regards..rambarki

    hi,
    >>>2. I dint find any IDOC adapter running in component monitor? I'm able to see other adapters expect IDOC and HTTP..why?
    not all adapter are visible in the adapter monitor
    (only those which are on java stack)
    >>>>3. I thought ProgramID may be wrong with here, thats the reason i couldn't see any request message in sxmb_moni.?
    yes test the rfc dest in SM59 - does it work?
    do you have any messages in SM58 on your R3 system?
    >>>>4. For this i have created two Businesssystems as thirdparty for sending and receiving, Is it right?
    use just one (the one from your R3)
    >>>>5. I dint create sender aggrement! is it right?
    no, you need sender agreement for RFC
    (use the configuration wizzard to configure ID)
    Regards,
    michal

  • Check tax classification Customer creation (IDOC)

    Hi all,
    I am a beginner in SAP Abap and i need some help to resolve my IDOC problem.
    I want to generate Customer migration. my segments for the IDOC are filled. I use the IDOC_INBOUND_WRITE_TO_DB to create my IDOCs. Also for some customers, an error occur with status 51 saying : Check tax classification; maintenance is incomplete.
    Or in the E1KNVIM segment, the tax code is filled as follow :
      CLEAR ds_e1knvim.
      ds_e1knvim-msgfn = '009'.
      ds_e1knvim-tatyp = ds_tax-tatyp.
      ds_e1knvim-taxkd = ds_tax-taxkd.
    and in the we19 transaction, i have tried to launch it foreground
    with the tax code filled correctelly.
    but the batch-input don't fill the tax code case.
    But for some other customers, the tax code case is filled correctelly?
    Did i messid something ?
    Thanks for your answers.

    Hi Julius,
    Thnx for the reply.
    No I am not maintaining any tax related settings & all the fields in R/3 in XD01 are optional. Can you please elaborate further as to wht Tax settings are you speaking about???
    Many Thanx.
    SP

  • SalesOrder Creation

    Hi, experts,
         I want to create a sales order according to this data in ABSL.
    AccountID=1
    Shitp-ToID=1
    Description="Test1"             
    ExternalReference="123"     
    Item 1->   ProductID="1"                      
                   Quantity="2"                      
    Item 2->   ProductID="2";
                   Quantity="3";
         Can anybody help me please to create that SalesOrder?
    Regards,
    May T.
    Please refer to this link for more information.
    Re: New Instance Of Sales Order in ABSL 

    Hi, May T.
    Your first question is
    ( I can't find AccountID and Quantity path. So I can't assign them with my data.)
    I think AccountID is SalesOrder>>Party>>PartyKey>>PartyID.
    Quantity may be SalesOrder>>Item>>ItemProduct>>QuantityMeasureUnitCode.
    This is helpful for you.
    About your second question,
    (it is really hard to create an instance. The SalesOrder includes a lot of nodes and hard to understand (for me)).
    please try following some codes.
    var dataSaleOrderItem : elementsof SalesOrder.Item;   //for SalesOrder's Item
    var saveHeaderData;
    var saveItemData;
    var saveAccountData;
    //You must create SalesOrder Instance first.
    saveHeaderData = SalesOrder.Create();
    if(saveHeaderData.IsSet()) {
      //After SalesOrderRoot is created, you can input some values(fields like node[0,1]) because these fields already created too.
      saveHeaderData.Party.GetFirst().RoleCode = "1";
      saveHeaderData.Party.GetFirst().PartyKey.PartyID = "A_Test01";
      //Create your input values.
      saveAccountData = saveHeaderData.Party.Create();
      //And you can input fields like node[0,n] with some loop
      dataSaleOrderItem.ID = "10";
      //To Create SalesOrder Item
      saveItemData = saveHeaderData.Item.Create(dataSaleOrderItem);
      if(saveItemData.IsSet()) {
      saveItemData.ItemProduct.ProductKey.ProductID = "P_Test01";
      saveItemData.ItemProduct.QuantityMeasureUnitCode = "EA";
      //To Create SalesOrder Item Product
      saveItemData.ItemProduct.Create();
    I think this is helpful for you.
    Best Regard,
    Sue Chal.

  • Salesorder creation through webpage

    Dear SDN's,
    here i got the requirement where sales orders get automatically get created based on the input provided from front end i.e through webpage where Enduser enters the details such as CustomerName,Address,Material,QTYand salesorder number which we specify explicitly
    after clicking SAVE button in the webpage in the backend i.e SAP system should get updated.
    Help in this regards how to proceed further
    Regards
    jaipal reddy

    Please note that this forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
    SAP product support is done in SAP forums. Please reports to the correct forum.
    Ludek

  • Salesorder Creation Issue

    Hi,
        Iam creating sale order through function module using   BAPI_SALESORDER_CREATEFROMDAT2 , After creating salesorder  I checked that salesorder in VA03  and check ' incompletion log' the screen show   CONFIGURATION. What could be the reason Can any body help me.
    Regards

    Hi,
    Please find the bellow code which may help you in resolving the issue. may be you are missing some parameters code will help in checking them.
    <Garbled code removed by moderator>
    Regards,
    Goutam Kolluru.
    Edited by: goutam kolluru on Feb 6, 2012 5:43 AM
    Edited by: goutam kolluru on Feb 6, 2012 5:45 AM
    Edited by: Vinod Kumar on Feb 6, 2012 10:24 AM

  • Error while salesorder creation using bapi

    Hi  All
    while testing the bapi salesordercreatefromdat2 in se37 ,its working.
    but in reports i m passing same data with this bapi ,its not working.
    its showing error message like:sales document type OR is not defined.
    so where is the problem.

    Hi
    Check with the value of import parameter ORDER_HEADER_IN-DOC_TYPE you are passing to function module BAPI_SALESORDER_CREATEFROMDAT2.
    Regards
    Srilaxmi

  • Salesorder creation using BDC

    Hi All,
    I have a requirement as described below.
    while creating a sales order, if u go to header level and then partners tab in that, u would see a table like structure where u have sold-to-party, ship to party, bill to party, and payer.
    My requirement is that i need to select ship-to-party and press details button then i want to change the details there.everything is working fine at the moment.
    but i have a doubt that the order of ship to party, sold to party , payer and bill-to-party wouldnt be same all the time.now the ship-to-party is in 4th position.so, in BDC recording it is GVS_TC_DATA-SELKZ(04), i am setiing that to 'X' and iam going ahead.what if the position changes?
    is there anyway that i can trace the ship-to-party position whether it is in position 1 or 2 or 3 or 4.
    could some one help me with this.
    Thanks in advance,
    suresh

    Use the function module VIEW_KUAGV. Pass soldto details and document details being created in inport parameter comwa and pass shipto number in WE_INPUT and fif_no_dialog = 'X',no_address_data = 'X'.
    This gives the exact structure of how the partners will appear when you create a sales order in table xvbpa. You can find the positions of partners from the table.
    Award points if answer is helpfull.

Maybe you are looking for

  • Error in Phase START_SHDI_FIRST for Upgrade to ERP6 SR3

    Hi Folks We are performing a test upgrade 46C to ERP6 using the SR3 CDs and I'm stuck at the START_SHDI_FIRST stage. It's not the "usual" .acl problem. Here is an excerpt from the SAPup joblog. I also get the same result if I logon as <SID>OFR add th

  • How to install Windows XP on MacBookPro

    How do I install Windows XP on my MacBookPro? Do I have to buy Windows XP or can I use the cd that came with my PC which has XP on it? Do I just put the cd in and follow the instructions?

  • InDesign CS4 Splitting colors from EPS file

    I have CS4 and use illustrator to create logos, which I convert to eps files and place in InDesign.  When I place the eps file into InDesign, sometimes, it splits the color of the EPS file down the middle and creates a light side and a dark side.  So

  • Cabling Clarification - HDMI vs. component/optical

    Unfortunately, I'm out of HDMI ports to connect my AppleTV. If I understand it correctly, one of HDMI's advantages is the ability to send 1080p signals. I'm thinking that doesn't really matter because nothing broadcast through the AppleTV is of that

  • Row height

    hi, I'm new with java. I have a JTable with small rows I used the setRowHeigth method to change the heigth for my rows, but I don't know how to change the height of the header row need help