Business content failure

Hi,
Technical content of one infopackage group i.e. F2 master data texts is failing daily.
     Error                                                 5 when generating the data transfer program     @35@
                 Errors in source system
Please help.
Thanks

Arun,
Datasource is  activated properly.  I didn't mention that the new support pack 20 is applied on BW 3.5.  While searching in SAP I didn't get any appropriate note related to pack 20 + bw3.5.
Thanks

Similar Messages

  • Admin cockpit - Business Content Process chain Activation failure

    Hi,
    we are working in Admin cockpit in sand box server.
    we are activating the Business Content Process chain by taking all variants (begin with 0TCT) but we are getting the error message that Process AND has no predecessor.
    Could you kindly suggest any thing to move further.
    Thanks & Regards,
    Shaliny. M
    Edited by: shaliny mega on Mar 19, 2008 7:04 AM

    Hi shaliny,
    As mentioned in this post
    https://www.sdn.sap.com/irj/sdn/forums.
    Have u collected the Source system for which ur collecting the PC when u r activating Business conent?
    Collect the source system when u  r activating the PC. Give a try.
    if it is useful assign points.
    Regards,
    Senthil

  • Business Content, CCA - Incomplete Activation

    Activated Cost Center Accounting Business Content of BW 3.3 without errors.
    However, some objects are not available - in particular, 0COSTELMNT.
    From RSA1 / Workbench, InfoObjects tab in Modeling, search does not find 0COSTELMNT.
    However, RSA1 / Workbench, Source Systems tab in Modeling, after requesting Object OverView - 0COSTELMNT is reflected as activated.  Also, from RSA1 / Workbench, InfoSources tab in Modeling for 0CO_OM_CCA_1, 0COSTELMNT is reflected in Transfer and Communication Structures.  Furthermore, 0COSTELMNT can be drilled down into / opened for review.
    Failure of 0COSTELMNT to completely activate prevents activation of other objects, including CCA_1 InfoCube.
    Have attempted to re-activate total CCA Business Content in both foreground and background, without success.
    Have attempted to re-activate 0COSTELMNT in both foreground and background without success.
    Have attempted to force re-activation by specifically selecting Install option in Business Content - overriding Match status reflected, again without success.
    Has anybody else encountered this or a similar problem ?
    Any ideas how to achieve complete activation of InfoObject 0COSTELMNT, as well as related objects ?
    THANKS.

    Hi Lyle,
    You are thanking a poster for his answer.
    Please next time also give him points.
    See: /people/mark.finnern/blog/2004/08/10/spread-the-love
    This time I did it for you.
    Remember: When you ask a question you also assume the responsibility to assign points.
    Please check your other questions and if the answers were good.
    Spread the love and give some points.
    Thanks in advance, Mark.

  • Installing Business Content directly in QA and PRD or transport it ?

    Hello,
    We have been running a SAP BW Lanscapce (7.01 SPS7) for over two years.
    We have recently applied to our BW Landscace an additional add-on ; SAP SuPM (Sustainability Performance Management 2.0)
    Several thousands of new objects are delivered and we need to install the SUPM Business Content.
    A specific BC installation procedure is described in the installation guide, use the report report RSO_BC_INSTALL_ALL  and not the transaction RSORBCT.
    I intended to activate the SUPM Business Content directlly in DEV then QAS then PRD, as we did when we initially installed tthe three systems.
    The develpent team would prefer to tranfor the transport the newly installed objects fronm DEV to QAS and PRD. They told me that activating directly the BC in QAS and PRD might cause issue for certain objects like transformations. During activation certain objects receive a unique ID hence receiving a different ID in each system. This would mean that we wonu2019t be able to transport changes to these objects from dev and that each change would need to be applied directly in each system which is not acceptable.
    I am not confortable transporting thousands of new objects (even if they are collected in the same transport requests) from DEV to QAS and PRD.
    What are you suggestions ? HAve you already been confroncted to the same problem, having to install thousands of new Business Content objects on an existing BW system ?
    Thank you for your attention
    Best Regards

    Hi Shiro,
    There is one important thing that you should note down is, if you directly install the contents in production system and something goes wrong due to customization or any other thing then there is risk of recovering it and being production system I would say not to do that.
    Where as if you install the contents in development then you will have chance to do the unit testing properly and then send the contents to quality and prod after testing and modifications if required. The risk of failure with transport is very less if the transports are moved in correct sequence.
    Regards,
    Durgesh.

  • Find the std Business content for these objects in CRM..

    Hi,
    Can you please help me in finding
    To identify the standerd BW extractors in the Business Content.
    From the CRM
    Business Content for the following objects
    Product ( New products in CRM and not in R/3)
    Sales Orders à
    à Line items.          
    Quotations            CRM only
    Billing Documents            CRM
    Credit Notes           
    Customers  - àNot fully registered " prospects will be in CRM only.
    Customers will be transported to R/3
    IBASE            àMaster Data Item
    àContent?
    Activities            CRM
    Please help me how can I find the std Business content for these objects in CRM..

    CRM Business content objects:
    0CRM_LEAD_H - Lead Header (Transactional Data)
    0CRM_LEAD_I - Lead Item (Transactional Data)
    0CRM_MIG -  Mail GUID
    Characteristics
    InfoObject     Description
    0CRM_LEAGUI     Lead GUID
    0STAONESYS0     CRM status life cycle (One Order)
    0STAONESYS4     CRM status opportunity/lead (One Order)
    0CRM_RCA     Catalog
    0CRM_RG     Code group
    0CRM_RCO     Code
    0CRM_PROSPE     Prospect
    0BP_CONTPER     CRM contact partner
    0BP_RESPPER     CRM owner
    0CRM_SALESP     CRM sales partner
    0CRM_OBJTYP     Business transaction object type
    0CRM_ITOBTP     CRM item transaction type (object type)
    0CRM_MKTELM     CRM marketing element
    0CRMPLEAGUI     CRM preceding lead GUID
    0CRM_LEADCR     Creation date of the lead
    0CRM_OPPGUI     GUID of a preceding opportunity
    0CRM_OPPCRD     Creation date of the opportunity
    0CRM_PREOTP     Object type of the preceding document
    0DIVISION     Division
    0DISTR_CHAN     Distribution channel
    0CRM_SRVORG     CRM service organization
    0CRM_SALOFF     Sales office
    0CRM_SALORG     Sales organization
    0CRM_SALGRP     Sales group
    0CRMSA_OG_R     Responsible organizational unit (sales)
    0CRMSE_OG_R     Responsible organizational unit (service)
    0CRM_PRHIER     Product category ID
    0CRM_PROD     CRM product
    0CRM_ORDPRD     Product name entered
    0MATERIAL     Material (allocation to R/3)
    Time Characteristics
    InfoObject     Description
    0CALDAY     Calendar day
    0CALMONTH     Calendar year/month
    0CALQUARTER     Calendar year/quarter
    0CALYEAR     Calendar year
    0FISCPER     Fiscal year/period
    0FISCYEAR     Fiscal year
    0FISCVARNT     Fiscal year variant
    Key Figures
    InfoObject     Description
    0CRM_NUMDOC     Number of order headers
    0CRM_NUMOFI     Number of order items
    0CRM_LDOQV     CRM: Expected order quantity in VME
    0CRM_LDOQB     CRM: Expected order quantity in BME
    0CRM_DURLEA     Duration of the lead
    0CRM_EXDULD     Expected duration of the lead
    0CRM_NUMACT     Number of activities per lead
    0CRM_NUMCHL     Number of changes in the qualification level per lead
    0CRM_LEAWON     Won leads
    Units
    InfoObject     Description
    0SALES_UNIT     Sales unit
    0BASE_UOM     Base unit of measure
    InfoCube 0CSAL_C01 - CRM Activities.
    ODS Object 0SAL_DS01 (ODS for Activities)
    Query (technical name)     Query (description)
    0CSAL_C01_Q0006                    Success/Failure Analysis
    0CSAL_C01_Q0016                    Activity History
    0CSAL_C01_Q0002                     Intensity of Customer Care  (Owner) 12M
    InfoCube  Opportunities - 0CRM_C04 (SAP BW Business Content)
    InfoSources
    CRM Opportunities: Header Data - 0CRM_OPPT_H
    CRM Opportunities: Item Data - 0CRM_OPPT_I
    Query (technical name)     Query (description)
    0CRM_C04_Q0100                 Channel Management Sales Forecast
    0CRM_C04_Q001               Win/Loss Analysis for Opportunities
    0CRM_C04_Q002               Sales Volume Forecast
    0CRM_C04_Q003                 Pipeline Analysis per Phase
    Hope it will helps you a lot..........

  • Error while activating the business content object

    Hi guru,
    We have installed a new BI system, and hence we need to activate all the business content object as they are available in delivery version.
    So as there was an requirement i tryed to activate the business content object ,that is 0mat (MATNR) material number,
    but once done with the installation when i try to find the object and display it
    that is i select the object 0mat , context menu and say display or change it does not show the complete screen as it appears for a characterstic and gives a error
    "_settings for material number conversion not found"_*
    so please help me out what is the problem
    Thanks

    Thanks Subash Balakrishnan for replying,
    but let me inform you that i already did that as i need to install this object and now the object is showing with green instead of grey,
    Now my problem is that after selecting grouping and collection when i go to infoobject menu under modelling and find out the object 0mat, it shows in green , but as i need to observe the properties of this object like data type , length etc , i select the object 0mat and right click and select display,
    then instead of showing me the object properties screen it gives me the error as mentioned above,
    so as you say it has to be in active versoin , but i can not view the normal screen which appears after creating any object ,
    now i hope my problem is quiet explanatory so please help me.
    Thanks

  • Unable to 'set the default source system' to Install Business Content

    Hi,
    Maars here. This is my first post hoping that in future ones I'll also be lending a helping hand.
    I am trying to 'Install Business Content' under the BUSINESS CONTENT section in txn RSA1. I am doing this after 'Transfer Data Sources' in R/3 and I can now see all the data sources (under the application component hierarchy) for the source system. But I am not able to see the Info Objects in the Business Content.
    When I try to set R/3 as the default source system (got this screen after clicking a icon in the standard tool bar), BW is not saving the settings ie., I set the R/3 as the default and then click on OK. If I go back to the same screen again, I find that my settings were NOT saved.
    Could you please help me out?
    Thank you.

    Hi,
    It seems to be a bug in version 3.5.
    Do like this:
    After you open the screen to <i>choose the dafault source system</i>
    Clcik on 3rd button(F6) available in the bottom of the scrreen.
    And then select teh tick mark for required system.
    And then click on Continue button
    You have do this step before you drop the cube to right side of the cube.
    Ok, even after all these steps , if you reopen the screen you would not see Tick mark u have done just before. DONOT WORRY ABT it.
    Drag and drop required cube with dat flow before.
    Now you can see the Transfer rules with selected Source system only in the collected Objects.
    With rgds,
    Anil Kumar Sharma .P

  • How to activate the Info object catalog in Business content

    Hi,
      While trying to activate the Info object catalog, I found that some of the info objects under this catalog was earlier activated by some other developer. I brought this catalog (0SALES_CHA01) over to the Business content activation panel ( with only 'necessary object settings ) and all the info objects that also came along  were de-selected since I didn't want to install those again). When I tried to install these I get an error indicating that some of the info object in question are not already active.. and ultimately the catalog doesn’t get activated , although more than half of its infoobjects are already active under the '0CHANOTASSIGNED' node.
    Please let me know whether I can get only the Catalog activated without getting any existing activated info object merged or installing those which are not already activated.
    Thanks
    Arunava

    Hello Arunava,
    Just drag the infoobject catalog as u did earlier to the left in the bus cont installation screen with "only necessary object" option.
    Dont try to deselect any object. Go ahead with the default options and install in background.
    Now you can check for the available objects in the catalog. if you have some objects missing, and available in unassigned node,double click on the newly installed infoobject catalog, select the required objects (which are not yet assigned to this) from the left side and bring them to the right side.
    this will make the unassigned objects assigned to the required catalog.
    Hope it helps..
    (please dont forget to reward points to helpful answers)

  • Business content datasource enhancement

    Hi Experts,
    I am new to HR.
    We are implementing HR modules Personnel development and Personnel administration, while I was looking into business content extractors 0HR_PA_0 and OHR_PA_1, I found that there were only few fields in the extract structure but there were many fields in the cube.Do we need to enhance the datasources? how it works?. If anybody did the enhancement to these datasources, please give me the information with examples.
    Anita

    No, it is no necesary to enhance standard data sources. Those datasources extract, basically employee and date. Most infoobjects in cube are calculated from 0PERSON and 0EMPLOYEE attributes, having in count the date and employed extracted, because most in HR is time dependent.
    Assign point is usefull

  • Taking too much time incollecting in business content activation

    Hi all,
    I am collecting business content object for activation. I have selected 0fiAA_cha object,while cllecting in the activation but it is taking too much time and then it asks for source
    system authorisation and then throws error maximum run time exceded. i have selected data flow before there.
    What can be the reason for it.
    Please help..

    Hi ,
    You should also always try and have the latest BI content patch installed but I don't think this is the problem. It seems that there
    are alot of objects to collect. Under 'grouping' you can select the option 'only necessary objects', please check if you can
    use this option to  install the objects that you need from content.
    Best Regards,
    Des.

  • SRM Business Content

    Hi All,
    I would like to know the infosource of 0SR_C01 procurement overview(aggregated) cube. while on help.sap it shows 0SR_MC01 as a multiprovider for 0SR_C01. But could not find the infosource for the same.
    I would also like to know if anyone has the list of content infocubes and their infosources for SRM. Please share it with me.
    Thank in Advance
    Niren

    Hi ,
    for all business content, you can start here
    http://help.sap.com/saphelp_nw04s/helpdata/en/3d/5fb13cd0500255e10000000a114084/frameset.htm
    scm
    http://help.sap.com/saphelp_nw04s/helpdata/en/29/79eb3cad744026e10000000a11405a/frameset.htm
    and bi best practice
    http://help.sap.com/bp_biv335/BI_EN/html/bw.htm
    Check this link for SRM Business Content information: http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/7aeb3cad744026e10000000a11405a/frameset.htm
    DataSources
    New DataSources have been created for NW 2004s BI Content Add-On 2 and SRM 5.0. These are described here, along with their extraction logic.
    The following graphic shows the data flow from the DataSources to the DataStore objects
    Structure
    Each DataSource has an extraction structure and a data extractor. Generally, this is an RFC-capable function module.
    There are two types of extraction: Specific extraction and generic extraction:
    Specific extraction is strongly oriented towards the data model of the BI System and the necessary extract structure. It executes DataSource-specific processing steps.
    The logic contained within the generic extraction is implemented centrally and can therefore be reused by the specific extraction modules. The generic extraction deals with access to the SRM database and is similar for each DataSource.
    Generic and specific extraction
    Extraction logic in detail
    Data extraction involves the following six function modules:
    InitLoad
    InitLoad is called as soon as an initial upload is started in the BI System. In other words, it is executed when data is loaded into the BI System for the first time. The module can restrict the data extraction according to filter criteria that were defined in BI during extraction (for example, extract the data for a particular timeframe). InitLoad packages the data before it is transferred to the BI System.
    DeltaLoad
    DeltaLoad is called when a document is modified in the SRM System. The module writes data that has accumulated since the initial loading to a delta queue.
    Data Collector
    The Collector reads the required data from the database in the source system. For performance reasons, the data is then buffered in system-internal tables. The tables have the same structure as in the database. This saves time and effort, because data conversion is kept to a minimum.
    Data Consolidator
    The Consolidator groups data that belongs together from a business point of view. The consolidated data is stored in internal tables and is prepared for further processing.
    Data Normalizer
    The Denormalizer prepares the source data for the BI System. It calculates key figures that are required for the report but are not contained on the database and converts data types in the source system to data types of the BI System. Depending on the BI data model, the system now decides how each row is filled with data.
    Data Mapper
    During mapping of the data, the system defines which fields of the denormalized data structure are assigned to the fields of the extract structure. In this way, flat and one-dimensional lines are generated from the data.
    The following table shows the technical names of the function modules of the individual DataSources:
    Description
    0SRM_TD_PO
    0SRM_TD_CF
    0SRM_TD_IV
    0SRM_TD_PO_ACC
    InitLoad
    BBP_BI_PO_EXTRACT
    BBP_BI_CF_EXTRACT
    BBP_BI_IV_EXTRACT
    BBP_BI_PO_ACC_EXTRACT
    Collector
    BBP_BI_GEX_COLLECT
    BBP_BI_GEX_COLLECT
    BBP_BI_GEX_COLLECT
    BBP_BI_GEX_COLLECT
    Consolidator
    BBP_BI_GEX_CONSOLIDATE
    BBP_BI_GEX_CONSOLIDATE
    BBP_BI_GEX_CONSOLIDATE
    BBP_BI_GEX_CONSOLIDATE
    Denormalizer
    BBP_BI_GEX_DENORMALIZE
    BBP_BI_GEX_DENORMALIZE
    BBP_BI_GEX_DENORMALIZE
    BBP_BI_GEX_DENORMALIZE
    Mapper
    BBP_BI_PO_MAP
    BBP_BI_CF_MAP
    BBP_BI_IV_MAP
    BBP_BI_PO_ACC_MAP
    DeltaLoad
    BBP_BI_DELTA_UPDATE
    BBP_BI_DELTA_UPDATE
    BBP_BI_DELTA_UPDATE
    BBP_BI_DELTA_UPDATE
    Hope this helps,
    Regards
    CSM Reddy

  • Finding fields in R/3 for data extraction VS Business content

    Hi all,
    I am doing my first BW project after my training and I am finding it difficult to locate some fields that should be part of my report.
    The Consultant says Sales Group, Inco terms, Open orders, Account assignment group, Sold to party, ship to party, Payment terms, Document currency and base currency, Complete deliver indicator, Order type and Count of Complete deliveries required should all be in the Order while transmission type and number of transmissions should be in NAST.
    I have gone to R/3 - RSA6 to look at datasources and found 2LIS_01_S260 (Sales order) to have most of the fields but not payment terms, complete delivery indicator, open orders base currency and count of complete deliveries required. Also in Sales document header data, these fileds are not there.
    Is it a case of not understanding the correct name of the fields if they are described in a different manner in R/3 or I have not done the proper thing? Can I just use an infocube in BW business content to get all the required objetcs -(infocube, infosource, datasource).
    Thank you

    Hi,
    Finding the correct Infoobject and it's mapped field is a job of BIW consultant. But the problem is how to find them and how to frind respective R/3  field and it's table. You will be familar with them as your experience increases.
    So you need to list of fields you require and then find out the Datasource/s which can give these fields by going through the Business content help or using LBWE Tcode in R/3.
    The datasource you mentioned is obsolate one. i.e 2LIS_01_S260  .
    You better to go wtih new DSes like 2LIS_11_VAITM,2LIS_11_V_ITM.
    http://help.sap.com/saphelp_bw31/helpdata/en/8f/36f338472b420de10000000a114084/frameset.htm
    If allmost all fields are avialable in a DS , then you can check the possibility of enhancing the DS for remaining Fields.
    With rgds,
    Anil Kumar Sharma .P

  • Business Content for Bill Up transaction in CRM system

    To all Experts,
    I'm currently working on a project that requires Bill Up transactional data ( Source Table: CMSD_BU ) to flow from CRM to BW system. I'm looking for Business Content that can fulfill this requirement. However, till to date, I couldn't find any information of such Business Content. I'm not sure if such BC exist. Can anyone help if you have experience implement this data flow?
    When searching for the DataSource / Extractor, I found BW Extract Structure CMST_BU_BW and CMST_BU_BW_C in the CRM system. But couldn't find any DataSource for both extract structure. Not sure if we need to install any support pack in order make the BC available in the system. Please help if you have any idea. 
    Thanks in advance.
    Regards,
    Hui Pin

    Hi Shalini,
    The document is replicated from ECC to CRM without any errors.
    For this document I just want to create follow up transaction in CRM.(I dont want to change the document in CRM)
    The follow up transaction is in display mode. this is my problem.
    Hi Rekha:
    I have done following setting in CRM to create follow up transaction in CRM for the document which is replicated from ECC to CRM.
    1)     Defined the Copying Control for Transaction type
    2)     Defined Copying Control for Item categories
    3)     Defined Item category determination when copying
    Thanks in advance,
    Regards,
    -Rahul.

  • How to open document from business content in weby dynpro ?

    Hello experts,
    I've cretaed a webdynpro where I want to display a document which is attached
    to a product in tx commpr01 in business content.
    I've tested method o_cl_crm_documents->get_with_url , but
    there I do not get a url in webdynpro.
    Does anybody know another method/fm to display such a document from
    business content in webdynpro ?
    Thanks and best regards
    Gerd

    Hello Mr. Jung,
    I'm sorry but I didn't find this method linktourl.
    In my web-dynpro I'm getting the url for my document after
    cklicking on the selected row.
    Then I just want to give this paramter to this linktourl method
    and open the document.
    How can I implement this method ? which class ?
    Thanks Gerd

  • Business Content or Information for GR/IR Account Report

    Hi All,
    I have an R3 report called GR/IR Account Report by PO Mismatch.
    Is there any business content available for this in BI.
    The below tables are using in the report.
             bsis,                         " Accounting docs by account
             bsas,                         " Cleared accounting docs by acc
             bseg,                         " Accounting doc line item
             ekko,                         " Purchase Order Header,
             ekpo,
             mkpf,                         " Material Document
             lfa1,                         " Vendor details
             ekbe,                         " PO History
             ekkn,                         " PO Acct.Assgnment
             usr21,
             addr3_val,
             ad3_flags,
             stxh.
    Could you please provide me your inputs on this
    Regards
    Srini

    The new additional fields need to be populated are
              ZZAUFNR         Order Number                                  *
              ZZBEDAT         Purchase Order Date                           *
              ZZCRE_FI         FI Doc Created By                             *
              ZZCRE_PO         PO Doc Created By                             *
              ZZEBELN         Purchasing Document Number                    *
              ZZEBELP         Item Number of Purchasing Document            *
              ZZKOSTL         Cost Center                                   *
              ZZMWSKZ         Tax on sales/purchases code                   *
              ZZPROJK      WBS element                                   *
              ZZTXZ01         Short text                                    *
              ZZUSNAM         User name                                     *
              ZZXBLNR         Reference document number                     *
              ZZHWSTE      Tax Amount in Local Currency                 *
              ZZSGTXT      Item Text                                    *
              ZZHKONT      Finance G/L Account                          *
      when '0FI_AP_4'.
    Declare the local data fields to store data temporarily
        data : l_dtfiap_3 like DTFIAP_3,
               mwskz like bsik-mwskz,
               l_ernam like   bapibname-bapibname,
               l_address like bapiaddr3,
               l_bseg  like bseg,
               l_bedat like ekko-bedat,
               l_ps_psp_pnr like prps-pspnr.
        data : gt_return type bapiret2 occurs 0 with header line.
        loop at c_t_data into l_dtfiap_3.
          l_tabix = sy-tabix.
    *Select the tax Code for the particular record from BSAK TABLE
          select single mwskz sgtxt into (l_dtfiap_3-zzmwskz,
                                          l_dtfiap_3-zzsgtxt)
                from bsak
                where bukrs = l_dtfiap_3-bukrs
                  and buzei = l_dtfiap_3-buzei
                  and belnr = l_dtfiap_3-belnr
                  and lifnr = l_dtfiap_3-lifnr
                  and gjahr = l_dtfiap_3-gjahr
                  and zuonr = l_dtfiap_3-zuonr
                  and augbl = l_dtfiap_3-augbl
                and augdt = l_dtfiap_3-augdt
                and bldat = l_dtfiap_3-bldat
                and blart = l_dtfiap_3-blart
                and bschl = l_dtfiap_3-bschl
                and budat = l_dtfiap_3-budat.
          if sy-subrc = 0.
            modify c_t_data from l_dtfiap_3 index l_tabix.
          else.
    *If corresponding Document Number is not present in BSAK check BSIK
    *TABLE
            select single mwskz sgtxt into (l_dtfiap_3-zzmwskz,
                                            l_dtfiap_3-zzsgtxt)
                    from bsik
                    where bukrs = l_dtfiap_3-bukrs
                      and buzei = l_dtfiap_3-buzei
                      and belnr = l_dtfiap_3-belnr
                      and lifnr = l_dtfiap_3-lifnr
                      and gjahr = l_dtfiap_3-gjahr
                      and zuonr = l_dtfiap_3-zuonr
                      and augbl = l_dtfiap_3-augbl
                    and augdt = l_dtfiap_3-augdt
                    and bldat = l_dtfiap_3-bldat
                    and blart = l_dtfiap_3-blart
                    and bschl = l_dtfiap_3-bschl
                    and budat = l_dtfiap_3-budat.
            if sy-subrc = 0.
              modify c_t_data from l_dtfiap_3 index l_tabix.
            endif.
          endif.
          select single hwste into l_dtfiap_3-zzhwste
              from bset
              where bukrs eq l_dtfiap_3-bukrs
                and belnr eq l_dtfiap_3-belnr
                and gjahr eq l_dtfiap_3-gjahr
                and buzei eq l_dtfiap_3-buzei.
    Select Created By and invoice Reference Number from BKPF table
          select single usnam xblnr from bkpf
              into (l_dtfiap_3-zzusnam,l_dtfiap_3-zzxblnr)
                where bukrs = l_dtfiap_3-bukrs
                  and belnr = l_dtfiap_3-belnr
                  and gjahr = l_dtfiap_3-gjahr.
          if sy-subrc = 0.
            modify c_t_data from l_dtfiap_3 index l_tabix.
          endif.
          move l_dtfiap_3-zzusnam to l_ernam.
          refresh : gt_return.
    Get the Fi doc Created By doing the function Module call
          call function 'BAPI_USER_GET_DETAIL'
            EXPORTING
              username = l_ernam
            IMPORTING
              address  = l_address
            TABLES
              return   = gt_return.
          move l_address-fullname to l_dtfiap_3-zzcre_fi.
          if l_dtfiap_3-zzcre_fi is initial.
            move l_ernam to l_dtfiap_3-zzcre_fi.
          endif.
          if not l_dtfiap_3-zzcre_fi is initial.
            modify c_t_data from l_dtfiap_3 index l_tabix.
          endif.
          if l_dtfiap_3-blart eq 'RE'.
    .....Get New Fields from PO linked to FI Document.....................
    Select PO Number from PO Line item from BSEG TABLE
            select buzei buzid ebeln ebelp
              into corresponding fields of l_bseg
              from bseg
             where bukrs eq l_dtfiap_3-bukrs
               and belnr eq l_dtfiap_3-belnr
               and gjahr eq l_dtfiap_3-gjahr.
              if l_bseg-buzei eq l_dtfiap_3-buzei.
    .....Already read this line, therefore ignore it......................
                continue.
              endif.
              if l_bseg-buzid eq 'T'.
    .....Don't read automatically created lines - Tax Line................
                continue.
              endif.
              if not ( l_bseg-ebeln is initial ).
                move l_bseg-ebeln to l_dtfiap_3-zzebeln.   " PO Number
              endif.
              if not ( l_bseg-ebelp is initial ).
                move l_bseg-ebelp to l_dtfiap_3-zzebelp.   " PO Line Item No
              endif.
              if not l_dtfiap_3-zzebelp is initial.
                modify c_t_data from l_dtfiap_3 index l_tabix.
              endif.
            endselect.
    .....Got PO Number from FI Document, Now get PO Details...............
    .....Get Short Text...................................................
    GET PO Line Item text
            select single txz01 into l_dtfiap_3-zztxz01
              from ekpo
               where ebeln eq l_dtfiap_3-zzebeln
                 and ebelp eq l_dtfiap_3-zzebelp.
            if sy-subrc = 0.
              modify c_t_data from l_dtfiap_3 index l_tabix.
            endif.
    .....Get Account Assignment...........................................
            select ps_psp_pnr aufnr kostl sakto
              into (l_ps_psp_pnr,l_dtfiap_3-zzaufnr,
                      l_dtfiap_3-zzkostl,l_dtfiap_3-zzhkont)
                  from ekkn
                   where ebeln eq l_dtfiap_3-zzebeln
                     and ebelp eq l_dtfiap_3-zzebelp.
              if sy-subrc = 0.
                modify c_t_data from l_dtfiap_3 index l_tabix.
              endif.
              select single posid into l_dtfiap_3-zzprojk
                   from prps
                     where pspnr = l_ps_psp_pnr.
              if sy-subrc = 0.
                modify c_t_data from l_dtfiap_3 index l_tabix.
              endif.
            endselect.
    .....Get Name of Person who created PO................................
            clear : l_ernam,l_bedat.
            select ernam bedat into (l_ernam, l_bedat)
                up to 1 rows
                from ekko
                 where ebeln eq l_dtfiap_3-zzebeln.
            endselect.
            move l_bedat to l_dtfiap_3-zzbedat.
            if not l_dtfiap_3-zzbedat is initial.
              modify c_t_data from l_dtfiap_3 index l_tabix.
            endif.
            refresh : gt_return.
            call function 'BAPI_USER_GET_DETAIL'
              EXPORTING
                username = l_ernam
              IMPORTING
                address  = l_address
              TABLES
                return   = gt_return.
            move l_address-fullname to l_dtfiap_3-zzcre_po.
            if l_dtfiap_3-zzcre_po is initial.
              move l_ernam to l_dtfiap_3-zzcre_po.
            endif.
            if not l_dtfiap_3-zzcre_po is initial.
              modify c_t_data from l_dtfiap_3 index l_tabix.
            endif.
          else.
    .....Get new Fields from FI Document..................................
            select buzei buzid ebeln ebelp projk aufnr kostl hkont
              into corresponding fields of l_bseg
              from bseg
             where bukrs eq l_dtfiap_3-bukrs
               and belnr eq l_dtfiap_3-belnr
               and gjahr eq l_dtfiap_3-gjahr.
              if l_bseg-buzei eq l_dtfiap_3-buzei.
    .....Already read this line, therefore ignore it......................
                continue.
              endif.
              if l_bseg-buzid eq 'T'.
    .....Don't read automatically created lines - Tax Line................
                continue.
              endif.
              if not ( l_bseg-ebeln is initial ).
                move l_bseg-ebeln to l_dtfiap_3-zzebeln. " PO Number
              endif.
              if not ( l_bseg-ebelp is initial ).
                move l_bseg-ebelp to l_dtfiap_3-zzebelp. " PO Line Item
              endif.
              move l_bseg-aufnr to l_dtfiap_3-zzaufnr.   " Order Number
              move l_bseg-kostl to l_dtfiap_3-zzkostl.   " Cost Centre
              move l_bseg-hkont to l_dtfiap_3-zzhkont.   " GL Account
              select single posid into l_dtfiap_3-zzprojk
                  from prps
                    where pspnr = l_bseg-projk.
              if not l_dtfiap_3-zzprojk is initial
                or not l_dtfiap_3-zzaufnr is initial
                or not l_dtfiap_3-zzkostl is initial
                or not l_dtfiap_3-zzhkont is initial.
                modify c_t_data from l_dtfiap_3 index l_tabix.
              endif.
            endselect.
    .....Get PO Short Text................................................
            select single txz01 into l_dtfiap_3-zztxz01
              from ekpo
               where ebeln eq l_dtfiap_3-zzebeln
               and ebelp eq l_dtfiap_3-zzebelp.
            if sy-subrc = 0.
              modify c_t_data from l_dtfiap_3 index l_tabix.
            endif.
    .....Get Name of Person who created PO................................
            clear : l_ernam,l_bedat.
            select ernam bedat into (l_ernam, l_bedat)
                   up to 1 rows
                   from ekko
                   where ebeln eq l_dtfiap_3-zzebeln.
            endselect.
            move l_bedat to l_dtfiap_3-zzbedat.
            if not l_dtfiap_3-zzbedat is initial.
              modify c_t_data from l_dtfiap_3 index l_tabix.
            endif.
            refresh : gt_return.
    Get PO Doc Created By
            call function 'BAPI_USER_GET_DETAIL'
              EXPORTING
                username = l_ernam
              IMPORTING
                address  = l_address
              TABLES
                return   = gt_return.
            move l_address-fullname to l_dtfiap_3-zzcre_po.
            if l_dtfiap_3-zzcre_po is initial.
              move l_ernam to l_dtfiap_3-zzcre_po.
            endif.
            if not l_dtfiap_3-zzcre_po is initial.
              modify c_t_data from l_dtfiap_3 index l_tabix.
            endif.
          endif.
        endloop.
    Edited by: Srinivas Gogineni on Apr 19, 2009 11:10 AM

Maybe you are looking for

  • ASP Connection to MS SQL Local Web Server

    I have managed to set up a local server and dreamweaver recognises that it is working. I installed the free MS SQL server. I have created some ASP pages that are working in a web browser when i test them. But when i try to update my local MS SQL serv

  • Remote Icon Missing from System Tray

    I just installed zenworks and it doesn't display the icon in the system tray how do i get this to display? Thanks Aron Aron Hardie Net Admin Great Western Services

  • Minimum requirement of ODI app deployment

    Hi, We have an ODI application in development environment with master repository, work repository, dataserver database source and target database, mapping and transformation rules and scenarios.It is working perfectly and we want to deploy it in prod

  • Format WLC-5508 Flash and IOS recovery guide

    Dear Support Cummunity, i have a WLC-5508 where by i am unable to join any kind of AIR-LAP1x00 Access-Points. They can't join in the local management ip of the controller within same L2 or via routed network thereby using the APs CLi by "lwapp ap con

  • Safari and loading a PDF

    Sorry if this is not the right group.... I have safari 5.1 on snow leopard. When I access a site with a PDF I get missing plugin. I have downloaded and installed adobe reader. Adobe reader runs fine standalone. But in Safari when ever I hit a site wi