Query in IDOC.................Urgent

Hi Friends,
Sometime back i had post a query for the same in BAPI,i got the BAPI,but i feel if i ll get the respective IDOC for the same than i ll me more close to solve my prob.
so send me an IDOC for Planned Investment and Expenditure.
Plz help me on this.
Thanks a lot in Advance
mrutyun^

hi Mrutyunjaya,
try using BAPI_FIXEDASSET_CREATE1.
You will get lot of information about asset in business object ‘BUS1022’.
regards,

Similar Messages

  • Query in IDOC To JDBC Scenario

    hi all
    below is my scenario :
    As soon as vendor is  created/ updated at R/3 , the IDoc is triggered via. change pointer , and is send to XI. XI will create / update the corresponding vendor in   Oracle database at the pther side.
    My question is  , at Xi how will I come to know that the incoming vendor i have to insert in Oracle or update in oracle., as from XI i have to fire a query isert / update
    thanks
    Sheetal

    Hi ;
    Use UPDATE_INSERT as action .
    action=UPDATE_INSERT
    The statement has the same format as for the UPDATE action. Initially, the same action is executed as for UPDATE. If no update to the database table can be made for this action (the condition does not apply to any table entry), values of the table described in the <access> element are inserted in accordance with the description of the action INSERT. <key> elements are ignored in this case.
    The response document has the following format; one of the two values is always 0 because either an UPDATE or an INSERT action is always executed:
    <update_count>count</update_count>
    <insert_count>count</insert_count>
    Mudit

  • Query Tuning-very Urgent

    Beloq query is taking time to execute and cost is 934.
    The db in which it is run has lesser volume of data compared to that of prod.
    There is a full table scan on psd
    inspite of a pk present on table psd columns (psd_id,psd_serial_no)
    also a pk present on table ltc_iss_rec columns(ltc_iss_rec_id,psd_serial_num)
    Pl help to optimize the query.
    select a.psd_id,a.psd_serial_no,a.sys_id,a.cosmos_ref_no,a.src_sys_asgn_ref_no,
    a.bank_id,b.lc_expr_dt
    from psd a,ltc_iss_rec b
    where ((b.ltc_iss_rec_id >= 'T200203140731163') and (b.ltc_iss_rec_id <= 'T200606224485207'))
    and a.psd_id = b.ltc_iss_rec_id
    and a.psd_serial_no = b.psd_serial_num
    and a.psd_typ_cod = 'ISS'
    and b.lc_expr_dt <= '13-Mar-07'
    and a.psd_serial_no =
    select nvl(max(link_psd_ser_no),'000') from psd_link c,psd_lcs d
    where c.psd_id = d.psd_id
    and c.psd_serial_no = d.psd_serial_num
    and c.link_psd_id = a.psd_id
    and c.link_psd_id >= 'T200203140731163' and c.link_psd_id <= 'T200606224485207'
    and d.update_serial_num = (
    select max(update_serial_num) from psd_lcs e
    where e.psd_id = d.psd_id
    order by a.psd_id
    Explain plan for the query :
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=CHOOSE          1           934                     
    SORT ORDER BY          1      96      900                     
    FILTER                                        
    NESTED LOOPS          1      96      898                     
    PARTITION RANGE ALL                                   1     2
    TABLE ACCESS FULL     IWH_OWNER.PSD     61      4 K     837                1     2
    TABLE ACCESS BY GLOBAL INDEX ROWID     IWH_OWNER.LTC_ISS_REC     1      26      1                1     1
    INDEX UNIQUE SCAN     IWH_OWNER.XPKLTC_ISS_REC     1                               
    SORT AGGREGATE          1      112                          
    HASH JOIN          1      112      34                     
    TABLE ACCESS BY GLOBAL INDEX ROWID     IWH_OWNER.PSD_LCS     1      40      2                ROWID     ROW L
    NESTED LOOPS          1      82      5                     
    TABLE ACCESS BY GLOBAL INDEX ROWID     IWH_OWNER.PSD_LINK     1      42      3                ROWID     ROW L
    INDEX RANGE SCAN     IWH_OWNER.XIE1PSD_LINK     1           2                     
    INDEX RANGE SCAN     IWH_OWNER.XIE1PSD_LCS     2           1                     
    VIEW     SYS.VW_SQ_1     134 K     3 M     26                     
    SORT GROUP BY          134 K     4 M     26                     
    INDEX FULL SCAN     IWH_OWNER.XIE1PSD_LCS     217 K     7 M     26

    Read this link.
    When your query takes too long ...
    If you really need help from any of the forum members then you should avoid using the word "urgent" and give more useful information (check the above link what I meant by useful information) rather than simply saying it's very urgent please help me. It's of no use to anybody.
    Regards
    Raj

  • Urgent Sql Query Problem - -Very Urgent

    Hi Guys,
    I need a urgent solution for a problem.I am
    using the following query
    select ename from emp where deptno =10
    Now I will declare a bind variable and if user passes 'A'
    then the query will run as it is and if he passes B
    then it should run the above query with this additional clause -> birthdate - hiredate >15.
    Please can any one help its very urgent

    Assuming that you have a birthdate column in your emp table, the following will do what you are asking for:
    VARIABLE bind_var VARCHAR2(1)
    EXECUTE :bind_var := '&bind_variable'
    SELECT ename FROM
    (SELECT 'A' AS selection, ename FROM emp WHERE deptno = 10
    UNION ALL
    SELECT 'B' AS selection, ename FROM emp WHERE deptno = 10 AND birthdate - hiredate > 15)
    WHERE selection = :bind_var
    However, the clause "birthdate - hiredate > 15" will only retrieve rows for employees who were born more than 15 days after they were hired. I doubt that this is what you really want, since this is impossible.

  • Query on Idoc Packaging with PI7.1 EHP1

    HI PI Experts,
    I have a scenario where batch run triggers the 100's of Idocs in R3 in few milli seconds, which means all Idocs are triggered in one go From R3.
    Do we still need to set Check box for Collect Idocs in Partner Profile in R3 for Idoc Packaging ?
    I want to make out the difference in 2 configs for Idoc Packaging where
    A)  All Idocs are sent via Report run of RSEOUT00 at a go after collection.
    B) All Idocs are triggered at same time via Batch Run at same time.
    Assumption:
    PI is configured to use Sender Idoc Adapter with Idoc Package Size of 10.
    OR
    I frame my Query in other way"
    What does Collect Idoc and running Report RSEOUT00 achieve to make sure that Multiple IDOC Nodes come into 1 XML message? OR Its only PI Sender Idoc Adpater take care of it when multiple Idocs of same type comes through PI?
    Please reply .
    Regards,
    Anurag

    Hi Anurag,
    In the sender IDOC adapter if the packaging option is not activated, then the IDoc packages get split into single PI messages, one PI message per IDoc. IDoc sender functionality is enhanced to preserve and process IDoc packages without splitting the IDoc package into individual PI messages. I.e. single PI message contains multiple IDocs including control records. Where as running the report RSEOUT00 will just send all the IDOCs that are in waiting state to their respective destinations.
    For the sender IDoc adapter to be able to process packages, it should receive the IDocs in a group. I.e. in the sender partner profile the packaging option has to be activated. Though you've activated the packaging option in the sender partner profile, If you dont check collect option in sendet IDOC adapter then the IDOCs get splitted into individual PI messages.
    Regards,
    Priyanka

  • Not able to find query in sq01.Urgent!!!!!!!!

    Hi all,
    I am trying to search a query AQL4CUST_SERVICECONTRACTINFO==.
    In sq01, in user group cust_service i can find a query name of contractinfo but the report name assign to it is AQFKCUST_SERVICECONTRACTINFO==.but I am searching for AQL4CUST_SERVICECONTRACTINFO==.
    can anybody please help me. its really urgent.

    Hi anyone plz............
    Its ugent.
    Reagards,
    Ruchika Saini

  • Report select options similar to Query output options : Urgent !!!!!

    Hi All,
    I have developed a custom report . The output options of this report needs to be included in Selection screen like in SQ01 queries, there should be option to output the report results in different formats like List Viewer, ABAP List, Spread Sheet etc.,. 
    If some variant is selected then user will select whatever the format he want .
    the output should display in that format .
    How I can acomodate all these options to output a report .
    How can I do this ..Pls help me its Urgent !!!!
    Points for Sure !!!
    Regards,
    Varma

    Hi,
       Try this code,
       at user-command.
       case sy-ucomm.
       when 'disp'.
       write:.......   "abap list
       when 'buton1'
        call function 'reuse_alv_list_display'.
         endcase.
    i hope it gives ur answer
    Reward if it helps.

  • Error  while  processing  Idoc - Urgent!

    Hi all,
    I am getting the following error while processing the IDOC :
    "Application Document not posted "
    Status = 51
    Error Details :
    " V51VP - item was not found - process cancelled ".
    Any ideas, what's wrong?
    Please Help.
    Regards,

    Hi,
    U might be not passing any item value to idoc which might be necessary...wat u can do is
    goto WE19 TCODE,give the error idoc number and press execute button,now in the next screen CLICK ON INBOUND FUNCTION MODULE in the application tool bar,now give the FM NAME which triggers teh idoc,check the check box IN DEBUG MODE and radio button IN FOREGROUND....Now it will take to inside of the FM ,now debug and see where it caught the error..
    Regards,
    Nagaraj

  • Problem about extended IDOC(urgent)

    Hi experts,
    i have idoctype,extended idoc,and one include.. i need modify that according to the requirement.. here i will give the idoctype and extended idoc type and include program .. please help me where exactly i need to do the change and what are the steps required for the requirement..
    Exact Requirement: Modify the program which populates the idoctype invoice02 and extension zinvoice02 , if netvalue is zero(vbrp-netwr = 0) then populate the idoc segment E1EDP01.E1EDP26 , BETRG WITH QUALF = # 011' WITH ZERO VALUE. curently segment is not populated.
    Please help me in this and explain the steps required for this.
    idoctype:invoice02
    extended idoc:zinvoice02
    include:ZXEDFU02
                                   Here i am giving the include program
    CASE dobject-kschl.
      WHEN 'ZGRI' OR 'ZGDF' OR 'ZGRN' OR 'ZGAE'.
        t_int_edidd[] = int_edidd[].
        t_xtvbdpr[] = xtvbdpr[].
        ta_xvbdkr = xvbdkr.
        CASE int_edidd-segnam.
          WHEN 'E1EDK01'.
            ta_e1edk01 = int_edidd-sdata.
            PERFORM get_shipment_data.
            PERFORM get_route_data.
            int_edidd[] = t_int_edidd[].
          WHEN 'E1EDP01'.
    Update segment E1EDP01
    1. Update field E1EDP01-PSTYP
    2. Accumulated net weight & quantity of batch split items against
    E1EDP01 segment of the main invoice item.
            ta_e1edp01 = int_edidd-sdata.
            i_tabix = sy-tabix.
            CLEAR: ta_e1edp02.                                  "DIAG01+
            PERFORM update_segment_e1edp01.
            MOVE ta_e1edp01 TO t_int_edidd-sdata.
            MODIFY t_int_edidd INDEX i_tabix TRANSPORTING sdata.
    Populate segment Z1EDP08
    Fields: ZZDESPACTY_A, ZZACTYUOM
            PERFORM validate_segment USING control_record_out-idoctp
                                      control_record_out-cimtyp
                                      'Z1EDP08'
                                CHANGING n_subrc.
            CHECK n_subrc EQ 0.
            PERFORM calc_invoice_item_zzdespacty_a.             "DIAG02+
            int_edidd[] = t_int_edidd[].                        "DIAG02+
          WHEN 'E1EDP02'.                                       "DIAG01+
            IF int_edidd-sdata(3) = '016'.                      "DIAG01+
              ta_e1edp02 = int_edidd-sdata.                     "DIAG01+
            ENDIF.                                              "DIAG01+
          WHEN 'E1EDP19'.
    Populate segment Z1EDL24
    Fields: Material Characteristics or Material Class '001'.
            PERFORM validate_segment USING control_record_out-idoctp
                                     control_record_out-cimtyp
                                     'Z1EDL24'
                                     CHANGING n_subrc.
            IF n_subrc EQ 0.
              ta_e1edp19 = int_edidd-sdata.
              CASE ta_e1edp19-qualf.
                WHEN '002'.
                  PERFORM get_mat_characteristic USING ta_e1edp19-idtnr.
                  PERFORM fill_segment_z1edl24.
                  int_edidd[] = t_int_edidd[].
                WHEN OTHERS.
              ENDCASE.
            ENDIF.
          WHEN 'E1EDP26'.
    Populate segment E1EDP26
    Fields: BETRG
            i_tabix = sy-tabix.
            ta_e1edp26 = int_edidd-sdata.
           IF ta_e1edp26-qualf = '001'. "Gross Price which is always present
              PERFORM fill_segment_e1edp26.
              int_edidd[] = t_int_edidd[].
            ENDIF.
          WHEN 'E1EDP08'.
    Populate Segment Z1EDL37                                             *
    Fields: Bespoke fields from Handling Unit (VEKP)
            PERFORM validate_segment USING control_record_out-idoctp
                                      control_record_out-cimtyp
                                      'Z1EDL37'
                                CHANGING n_subrc.
            CHECK n_subrc EQ 0.
            ta_e1edp08 = int_edidd-sdata.
            PERFORM fill_segment_z1edl37.
    Populate Segment Z1EDP08                                             *
    Fields: Total Despatch Activity                                      *
           PERFORM validate_segment USING control_record_out-idoctp
                                     control_record_out-cimtyp
                                     'Z1EDP08'
                               CHANGING n_subrc.
           CHECK n_subrc EQ 0.
           PERFORM calc_invoice_item_acty_total.
            int_edidd[] = t_int_edidd[].
          WHEN OTHERS.
        ENDCASE.
      WHEN 'ZGDW'.
    Line above added line below removed - Assyst 73789
    WHEN 'ZGIN'.
        t_int_edidd[] = int_edidd[].
        t_xtvbdpr[] = xtvbdpr[].
        ta_xvbdkr = xvbdkr.
        CASE int_edidd-segnam.
    Start SU02
          WHEN 'E1EDK01'.
            ta_e1edk01 = int_edidd-sdata.
            i_tabix = sy-tabix.
    Get the conversion factor
            PERFORM modify_exchange_rate.
            MOVE ta_e1edk01 TO t_int_edidd-sdata.
            MODIFY t_int_edidd INDEX i_tabix TRANSPORTING sdata.
            int_edidd[] = t_int_edidd[].
    End SU02
    *************************************************************SAM01 START
          WHEN 'E1EDP02'.
    Populate segment Z1EDP02
    Fields: Reason code for sales order
            ta_e1edp02 = int_edidd-sdata.
            CASE ta_e1edp02-qualf.
              WHEN '002'.
                PERFORM fill_segment_z1edp02.
                PERFORM append_int_edidd TABLES t_int_edidd
                                         USING  'Z1EDP02'
                                                ta_z1edp02.
                int_edidd[] = t_int_edidd[].
              WHEN OTHERS.
            ENDCASE.
    ***************************************************************SAM01 END
        ENDCASE.
    Start of JvdM01
      WHEN 'ZGII'.                                              "JvdM01
        t_int_edidd[] = int_edidd[].
        t_xtvbdpr[] = xtvbdpr[].
        ta_xvbdkr = xvbdkr.
        CASE int_edidd-segnam.
          WHEN 'E1EDK01'.
    Populate segment Z1EDKSH and Z1REM_STE_CDE
    Fields: Shipment Number for Invoice
            Reason code for sales order
            ta_e1edk01 = int_edidd-sdata.
            PERFORM fill_segment_z1edksh_ds.
            PERFORM append_int_edidd TABLES t_int_edidd
                                     USING 'Z1EDKSH'
                                            ta_z1edksh.
            PERFORM fill_segment_z1rem_ste_cde.
            PERFORM append_int_edidd TABLES t_int_edidd
                                     USING  'Z1REM_STE_CDE'
                                            ta_z1rem_ste_cde.
            int_edidd[] = t_int_edidd[].
          WHEN 'E1EDKA1'.
    Populate segment Z1EDKA1
    Fields: Customer Account Group
            ta_e1edka1 = int_edidd-sdata.
            CASE ta_e1edka1-parvw.
              WHEN 'RE'.   "Bill To Party
                PERFORM fill_segment_z1edka1.
                PERFORM append_int_edidd TABLES t_int_edidd
                                         USING 'Z1EDKA1'
                                                ta_Z1EDKA1.
                int_edidd[] = t_int_edidd[].
            ENDCASE.
          WHEN 'E1EDP01'.
    Read segment E1EDP01 for use later                  "JVDM02
            ta_e1edp01 = int_edidd-sdata.
          WHEN 'E1EDP02'.
    Populate segment Z1EDP02
    Fields: Reason code for sales order
            ta_e1edp02 = int_edidd-sdata.
            CASE ta_e1edp02-qualf.
              WHEN '002'.
                PERFORM fill_segment_z1edp02.
                PERFORM append_int_edidd TABLES t_int_edidd
                                         USING  'Z1EDP02'
                                                ta_z1edp02.
                int_edidd[] = t_int_edidd[].
              WHEN OTHERS.
            ENDCASE.
          WHEN 'E1EDP19'.
    Populate segment Z1EDL24 and Z1EDP01                  "JVDM02
    Fields: Pack Size Activity for Material
            Total Activity for Invoice Item
            ta_e1edp19 = int_edidd-sdata.
            CASE ta_e1edp19-qualf.
              WHEN '002'.
                PERFORM fill_segm_z1edl24_and_z1edp01.
                PERFORM append_int_edidd TABLES t_int_edidd
                                         USING  'Z1EDL24'
                                                ta_z1edl24.
                PERFORM append_int_edidd TABLES t_int_edidd
                                         USING  'Z1EDP01'
                                                ta_z1edp01.
                int_edidd[] = t_int_edidd[].
              WHEN OTHERS.
            ENDCASE.
        ENDCASE.
    End JvdM01
    ENDCASE.
    Start SU02 Code Comment for implementing IR 340
    **mpc01 - start of insert
    start assyst 73789
    *IF dobject-kschl = 'ZGDW'."amersham invoices
    **IF dobject-kschl = 'ZGIN'."amersham invoices
    end assyst 73789
    CASE int_edidd-segnam.
      for the organisation data header
       WHEN 'E1EDK14'.
         MOVE int_edidd-sdata TO ta_e2edk14.
        where is qualifying organisation = 003 (delivering company code).
         IF ta_e2edk14-qualf = '003' AND ta_e2edk14-orgid NE space.
           SELECT SINGLE waers
             INTO t001-waers
             FROM t001
            WHERE bukrs = ta_e2edk14-orgid.
           IF sy-subrc = 0.
             t_int_edidd[] = int_edidd[].
            get the billing date for the invoice
             LOOP AT t_int_edidd WHERE segnam = 'E1EDK02'.
               MOVE t_int_edidd-sdata TO ta_e1edk02.
               IF ta_e1edk02-qualf = '009'."billing date
                 w_fkdat = ta_e1edk02-datum.
                 EXIT.
               ENDIF.
             ENDLOOP.
            if no invoice date use current date
             IF w_fkdat IS INITIAL.
               w_fkdat = sy-datum.
             ENDIF.
            change the general document header
             LOOP AT t_int_edidd WHERE segnam = 'E1EDK01'.
               i_tabix = sy-tabix.
               MOVE t_int_edidd-sdata TO ta_e1edk01.
              set the field to the default currency code for the company
               ta_e1edk01-hwaer = t001-waers.
              if the default value equals the idoc currency then exit
               IF t001-waers = ta_e1edk01-curcy.
                 EXIT.
               ENDIF.
              get the exchange rates
               SELECT *
                 INTO TABLE t_tcurr
                 FROM tcurr
                WHERE kurst = 'NYB1'                 " SU01
                 WHERE KURST = 'GEBU'                 " SU01
                  AND fcurr = ta_e1edk01-curcy
                  AND tcurr = t001-waers.
               IF sy-subrc NE 0."no values found
                error the idoc
                 MESSAGE e400(vf) WITH c_exchange_rate_error
                         RAISING error_message_received.
                 EXIT.
               ENDIF.
               LOOP AT t_tcurr.
                convert to date from inverted date to normal date format.
                 CALL FUNCTION 'CONVERSION_EXIT_INVDT_OUTPUT'
                      EXPORTING
                           input  = t_tcurr-gdatu
                      IMPORTING
                           output = w_datum.
                 CONCATENATE w_datum+6(4)
                             w_datum+3(2)
                             w_datum(2)
                        INTO t_tcurr-datum.
                 MODIFY t_tcurr.
               ENDLOOP.
              sort the exchange rates with the newest first.
               SORT t_tcurr BY datum DESCENDING.
              read the first value in the table ie the newest.
               LOOP AT t_tcurr WHERE datum <= w_fkdat.
                 EXIT.
               ENDLOOP.
               IF sy-subrc NE 0."no values found
                error the idoc
                 MESSAGE e400(vf) WITH c_exchange_rate_error
                         RAISING error_message_received.
                 EXIT.
               ENDIF.
    Start SU01
    Get the Exchange rate from the function module and populate
    E1EDK01 TABLE
               w_fcurr = ta_e1edk01-curcy.
               call function 'CONVERT_TO_LOCAL_CURRENCY'
                    exporting
                         date             = w_fkdat
                         foreign_amount   = '0'
                         foreign_currency = w_fcurr
                         local_currency   = t001-waers
                         type_of_rate     = 'GEBU'
                    importing
                         exchange_rate    = t_tcurr-ukurs
                    exceptions
                         no_rate_found    = 1
                         overflow         = 2
                         no_factors_found = 3
                         no_spread_found  = 4
                         derived_2_times  = 5
                         others           = 6.
    End SU01
               ta_e1edk01-wkurs = t_tcurr-ukurs.
              change the header data in segment
               MOVE ta_e1edk01 TO t_int_edidd-sdata.
              update the current idoc segment
               MODIFY t_int_edidd INDEX i_tabix TRANSPORTING sdata.
               EXIT.
             ENDLOOP.
            update all of the idoc segments
             int_edidd[] = t_int_edidd[].
           ENDIF.
         ENDIF.
    ENDCASE.
    *ENDIF.
    **mpc01 - end of insert
    End SU02 Code Comment for implementing IR 340

    Hi Venu,
      Try with this code.
      If vbrp-netwr = 0.
    <b>  WHEN 'E1EDP26.
      CASE ta_e1edp26-qualf.
    ta_e1edp26 = int_edidd-sdata.
    WHEN '011'.
    PERFORM append_int_edidd TABLES t_int_edidd
    USING 'e1edp26'
    ta_e1edp26.
    int_edidd[] = t_int_edidd[].
    ENDCASE.</b>
    ENDIF.
    Thanks
    Manju.

  • HELP NEEDED IN FORMING A QUERY...URGENT.....

    Hi,
    I have a table where in that an employee has multiple rows,
    in that i need to query a particular column values, and need to display
    in one column separated any special charactar like ":". I need this query.
    ex:
    EmpID in_time
    1900 9:00:00
    1900 9:45:00
    1900 10:50:00
    Here i want to display this as
    EmpID time
    1900 9:00;9:45;10:50;
    Please give me your valuable contributions...

    create table user644354(empid number(4),in_time varchar2(8));
    insert into user644354 values(1900,'9:00:00');
    insert into user644354 values(1900,'9:45:00');
    insert into user644354 values(1900,'10:50:00');
    commit;
    select substr(max(SYS_CONNECT_BY_PATH(In_Time, ', ')),2) In_Time FROM
    (SELECT in_time,ROWNUM NBR FROM (SELECT In_time FROM user644354 e where empid=1900))
    CONNECT BY PRIOR NBR = NBR - 1 START WITH NBR = 1
    Regards
    Girish Sharma

  • Query Regarding IDOC  "WMMBID02"

    Hi,
    I have a follwoing requirement that makes use of a standart IDOC WMMBID02. This IDOC WMMBID02 has data stored within into different segments that have structures. I need to read that data and store it into an INTERNAL Table.
    Is there any specific SAP Function Module that would help me to obtain such requirement. If not, what are the options that could be used to read data from IDOC WMMBID02 and populate our INTERNAL Table.
    Kindly Suggests,
    Thanks & Regards,
    Rajesh

    Rajesh,
    Either you can use the function IDOC_TYPE_COMPLETE_READ
    Or use the code as below.
    SELECT * from EDID4 into t_idoc_data where docnum = ???
    data : wa_E1MBXYH type E1MBXYH,
    wa_E1MBXYI type E1MBXYI,
    wa_E1MBXYJ type E1MBXYJ
    loop at t_idoc_data into wa_idoc_data.
    case segnam.
    when 'E1MBXYH'.
    move wa_idoc_data-data into wa_E1MBXYH.
    when 'E1MBXYI'.
    move wa_idoc_data-data into wa_E1MBXYI.
    when 'E1MBXYJ'.
    move wa_idoc_data-data into wa_E1MBXYJ.
    endcase.
    move corresponding fields of wa_E1MBXYH into wa_itab.
    move corresponding fields of wa_E1MBXYI into wa_itab.
    move corresponding fields of wa_E1MBXYJ into wa_itab.
    append wa_itab to itab.
    Clear all the work areas here
    endloop.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • EDI Mapping to ORDERS IDOC - urgent

    Hi All,
    My scenario is creation of sales orders in R/3 using inbound EDI messages.
    Source is the Seeburger external definition(ORDERSV9)(Copied object into my name space) and the target message is the orders IDOC(R/3)(imported).
    my question is: we have many segments and the feilds in the target message(IDOC). how will in know which feilds from source message are mapped to the correct feild in correct segment of the target message.
    Please clarify as I'm stuck in Mapping?
    Cheers,
    Smith

    Hi Liang,
    I know the structure, feilds and the data in the feilds of the EDI structure. I just need to know to which target feilds in IDOC the respective source feilds are mapped to?
    In target IDOC structure we have nearly 100 feilds and i'm not sure which feilds are to be mapped to create a sales order in R/3.
    Fucntional consultants couldnt help much and are not completely aware where the data is posted in the sales order from the feilds in the idoc structure.
    I'm waiting for any EDI experts to respond. Will see
    Cheers,
    Smith

  • Error in sending Idoc ::  Urgent

    HI
    we are trying to send Idoc DELINS and ORDERS to SUS system. when sending the idoc the following error occurs in SUS
    StandaredMessageFault
    An error occured within XI interface: An exception with the type CX_GDT_CONVERSION occured but was neithered handled locally nor declared in a RAISING clause Program: SAPLBBP_BD_MAPPING_SAPXML1; Include : ; Line
    How ever the same works fine in Dev and QAS servers
    Regards,
    Anand

    Hi
    <u>Please provide SRM-SUS and XI Version details.</u>
    <b>Please go through the SAP OSS Notes, which will help -></b>
    Note 782755 - Control indicator is not transferred from MM to SUS
    <u>Related Notes</u>
    Note 1062864 - Control indicator is not transferred from MM to SUS
    Note 313925 - Example exit for EDI outbound processing (e.g. purchase order
    <b>Other OSS Notes -></b>
    Note 885825 XML inbound: Dump in QuoteItemReferenceVersionID
    Note 825169 XML: Bid currency in bid invitation
    Note 819953 SRM 4.0 of SAP XML output of partner address data
    Note 723680 Corrections in the mapping of SAP XML messages
    Note 723594 - SRM 4.0 XML confirmation mapping error
    Do let me know.
    Regards
    - Atul

  • Query on IDOC Ack (STATUS) config in XI for a specific partner comm.

    Hi Experts,
    Is it possible to configure the IDOC Ack (STATUS.SYSTAT01 message) in XI for a specific partner communication? We want to configure our system like ALEAUD but the message type should be STATUS.SYSTAT01 and the acknowledgment should be send to sender system for a specific partner only if XI receives any IDOC like (Orders) from that specific partner. For other partners (same sender system) we donu2019t want this acknowledgment settings and configuration. If possible please provide the configuration filters steps etc. Thanks for your valuable inputs in advance.
    Thanks,
    Satish
    Edited by: Satish Jaiswal on Jan 8, 2009 2:55 AM

    Hi Husain,
    I have the document you have mentioned. Please note my requirement is to filter the Ack while creating and sending to R/3 based on Partner and Message type. The document provides info only on Message type filter but not parner specific for same sender system!!! Any help appreciated. Also note: BPM and Alert is out of scope.
    Looking for  some ALE configuration tricks to achieve this.
    Thanks
    satish
    Edited by: Satish Jaiswal on Jan 9, 2009 2:40 AM

  • Query Issue(Very Urgent)

    Hi,
         I have issue with select statement to pull the records from two tables. Here I have two tables one is with Billing Document Items and Service Order Operations.
    I have service order as unique field in both tables, When I execute select statement with one service order I got 10 records like
    S Ord Oper                           Billing Document Items
    Oper    Repair Code                 Item    Oper    Repair Code
    10        AD01                           1         10        AD01
    20        AD01                           2         20        AD01  
    30        OT01                           3         10        AD01
    40        RE01                           4         20        AD01
    50        RP01                           5         20        AD01
                                                   6        20         AD01
                                                    7        30         OT01
                                                    8        40         RE01  
                                                    9        50         RP01
                                                   10      50         RP01
                 This are the records with same Service order number, and my select statement giving data like
    O/P
    Service Order =  60001212
    OPER    ITEM    REPAIR TYPE
    10         1           AD01
    20         1           AD01
    10         2           AD01
    20         2           AD01
    10         3           AD01
    20         3           AD01
    10         4           AD01
    20         4           AD01
    10         5           AD01
    20         5           AD01
    10         6           AD01
    20         6           AD01
    30         7           OT01
    40         8           RE01
    50         9           RP01
    50         10         RP01
    But I need output like this
    Item  Oper                   Rep Code
    1      10                      AD01
    2      20                      AD01
    3      10                      AD01
    4      20                      AD01
    5      20                      AD01
    6      20                      AD01
    7      30                      AD01
    8      40                      RE01
    9      50                      RP01
    10    50                      RP01
             Please give me the select statement which gives the above output. I need very urgent please....
    Thanks
    Robbie

    hi robert,
    The ouput u want is just a little away from the one u r actually getting. it is the two fields OPER and ITEM interchangeably..
    U just have to use GROUP BY ITEM..........if u want the desired output with ITEM as first field.
    <group-by-clause> &#8594; GROUP BY [<column-ref>,*]<column-ref>
    if it helps please reward points.
    thanks

Maybe you are looking for

  • Error in Creating a WebI Report on SAP Source using Rich client in BOxi 3.1

    Hi I tried to create a webi report using rich client on sap source. I get a error message " A Database error occured. the Database text is 'unable to connect to SAP BW server name and password is incorrect(repeat logon) (WIS 10901) . SAP Integration

  • .swf won't play from webserver

    Someone hijacked my last post, so here it is again. http://www.milkmoonkids.com There is a brown square that has a .swf loaded into it. It plays locally, but not when I upload it to my webserver. Any idea what is going on? I appreciate any advice. Th

  • IPhone 4 From Hongkong?

    Hello, Currently am at Chengdu,CHINA,How can i get an iPhone 4 HongKong Version ,in chengdu many are offering iPHone 4 at high price..can any one help me regarding this...

  • Scheduling - Min. queue time & work center / reduction

    Hello, I have a small issue with scheduling of production order. I have maintained in a work center with Std. queue time = 15 days and Min. queue time = 7 days. Means less then 7 days it should be not reduced and by enough time it should be calculate

  • Cisco ISE feeding policy

    Hi all, I changed something in the profile for windows 8 on Cisco ISE. then i configured Cisco ISE to dynamically update the feeding policies. but when the update is done. I receive the below message Feed Version 1 policies downloaded. Total number o