Regarding DataSource Extraction

Hi All
Actually I am using Datasource 2LIS_11_VAITM. As per the requirement i have add profit center in this structure, previously it was inactive status so i went to t-code LBWE and there i have drag and drop the profit center to this datasource, after that i have replicated this datasource to my BI system but the profit center part is not gatting update for my DSO when i am trying to create a transformation. So plz advise

Did you check my post where I given you the link which helps to unhide the field in Datasource ?
Goto ROOSFIELD - > enter ds -  and check the field selection for profit ctr should be selected as 'P' otherwise it won't avaible in DS  .. check below doc to change forcebily to make it available for selection
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c008cd97-ef00-2d10-d1ad-867b9c3f063c?quicklink=index&overridelayout=true

Similar Messages

  • Regarding Generic Extraction

    Hi Experts,
    I m new to SAP BW, I need a information regarding Generic Extraction as the senario is follows.
    I created a table with fields,
    Customer Id (PK), name, age ***, address
    and i maintained five records in it.
    i created a generic master data attributes data source using above table
    i replicated the data source in bw and run the full update and it is succussful.
    Now my requirement is to add 5 more records in the above table and i hav to get those records in bw using delta update.
    So, can any one can explain how to maintain delta for that generic datasource and how to run delta update in step-by-step process
    regards,
    Ramakrishna

    Check the PDF doc..on how to create generic delta..
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Check this doc for more
    http://www.ko-india.com/content/weblogs/generic_delta_explained.pdf
    Regards,
    R.Ravi
    Assigning Points is the way of saying Thanks in SDN!

  • Regarding CRM extraction.....

    Hi Gurus,
    I have few questions regarding CRM extraction.
    Q1: If we enhance a CRM transactional Datasource, do we have to write the ABAP logic in SE19 or CMOD or both?
    Q2: If we enhance a CRM MasterData Datasource, do we have to write the ABAP logic in SE19 or CMOD or both?
    Q3: What is the significance of the T-CODES BWA1, BWA5, BWA7 ?
    Q4: When do you implement the BADI CRM_BWA_MFLOW and when do we implement the BADI CRM_BWA_SFLOW and when do we implement both of them?
    Q5: What is the significance of the function module CRM_BADI_GET_BDOC? Is there any other function module which is used in CRM extraction that has to be implemented in coding?
    Please throw some light on my questions.
    Thanks
    Nice day
    Regards
    Sam

    HI,
    For Delta Extraction of CRM to BI pelase follwo the below steps
    Go to transaction GNRWB
    Select BUS_TRANS_MSG
    Select (on the right, the services): BWA_DELTA3, BWA_FILL, BWA_queue
    Press Generate.
    Also check for the following:
    1. The delta should have been initialized successfully.
    2. Confirm that all Bdocs of type BUS_TRANS_MSG
    are processed with success in SMW01.
    3. If there are queues in SMQ1 with erroneous status then activate
    these queues.
    In Transaction SMQ1 if there are Queues existing with
    names beginning with CRM_BWAn (n is number) then
    activate these queues in the same transaction.
    4.a)If required activate the datasource
    Go to transaction BWA5 > select the required datasource and
    activate.
    4 b) The Delta may not be active ,activate the delta in BWA7 by
    selecting the name of the datsource and pressing the candle icon for
    'activate delta'.
    5. In BW system
    Go to transaction RSA1 > modeling > infosources > select the
    info source > right mouse click on the selected
    infosource > choose option replicate datasource
    Activate the infosource.
    6. Go to the scheduler for the infosource > select delta in the
    update >choose the option PSA only (in the Processing tab)
    start immediately
    Check the entry in the RSA7 in the OLTP(CRM system)
    Hope It helps You.
    Regards,
    Nagaraju.V

  • Crm datasource  extract structure &communication structure

    hello all,
    how to find standard datasource extract structure in CRM.
    its very urgent.
    i will give full points.
    advance thanks to all.

    hi,
    check out the following link to know about the CRM BI Conetnt all(infocubes, datasource, roles)
    http://help.sap.com/saphelp_nw2004s/helpdata/en/04/47a46e4e81ab4281bfb3bbd14825ca/frameset.htm
    hope this help you
    regards
    harikrishna N

  • Regarding LO Extraction

    Hi All,
    This is regarding LO Extraction.
    The steps that I am following are first installation of Business Content InfoCube. Next identified the data sources in LBWG I deleted the data from setup tables for that particular application.
    In a broad way how to extract the deltas from now on.
    We will do the time setup in 0LI*BW. Next we set the time in Job Control and then again in BW side we can set the time in InfoPackage.
    What is the best practice to follow to extract deltas?
    I am having all the materials and Links regarding LO.
    But I am not clear on this point. Someone please guide me regarding this issue.
    Regards
    YJ

    Jayanth
    Check this sequence. Hope this helps. Also check these weblogs.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/21406 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Also refer this link:
    http://www.sap-img.com/business/lo-cockpit-step-by-step.htm
    Thnaks
    Sat
    LO EXTRACTION
    - Go to Transaction LBWE (LO Customizing Cockpit)
    1). Select Logistics Application
    SD Sales BW
    Extract Structures
    2). Select the desired Extract Structure and deactivate it first.
    3). Give the Transport Request number and continue
    4). Click on `Maintenance' to maintain such Extract Structure
    Select the fields of your choice and continue
    Maintain DataSource if needed
    5). Activate the extract structure
    6). Give the Transport Request number and continue
    - Next step is to Delete the setup tables
    7). Go to T-Code SBIW
    8). Select Business Information Warehouse
    i. Setting for Application-Specific Datasources
    ii. Logistics
    iii. Managing Extract Structures
    iv. Initialization
    v. Delete the content of Setup tables (T-Code LBWG)
    vi. Select the application (01 – Sales & Distribution) and Execute
    - Now, Fill the Setup tables
    9). Select Business Information Warehouse
    i. Setting for Application-Specific Datasources
    ii. Logistics
    iii. Managing Extract Structures
    iv. Initialization
    v. Filling the Setup tables
    vi. Application-Specific Setup of statistical data
    vii. SD Sales Orders – Perform Setup (T-Code OLI7BW)
    Specify a Run Name and time and Date (put future date)
    Execute
    - Check the data in Setup tables at RSA3
    - Replicate the DataSource
    Use of setup tables:
    You should fill the setup table in the R/3 system and extract the data to BW - the setup tables is in SBIW - after that you can do delta extractions by initialize the extractor.
    Full loads are always taken from the setup tables
    The Lo-cockpit procedure is go with LBWE Transaction
    so that you can get Applications 02,03,...etc
    Under that you have
    Extract structures
    select your data source here Be sure that First you InActive that Then go with LBWG "Delete setup data"
    here you can give the application No example 02(if your application is Purchages)
    then once again LBWE go with Maintanace Tab select your Fields then your Datasource is Active position then You have to Fill the Data
    go with OLI*BW for example if your application is Purchages then OLI3BW
    then go with Extractor Checker RSA3

  • Help Regarding Generic Extraction

    Hi Experts,
    I m new to SAP BW, I need a information regarding Generic Extraction as the senario is follows.
    I created a table with fields,
    Customer Id (PK), name, age ***, address
    and i maintained five records in it.
    i created a generic master data attributes data source using above table
    i replicated the data source in bw and run the full update and it is succussful.
    Now my requirement is to add 5 more records in the above table and i hav to get those records in bw using delta update.
    So, can any one can explain how to maintain delta for that generic datasource and how to run delta update in step-by-step process
    regards,
    Ramakrishna

    Hi Ramakrishna,
    For doing a delta on a generic extractor you will have to set up any one of the following type of the field as delta attribute and on the basis of this delta records will be extracted.
    - Time Stamp
    - Calendar day
    - Numerical Pointer (i.e. Document Number)
    You can monitor your delta queue via RSA7 transaction.
    Also For delta you will have to do Init load first.
    Hope that helps.
    Regards.

  • F1 , F2 datasource extraction methods

    Hi all,
    I'm new to BI
    Can anyone please explain me the different datasource extraction methods ( like F1, F2... ) and tell me its significance.
    I read some threads which tells the difference  about the simple and complete interface.
    I'm not getting a clear picture on it.
    Is there any article available on this topic.
    Thanks.

    Hi Jay,
    See if these links help explain?
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3d/5fb13cd0500255e10000000a114084/frameset.htm
    /people/sap.user72/blog/2005/09/05/sap-bw-and-business-content-datasources-in-pursuit-of-the-origins
    regards,
    Colin

  • OSS note regarding 0EC_PCA_3 extraction optimization

    hello Frnds,
    We are facing severe Data load issues with a load from 0EC_PCA_3 in production,
    Could any one suggest OSS note regarding 0EC_PCA_3 extraction optimization
    Thanks in Advance
    raky

    Rakesh
    Also check this for General BW related Performance issues
    Business Intelligence Performance Tuning [original link is broken]
    Thnaks
    Sat

  • 0hr_py_1 datasource extraction problem

    Friends,
    I am trying to extract data for 0hr_py_1 datasource and having issues.
    After activation, when i go in R3 to check in rsa3, it says 0 records.
    What i know is that HR extraction is simple and you just have to activate the datasource and replicate Metdata. I am not sure of any other steps...can anybody help. Are their any additional steps on R3 to be performed ????????

    Hi,
    Check if you are extracting in full mode in RSA3 and if you still don't get data, try to debug the extractor and see at which step it is not getting data.
    From this you will get to know which are the tables / FM involved in data selection.
    Regards,
    Durgesh.

  • Regarding datasource i'e., The OLTp source still has errors

    Hi experts,
    I was getting an error while creating datasource i.e, "The OLTP source still has errors".
    Last 2 days onwards i was getting this error. Previously i have created many datasources.Eventhough i was gettign sam error
    while doing any changes in existing datasource. Kindly help me out in this issue.
    Regards,
    Sree.

    Anil,
    I will explain in detail.
    We want to do enhancement for datasources (transaction or Generic datasources...whatever it is).
    LBWQ or RSA7 question will not come here...ok....
    any time we can do enhancement by adding additional fields to the extract structure(appending..) of trans. or generic or masterdatasource.....
    In my case, If i add some fields to the extract structure(appended str.)in source system(r/3- datasource-2lis_13_vditm) and save it. immediatly we are getting message saying that 'OLTP SOURCE ERROR'...
    Is there any problems in source system/installation.
    Thanks,
    Mahantesh
    similarly, the same problem will come for all the datasources - enhancment.
    how do

  • Regarding LIS extraction

    Hi All,
    I have modelled the Infocube 0PUR_C05(Vendor Evaluation Data)
    The datasorce is 0MM_PUR_VE_01
    The steps I followed to load data is as follows:
    1. In R/3 Rsa5: Select Data Source and Click on Transfer Datasources.
    2. In RSA3 extracted data.
    3. Next in BW installed Business content objects, replicated datasources.
    4. Created Infopackage and schedulled the data.
    5. But I am unable to load data.
    6. The Qm status shows Yellow and after some 7 hours, it turns to Red.
    This is the complete error message under Status tab for that request:
    Sending packages from OLTP to BW lead to errors
    Diagnosis
    No IDocs could be sent to the SAP BW using RFC.
    System response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of the SAP BW.
    Further analysis:
    Check the TRFC log.
    You can get to this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Removing errors:
    If the TRFC is incorrect, check whether the source system is completely connected to the SAP BW. Check especially the authorizations of the background user in the source system.
    Does somebody have an idea about it.
    Regards,
    Ravi

    Hi Ravi,
            Please check the RFC connection between BW and R/3 by selects your source system and right click from context menu click on check. If is ok, then check weather Idoc conformation was happing or not at monitor- Details – Request. If it was not happening then reschedule it once again. Because some times Idoc conformation will not happened... Hope you are facing this problem only.
    Regards,
    Phani Raj Kallur

  • Regarding COPA extraction

    Hi All,
    We have created a datasource for COPA(Account Based), used generic InfoCube, replicated DataSources and created TR and UR.
    The data is available in R/3. But when we are checking the data in RSA3. Obviously, we are unable to extract the data to BW. Can anybody provide us with a solution for this situation.
    Regards
    YJ

    Hi PRK,
    First of all thank you for your interest.
    Let me explain you clearly:
    When I am extracting the data using Extractor Checker, first I am receiving the following error:
    'Make an entry into all the required fields'
    Next I entered the values for 'Controlling Area', 'Company Code' and 'Period/year'(I had entered the correct date format).
    Next I am receiving the following error:
    'Errors occured during extraction'
    I will be thankful for your help.
    Regards
    YJ

  • 0CO_PC_10 datasource extracting wrong values for company code

    Hi,
    I am extracting data from the datasource 0CO_PC_10  product cost analysis and found that Company code values are wrong in the extractor checker. Company code field is taking values of Plant.  For example:
    if  company code 6100  has got plants 6101  6102  6104,   ideallly all the rows should have company code value as 6100, instead
    it is taking 6101 6102 6104 which are nothing but plant values.  So in both columns I am getting same values.
    Is this behaviour  normal for this datasource?
    I have tried to check help.sap on this data source in the below link, it says company code value is extracted from AUFK table but it is not happened.
    http://help.sap.com/saphelp_tm70/helpdata/en/9d/c31a8cee714393b1c75eb3e8f32a64/frameset.htm
    Please suggest ideas to overcome this problem.
    Regards
    Sreekanth S

    Hi,
    Raise a SAP message there must be some problem with the Extraction logic use.
    Also, in the meantime you can try debugging the program used to extract the data.
    Regards,
    Rahul

  • Generic datasource - Extract delta by FM

    Hi,
    I used the FM RSAX_BIW_GET_DATA_SIMPLE as template to extract data from datasource.
    But this FM extarct full data.
    I need to extract delta by FM.
    Can you please send me a sample code that extract delta using timestamp?
    Thanks,
    Mohamad.

    Thank you Soumya for the reply.
    I need a sapmle code. That's mean a FM that extract from non sap table, by delta.
    Best Regards,
    Mohamad.

  • Regarding Datasource

    Hi,
       I have a question datasource is nothing but fields consist from a table.
       My requirement has the following has to get fields from 3 different tables., so at datasource how i have to write abap code
      for 3 tables of fields to have at datasource.
    Can anyone please guide me. I know how to check table names for fields at datasource by checking at RSA2 tcode.
    For the above one, can anybody share the solution.
                                   Thanks in advance.

    Hi,
    Here is code to create fuction module based on three tables:
    FUNCTION ZBI_GRNIREP.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_REQUNR) TYPE  SRSC_S_IF_SIMPLE-REQUNR
    *"     VALUE(I_DSOURCE) TYPE  SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *"     VALUE(I_MAXSIZE) TYPE  SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *"     VALUE(I_INITFLAG) TYPE  SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *"     VALUE(I_READ_ONLY) TYPE  SRSC_S_IF_SIMPLE-READONLY OPTIONAL
    *"     VALUE(I_REMOTE_CALL) TYPE  SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
    *"  TABLES
    *"      I_T_SELECT TYPE  SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
    *"      E_T_DATA STRUCTURE  ZBI_GRNIREP_ST OPTIONAL
    *"  EXCEPTIONS
    *"      ERROR_PASSED_TO_MESS_HANDLER
    *"      NO_MORE_DATA
      TYPES : BEGIN OF TYPE_BSIS,
                BUKRS TYPE BSIS-BUKRS,
                BELNR TYPE BSIS-BELNR,
                GJAHR TYPE BSIS-GJAHR,
                BUZEI TYPE BSIS-BUZEI,
                BUDAT TYPE BSIS-BUDAT,
                BLDAT TYPE BSIS-BLDAT,
              END OF TYPE_BSIS,
              BEGIN OF TYPE_BSEG,
                BUKRS TYPE BSEG-BUKRS,
                BELNR TYPE BSEG-BELNR,
                GJAHR TYPE BSEG-GJAHR,
                BUZEI TYPE BSEG-BUZEI,
                EBELN TYPE BSEG-EBELN,
                EBELP TYPE BSEG-EBELP,
                DMBTR TYPE BSEG-DMBTR,
                PSWSL TYPE BSEG-PSWSL,
                HKONT TYPE BSEG-HKONT,
                LIFNR TYPE BSEG-LIFNR,
                PRCTR TYPE BSEG-PRCTR,
                WERKS TYPE BSEG-WERKS,
                SHKZG TYPE BSEG-SHKZG,
              END OF TYPE_BSEG,
              BEGIN OF TYPE_EKKO,
                EBELN TYPE EKKO-EBELN,
                EKORG TYPE EKKO-EKORG,
                BUKRS TYPE EKPO-BUKRS,
                EKGRP TYPE EKKO-EKGRP,
                WAERS TYPE EKKO-WAERS,
                EBELP TYPE EKPO-EBELP,
                KNTTP TYPE EKPO-KNTTP,
              END OF TYPE_EKKO,
             BEGIN OF TYPE_OUT,
              EBELN TYPE BSEG-EBELN,
              EBELP TYPE BSEG-EBELP,
              LOAMT TYPE BSEG-DMBTR,
              PSWSL TYPE BSEG-PSWSL,
              GCAMT TYPE BSEG-DMBTR,
              WAERS TYPE EKKO-WAERS,
              BELNR TYPE BSEG-BELNR,
              BUZEI TYPE BSEG-BUZEI,
              HKONT TYPE BSEG-HKONT,
              LIFNR TYPE BSEG-LIFNR,
              BUDAT TYPE BSIS-BUDAT,
              BLDAT TYPE BSIS-BLDAT,
              BUKRS TYPE BSEG-BUKRS,
              PRCTR TYPE BSEG-PRCTR,
              WERKS TYPE BSEG-WERKS,
              EKORG TYPE EKKO-EKORG,
              EKGRP TYPE EKKO-EKGRP,
              KNTTP TYPE EKPO-KNTTP,
              SHKZG TYPE BSEG-SHKZG,
              GJAHR TYPE BSEG-GJAHR,
              FIYEV TYPE CHAR2,
             END OF TYPE_OUT.
      DATA :  IT_BSIS TYPE STANDARD TABLE OF TYPE_BSIS WITH HEADER LINE,
              IT_BSEG TYPE STANDARD TABLE OF TYPE_BSEG WITH HEADER LINE,
              IT_EKKO TYPE STANDARD TABLE OF TYPE_EKKO WITH HEADER LINE,
              IT_OUT  TYPE STANDARD TABLE OF TYPE_OUT  WITH HEADER LINE.
      DATA : W_INDEX LIKE SY-INDEX,
             FIYEV1 TYPE CHAR2.
      DATA: L_S_SELECT TYPE SRSC_S_SELECT.
    Maximum number of lines for DB table
      STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
    counter
              S_COUNTER_DATAPAKID LIKE SY-TABIX,
    cursor
              S_CURSOR TYPE CURSOR,
              B_CURSOR TYPE CURSOR,
              C_CURSOR TYPE CURSOR.
      RANGES: L_R_BUDAT FOR BSIS-BUDAT.
    IF I_INITFLAG = SBIWA_C_FLAG_ON.
    Initialization: check input parameters
                    buffer input parameters
                    prepare data selection
    Check DataSource validity
        CASE I_DSOURCE.
          WHEN 'ZBI_GRNIREP_EXT'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE E009(R3). ENDIF.
    this is a typical log call. Please write every error message like this
            LOG_WRITE 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      I_DSOURCE   "message variable 1
                      ' '.                 "message variable 2
            RAISE ERROR_PASSED_TO_MESS_HANDLER.
        ENDCASE.
    Fill parameter buffer for data extraction calls
        S_S_IF-REQUNR    = I_REQUNR.
        S_S_IF-DSOURCE = I_DSOURCE.
        S_S_IF-MAXSIZE   = I_MAXSIZE.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
    ELSE.
       IF S_COUNTER_DATAPAKID = 0.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'BUDAT'.
            MOVE-CORRESPONDING L_S_SELECT TO L_R_BUDAT.
            APPEND L_R_BUDAT.
          ENDLOOP.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
               OPEN CURSOR WITH HOLD S_CURSOR FOR
          SELECT BELNR
                 BUKRS
                 GJAHR
                 BUZEI
                 BUDAT
                 BLDAT
            FROM BSIS
           WHERE BUDAT IN L_R_BUDAT.
       ENDIF.
           FETCH NEXT CURSOR S_CURSOR
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE IT_BSIS
                   PACKAGE SIZE S_S_IF-MAXSIZE.
        IF SY-SUBRC <> 0.
          CLOSE CURSOR S_CURSOR.
          RAISE NO_MORE_DATA.
        ENDIF.
       IF NOT IT_BSIS[] IS INITIAL.
         SELECT EBELN
                EBELP
                DMBTR
                PSWSL
                BELNR
                GJAHR
                BUZEI
                HKONT
                LIFNR
                BUKRS
                PRCTR
                WERKS
                SHKZG
           FROM BSEG
           INTO CORRESPONDING FIELDS OF TABLE IT_BSEG
           FOR ALL ENTRIES IN IT_BSIS
               WHERE BELNR EQ IT_BSIS-BELNR
                 AND BUKRS EQ IT_BSIS-BUKRS
                 AND GJAHR EQ IT_BSIS-GJAHR
                 AND BUZEI EQ IT_BSIS-BUZEI.
         ENDIF.
         IF NOT IT_BSEG[] IS INITIAL.
                 SELECT EKKO~EBELN
                   EKKO~EKORG
                   EKPO~BUKRS
                   EKKO~EKGRP
                   EKKO~WAERS
                   EKPO~EBELP
                   EKPO~KNTTP
              FROM EKKO
        INNER JOIN EKPO ON EKKOEBELN = EKPOEBELN
        INTO CORRESPONDING FIELDS OF TABLE IT_EKKO
        FOR ALL ENTRIES IN IT_BSEG
             WHERE EKKO~EBELN EQ IT_BSEG-EBELN
               AND EKPO~EBELP EQ IT_BSEG-EBELP.
        ENDIF.
      DELETE IT_BSEG WHERE EBELN IS INITIAL.
      SORT IT_BSIS BY BUKRS BELNR GJAHR BUZEI.
      SORT IT_BSEG BY BUKRS BELNR GJAHR BUZEI.
      SORT IT_EKKO BY EBELN EBELP.
      LOOP AT IT_BSIS.
      LOOP AT IT_BSEG FROM W_INDEX.
       IF IT_BSIS-BUKRS NE IT_BSEG-BUKRS OR
          IT_BSIS-BELNR NE IT_BSEG-BELNR OR
          IT_BSIS-GJAHR NE IT_BSEG-GJAHR OR
          IT_BSIS-BUZEI NE IT_BSEG-BUZEI.
        W_INDEX = SY-TABIX.
        EXIT.
        ENDIF.
            READ TABLE IT_EKKO
                   WITH KEY EBELN = IT_BSEG-EBELN
                            EBELP = IT_BSEG-EBELP.
            IF SY-SUBRC IS INITIAL.
            CALL FUNCTION '/IBS/RB_FI_GET_FISCAL_YEAR_VAR'
              EXPORTING
                I_COMPANY_CODE               = IT_BSEG-BUKRS
             IMPORTING
               E_FISCAL_YEAR_VARIANT        = FIYEV1.
            IF SY-SUBRC IS INITIAL.
             MOVE FIYEV1 TO IT_OUT-FIYEV.
            ENDIF.
            IF IT_BSEG-PSWSL EQ 'USD'.
               MOVE : IT_BSEG-DMBTR TO IT_OUT-GCAMT.
             ELSE.
            ENDIF.
            MOVE :IT_BSEG-EBELN TO IT_OUT-EBELN,
                  IT_BSEG-EBELP TO IT_OUT-EBELP,
                  IT_BSEG-DMBTR TO IT_OUT-LOAMT,
                  IT_BSEG-PSWSL TO IT_OUT-PSWSL,
                  IT_EKKO-WAERS TO IT_OUT-WAERS,
                  IT_BSEG-BELNR TO IT_OUT-BELNR,
                  IT_BSEG-BUZEI TO IT_OUT-BUZEI,
                  IT_BSEG-HKONT TO IT_OUT-HKONT,
                  IT_BSEG-LIFNR TO IT_OUT-LIFNR,
                  IT_BSIS-BUDAT TO IT_OUT-BUDAT,
                  IT_BSIS-BLDAT TO IT_OUT-BLDAT,
                  IT_BSEG-BUKRS TO IT_OUT-BUKRS,
                  IT_BSEG-PRCTR TO IT_OUT-PRCTR,
                  IT_BSEG-WERKS TO IT_OUT-WERKS,
                  IT_EKKO-EKORG TO IT_OUT-EKORG,
                  IT_EKKO-EKGRP TO IT_OUT-EKGRP,
                  IT_EKKO-KNTTP TO IT_OUT-KNTTP,
                  IT_BSEG-SHKZG TO IT_OUT-SHKZG,
                  IT_BSEG-GJAHR TO IT_OUT-GJAHR.
             APPEND IT_OUT.
            ENDIF.
      ENDLOOP.
      ENDLOOP.
        E_T_DATA[] = IT_OUT[].
        S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
    ENDIF.
    ENDFUNCTION.
    The above code is helpful for your requirement.
    Regards,
    BBC

Maybe you are looking for

  • Will connecting a monitor to my MacBook7,1/2GB slow it down?

    My Macbook has been running really slowly the last few months and my boss suggested it was because I'm hooked up to a monitor (LG 1920x1080 display). I think my notebook is just too old! Thanks

  • Can't see app icons on ipad after sync, although apps are there through search

    had to upgrade my ipad s/w last night. but the ipad restored itself for some reason without me asking it to. Then when I synched all apps etc back on, the new apps don't appear as icons, but is on the ipad as I can find them through search. How can I

  • Image Quality for Slideshows

    Hello Everyone. I just purchased Photoshop Elements 9 and I have just joined the Adobe Forum. I am an amateur photographer with a challenge. I am creating slideshows for family, and before I go any further, I need to get some questions answered about

  • How do I change the I-Tunes library my IPhone is synced with?

    I have an I-phone that was happily synced with the I-Tunes library that I was using on my computer on Windows Vista. I recently upgraded my operating system to Windows 7 and once it was complete I clicked onto I-Tunes to find my library was empty and

  • Error 502

    Hello, there! I'm having a "502 Proxy Error. The ISA Server denied the specified Uniform Resource Locator (URL)" error while trying to call an XI webservice from MII 12.0 using a "WebService XI" action. Both MII and XI are on the same machine. I'm us