APD transformations

HI All,
In APD transformations while mapping the objects between datasource and data target i am unable to map the objects and source fields, as the source fields  are not displayed by their names instead they are displayed as
D57KKRV9UZXW0398RUQ3UZHPS
D57KKRV9UZZFDBWREXLBZUA9C     
D56LC57R0WQ9XBE6NCB6AY7W0     
here my data source is query
and data target is ODS.
Help needed.....
thanks
Raj.

Hi Raj,
You are checking the properties of the QUERY not the properties of the FIELDS (CHAR's or KEYFIGURES)
You can find the UID of any Field in the report.
Goto properties of the field character or keyfigure. In the Advanced tab you can find the UID for the particular Char or keyfigure.
For EX: if we need for controlling area then, the UID can be checked in the Advanced tab mentioned as UID.
And then map accordingly.
Hope you got the point ...
Regards,
Ravi Kanth
Edited by: Ravi kanth on Apr 29, 2009 1:49 PM

Similar Messages

  • APD - Query output on to a Flat file

    All
    We are on BI 7.0 with SP13 and NWS 12. I am trying to create a new APD with source as "Query" built on Info object and target as "Flat File". There is no requirement of transformation so I am trying to map directly from Source to Target with a direct link with out using any transformations in between,
    I could check and found no errors in APD definition and when I run APD, the file is getting created both on application server and local workstation but with 0 records.
    The volume of records are expected to be around 4 millions on this query and am just wondering why APD is not writing any data on CSV file.
    Pls let me know the following;
    - What is wrong in the above process and why it is not writing data on to flat file
    - Can APD handle volume of 4 million rows even though job runs in the background?
    Your inputs in this are highly helpful and thanks for your time to provide solution.
    Thanks - Sriram

    Hi
    Thanks for your reply and I could solve this issue and found the root cause.
    The very purpose of this APD is to provide a list of business partners to an upstream systerm with few attributes and in this process one of my consultant has deactivated the key figure in the query which is an input for APD process.
    When the key figure is inactivated ( this is the only key figure in the query ), APD does not recognize query as a valid one and sends out an error message.
    When we re activate the key figure ( I have hidden this later using APD transformations to hide the column and send output to a flat file on to unix server ) in the query, the APD runs fine and could deliver the output in flat file.
    Thanks

  • SAP BW 3.5 APD for master data

    Gurus,
    We are having issues with SAP BW 3.5 APD transformation before full upload for Item master data.  Due to the high volume encountering short dumps. We cannot extend memory space to fix this short dump.  What we are trying to do is initilize the values before the full load to make consistent with SAP so that BW item cost values is in sync with SAP.  There was no issue in development and only in test system.
    So work was moved to test.
    Is there any suggestion for this problem or alternative to something else?  Please help.
    Thanks,
    Di

    Hi Abhishek,
    We need to correct values of custom cost related fields of master data in BW that pull data from SAP.  If any Item  with cost field in SAP is not maintained any longer, we found the solution to initilize every record with APD before doing full upload in BW to be in sync. Version  is BW 3.5. We are facing performance issue.  So tried different ways like delete all the records that is already zero before reading data from the internal table.  We still get short dump when process chains runs with APD program. I am not sure how to pull data in smaller chunks with filters here.  Any suggestions please? Design is master data, filter columns, routines and master data. Source and target are the same.
    Thanks,
    Di

  • Transpose row to column in APD

    I am trying to transpose rows of records to column.
    Original data:
    Period     ID     Price 1     Price 2
    200702     100     300     200
    200702     101     250     100
    200801     122     500     250
    Need the above data to be transposed to:
    Period     ID     Value
    200702     100     300
    200702     100     200
    200702     101     250
    200702     101     100
    200801     122     500
    200801     122     250
    I have tried APD transformation "Data Records into Lists" without success. I am not sure what I am doing.
    Does any one have a detail documnet on how to accomplish the task.
    Thank you.
    Tony

    Hi Tony,
    just check this link,
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=transposeinAPD&adv=false&sortby=cm_rnd_rankvalue
    Hope it wil solve ur issue
    thanks and regards
    Bala

  • APD ABAP Code

    Hi,
    Please help me with quick ABAP code in APD transformation.
    This is the requirement:
    When ever  /BI0/OIG_QVV010  is zero ,  /BIC/OIZENDUSER  value should be blank.
    Here is the code template needs modification:
    REPORT RSAN_WB_ROUTINE_TEMP_REPORT .
    TYPES: BEGIN OF y_source_fields ,
             KYF_0001 TYPE /BI0/OIG_QVV010 ,
             KYF_0001_UNIT TYPE MEINS ,
            CALMONTH TYPE /BI0/OICALMONTH ,
             MATERIAL TYPE /BI0/OIMATERIAL ,
             /BIC/ZENDUSER TYPE /BIC/OIZENDUSER ,
             END OF y_source_fields .
    TYPES: yt_source_fields TYPE STANDARD TABLE OF y_source_fields .
    TYPES: BEGIN OF y_target_fields ,
             KYF_0001 TYPE /BI0/OIG_QVV010 ,
             KYF_0001_UNIT TYPE /BI0/OIG_UVV010 ,
              CALMONTH TYPE /BI0/OICALMONTH ,
              MATERIAL TYPE /BI0/OIMATERIAL ,
             /BIC/ZENDUSER TYPE /BIC/OIZENDUSER ,
           END OF y_target_fields .
    TYPES: yt_target_fields TYPE STANDARD TABLE OF y_target_fields .
    *---- Begin of type definitions -
    *TYPES: ...
    *---- End of type definitions -
    FORM compute_data_transformation
         USING     it_source TYPE yt_source_fields
                   ir_context TYPE REF TO if_rsan_rt_routine_context
         EXPORTING et_target TYPE yt_target_fields .
    *---- Begin of transformation code -
    DATA: ls_source TYPE y_source_fields,
            ls_target TYPE y_target_fields.
      LOOP AT it_source INTO ls_source.
        MOVE-CORRESPONDING ls_source TO ls_target.
        APPEND ls_target TO et_target.
      ENDLOOP.
    *---- End of transformation code -

    How about this?
    LOOP AT it_source INTO ls_source.
      IF ls_source-kyf_0001 EQ 0.
        CLEAR ls_source-/bic/zenduser.
      ENDIF.
      MOVE-CORRESPONDING ls_source TO ls_target.
      APPEND ls_target TO et_target.
    ENDLOOP.

  • APD Join Transformation Error

    Hello,
    I am attempting to do a join transformation in APD.  I am joining query results with a flat file with an inner join.  I am joining on one field that resides in the query and the flat file.  I am getting the following error:
    Analysis process must not contain any open connections
    Message no. RSAN_WB010
    Diagnosis
    Technical key for message: CX_RSAN_SVC_CHECK_ANALYSIS_NN=>OPEN_CONNECTORS
    Procedure
    If you require further assistance, look for a SAP Note containing the key words CX_RSAN_SVC_CHECK_ANALYSIS_NN=>OPEN_CONNECTORS or RSAN_WB010.
    It seems like the system is complaining because not all the fields are used in a join condition which makes no sense to me.  It seems the whole purpose of the join is to be able to join fields that dont reside in both sources.  Can anyone explain this error message and the fix to me?
    Regards,
    TMS

    Hi TMS:
       Please check if the SAP Note below helps you in solving this issue.
    Note 919435 - "APD: Incompatible join fields (Join)"
    Regards,
    Francisco Milán.

  • Using APD process - What Transformation : BI to CRM

    Hi All,
    I am New to APD Process, i want to send data from BI ( DSO - Standard ) to CRM( Data Traget) system
    What Tranformation process should i use?
    Thanks,
    Nithi.

    HI,
    New to SDN also??
    Refer the following link: [Analysis Process Designer|http://help.sap.com/saphelp_nw70/helpdata/EN/49/7e960481916448b20134d471d36a6b/content.htm]
    Regards,
    anil

  • ABAP Logic/Structure for a Start and Field Routine in Transformations

    My Requirment is to export data from Data Target to Application Server.
    And for that purpose i built a APD...
    In Transformations to read data from MAster Data Table i had written below Global & Field Routine.
    Start Routine:
    Glodal Declaration
    DATA: it_dep   type standard table of /BI0/MDEPT,
          is_dep   type /BI0/MDEPT.
    LOOP AT SOURCE_PACKAGE ASSIGNING <source_fields>.
    if not SOURCE_PACKAGE[] is initial.
    SELECT * FROM /BI0/MDEPT INTO TABLE it_dep for all entries in
    SOURCE_PACKAGE
    WHERE depLOYEE    = SOURCE_PACKAGE-dep      AND
          OBJVERS     = 'A'                     AND
          DATETO     GE SY-DATUM.
    ENDIF.
    ENDLOOP.
    FIELD ROUTINE
    Clear:is_dep.
        Read table it_dep into is_dep with key
        depLOYEE = SOURCE_FIELDS-deployee binary search.
        if sy-subrc = 0.
          RESULT = is_dep-USERNAME.
        endif.
    Now for another field 'Manager' name.......
    My requirment
    Start Routine:
    (Sub Detp is an attribute to Dept and Sub Dept is referenced on dept)
    First it should copy all the Sub depts for the corresponding depts in the source field to a Temperoray table (TEMP1)
    For all sub depts in TEMP1 table it should copy manager names from dept master data table to a Temp2 table
    In start routine i need to first read temp1 and result from temp1 should be passed to temp2 and the result from tem2 can be passed to result field
    Please update

    Hi,
    i am providin you a sample code please modify it (field name and tables name's as per your requirement).
    Please write the code in transformation rule of field Emp_TDate.
    Map field Emp_SDATE  to the target field for Emp_TDATE .
        SELECT * FROM /BIC/AEMPPED00
                        WHERE Emp_SDATE NE ' '.
    if sy-subrc is initial.
    result = source_field-Emp_SDATE.
    else.
    result = ' '.
    endif.
    Please replace the emp_SDATE field with the source field name.
    But still i have some question...
    1. On what basis u decide the latest record ??
    Can u please explain scenarion bit mroe clearly.
    Thanks
    Dipika
    Edited by: Dipika Tyagi on Jun 24, 2008 8:47 AM

  • Hierarchy supported info obj cannot be used in APD?

    Hi
    I'm trying to create APD model by using a query as source to DSO but when executing it is showing some errors.
    Errors are:
    Hierarchy with Version and Variable doesn't exist.
    RSCRM(on profit center) doesn't support display hierarchies.
    But in report we are not using the Profit center hierarchy at all.Is it not possible to use hierarchy supported infoobjl in APD?
    Thanks
    PReddy
    Edited by: PReddy on Nov 8, 2009 11:33 PM

    Hi Reddy,
    Please gothrough the below links
    http://help.sap.com/SAPHELP_ERP2004/helpdata/EN/49/7e960481916448b20134d471d36a6b/frameset.htm
    or
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/0e/fd4e3c97f6bb3ee10000000a114084/frameset.htm
    In the 2nd link  goto the APD>EXPAND>CLICK ON Transformations for an Analysis Process-->EXPAND
    This might help you
    Regards,
    Marasa.

  • How to creating file with APD (tcode rsanwb) with Key and Test characterist

    Hi everybody!
    I'm creating an APD with RSANBW. Data Source is a query and Data Target a File. I want display Key and Test for everyone of query characteristics. I've revised properties of characteristics into the query rows and check "key and test", however the file only contains key values.
    Some help will be very appreciated,
    Regards,
    Sebastian.

    Hi Sebastian
    the data  the query pulls is from the cube/DSO, which stores only the key.
    the query pulls the text from the master data tables for diplay purpose only. For APD purpose the query only supplies what is avaialable in the infoprovider.
    To have key and text in the target file you neeed to use transformation type routine in the APD or create an infoprovider that stores both text and key as separate fields in it and use that for the APD, with or without a query.
    Good luck,
    vijay

  • Stock Snapshot using APD

    Hello all,
    Overview
    I have requirement to get monthly snapshot of stock for all Materials, Plants and other characteristic combination. "How to... Inventory guide" mentions about using snapshot ODS and then snapshot cube.
    Analysis
    I would like to avoid using "How to" and replace that with APD.
    I would create a Query on 0IC_C03 infocube and then using APD Monthly I would create the snapshot recordset for all Materials, Plants and other characteristic combination .
    I have already looked at various OSS notes including 751577 - APD-FAQ: Data source query.
    Questions
    1)Will Query as source work for APD work with large volumes of data?
    2). If Yes is there is a limitation what volume of records with the Query using APD feeding to transactional ODS can be handled.Our client will have the one of the highest volumes of records?
    At the moment we are on BW 3.5.
    Please let me know if you have any experience and thought about this.
    Thanks
    TK

    Hi Mansi,
    Thanks for the reply.
    Scenario : I have data in Standard DSO ,I want to send the data to CRM system from BI.
    1 ) yes, I have seen the CRM icon in targets , but I am not able to connect both BI and CRM system, please let me know what transformations option should I use, because I donu2019t want to do any calculations here , just I want to transfer the data from BI to CRM.
    2 ) I have clicked the DSO option in the T-code RSANWB , here I have selected the standard DSO (Drag and Drop) and selected the CRM icon , I have connected both by black arrow sign and Transfer Rule icon in the middle.
    3 ) After drag and Drop the DSO , I have right click the DSO and selected properties ,here I am able to see the info objects (under Selected Char).If I right click the CRM icon (i can see the description name for CRM) and select Properties , it is asking log in ID and password to CRM server , after that I am able to see u201CDescription which I have givenu201D , u201CLogical Systemu201D and u201CData Targetu201D.
    I donu2019t what to mention here in the options?
    Thanks,
    Nithi.
    Pls guide me , if I have missed out any steps.

  • How to create a folder in RSANWB transaction to contain APD

    Hi,
    How I can create folder (application) in RSANWB transaction to assign a APD in a new folder?
    Regards,
    Mukul

    Hi Mukul,
    I am not sure you can create your own application area.
    Based on the application area you choose, you are given a set of data sources , transformations and data targets.
    I think, SAP have reserved the name space of the application areas and allowed them for peculiar uses, by enabling only a set of objects to work with in them.
    Hope this helps,
    Regards,
    Sunmit.

  • APD issue, Data not showing correctly in APD.

    Hi All,
    Please guys help me with this APD issue that I am facing.
    There is an APD created whose target is a file and with one routine. Here the purpose of the routine was mostly just to sequence the fields the way I want them, and only to show certain ones, also to delete all KF that are zero.(which is commented out).
    No matter what I do, it always gets data which has the key figures as all zeros.  I put some code in there to delete the data which is all zeros but commented it out, because otherwise then it writes zero records.
    The code part which delete all KF that are zero is commented out. Now we are getting the file data with commented code and without commenting code same.
    The thing is, in Bex the query from which we are fetching data is showing proper data with zeroes as well as KF with values. But the same APD is showing only the data whose KF's are zeroes.
    I am pasting the routine here:
    REPORT RSAN_WB_ROUTINE_TEMP_REPORT .
    TYPES: BEGIN OF y_source_fields ,
             COUNTRY TYPE /BI0/OICOUNTRY ,
             SALESORG TYPE /BI0/OISALESORG ,
             /BIC/ZFCSTGRP TYPE /BIC/OIZFCSTGRP ,
             PLANT TYPE /BI0/OIPLANT ,
             MATERIAL TYPE /BI0/OIMATERIAL ,
             FISCPER TYPE /BI0/OIFISCPER ,
             KYF_0001 TYPE /BIC/OIZBAS_FCST ,
             KYF_0002 TYPE /BIC/OIZTUN_QTY ,
             KYF_0002_UNIT TYPE MEINS ,
             KYF_0003 TYPE /BIC/OIZCOR_FCST ,
             KYF_0004 TYPE /BIC/OIZTOT_FRCT ,
             KYF_0005 TYPE /BIC/OIZTER_TFCT ,
           END OF y_source_fields .
    TYPES: yt_source_fields TYPE STANDARD TABLE OF y_source_fields .
    TYPES: BEGIN OF y_target_fields ,
             COUNTRY TYPE /BI0/OICOUNTRY ,
             SALESORG TYPE /BI0/OISALESORG ,
             /BIC/ZFCSTGRP TYPE /BIC/OIZFCSTGRP ,
             PLANT TYPE /BI0/OIPLANT ,
             MATERIAL TYPE /BI0/OIMATERIAL ,
             FISCPER TYPE /BI0/OIFISCPER ,
             ZBAS_FCST TYPE /BIC/OIZBAS_FCST ,
             ZTUN_QTY TYPE /BIC/OIZTUN_QTY ,
             BASE_UOM TYPE /BI0/OIBASE_UOM ,
             ZCOR_FCST TYPE /BIC/OIZCOR_FCST ,
             ZTOT_FRCT TYPE /BIC/OIZTOT_FRCT ,
             ZTER_TFCT TYPE /BIC/OIZTER_TFCT ,
           END OF y_target_fields .
    TYPES: yt_target_fields TYPE STANDARD TABLE OF y_target_fields .
    Begin of type definitions -
    *TYPES: ...
    End of type definitions -
    FORM compute_data_transformation
         USING     it_source TYPE yt_source_fields
                   ir_context TYPE REF TO if_rsan_rt_routine_context
         EXPORTING et_target TYPE yt_target_fields .
    Begin of transformation code -
      DATA: ls_source TYPE y_source_fields,
            ls_target TYPE y_target_fields.
      LOOP AT it_source INTO ls_source.
       IF ls_source-KYF_0001 = 0
       AND ls_source-KYF_0002 = 0
       AND ls_source-KYF_0003 = 0
       AND ls_source-KYF_0004 = 0
       AND ls_source-KYF_0005 = 0.
         DELETE it_source.
         EXIT.
       ENDIF.
        MOVE-CORRESPONDING ls_source TO ls_target.
        APPEND ls_target TO et_target.
      ENDLOOP.
    End of transformation code -
    ENDFORM.
    End of transformation code -
    ENDFORM.
    Please help me and reply. Good answers are appreciated and rewarded with points.
    Thanks,
    Sumisha Subramanian.

    Hi All,
    Please guys help me with this APD issue that I am facing.
    There is an APD created whose target is a file and with one routine. Here the purpose of the routine was mostly just to sequence the fields the way I want them, and only to show certain ones, also to delete all KF that are zero.(which is commented out).
    No matter what I do, it always gets data which has the key figures as all zeros.  I put some code in there to delete the data which is all zeros but commented it out, because otherwise then it writes zero records.
    The code part which delete all KF that are zero is commented out. Now we are getting the file data with commented code and without commenting code same.
    The thing is, in Bex the query from which we are fetching data is showing proper data with zeroes as well as KF with values. But the same APD is showing only the data whose KF's are zeroes.
    I am pasting the routine here:
    REPORT RSAN_WB_ROUTINE_TEMP_REPORT .
    TYPES: BEGIN OF y_source_fields ,
             COUNTRY TYPE /BI0/OICOUNTRY ,
             SALESORG TYPE /BI0/OISALESORG ,
             /BIC/ZFCSTGRP TYPE /BIC/OIZFCSTGRP ,
             PLANT TYPE /BI0/OIPLANT ,
             MATERIAL TYPE /BI0/OIMATERIAL ,
             FISCPER TYPE /BI0/OIFISCPER ,
             KYF_0001 TYPE /BIC/OIZBAS_FCST ,
             KYF_0002 TYPE /BIC/OIZTUN_QTY ,
             KYF_0002_UNIT TYPE MEINS ,
             KYF_0003 TYPE /BIC/OIZCOR_FCST ,
             KYF_0004 TYPE /BIC/OIZTOT_FRCT ,
             KYF_0005 TYPE /BIC/OIZTER_TFCT ,
           END OF y_source_fields .
    TYPES: yt_source_fields TYPE STANDARD TABLE OF y_source_fields .
    TYPES: BEGIN OF y_target_fields ,
             COUNTRY TYPE /BI0/OICOUNTRY ,
             SALESORG TYPE /BI0/OISALESORG ,
             /BIC/ZFCSTGRP TYPE /BIC/OIZFCSTGRP ,
             PLANT TYPE /BI0/OIPLANT ,
             MATERIAL TYPE /BI0/OIMATERIAL ,
             FISCPER TYPE /BI0/OIFISCPER ,
             ZBAS_FCST TYPE /BIC/OIZBAS_FCST ,
             ZTUN_QTY TYPE /BIC/OIZTUN_QTY ,
             BASE_UOM TYPE /BI0/OIBASE_UOM ,
             ZCOR_FCST TYPE /BIC/OIZCOR_FCST ,
             ZTOT_FRCT TYPE /BIC/OIZTOT_FRCT ,
             ZTER_TFCT TYPE /BIC/OIZTER_TFCT ,
           END OF y_target_fields .
    TYPES: yt_target_fields TYPE STANDARD TABLE OF y_target_fields .
    Begin of type definitions -
    *TYPES: ...
    End of type definitions -
    FORM compute_data_transformation
         USING     it_source TYPE yt_source_fields
                   ir_context TYPE REF TO if_rsan_rt_routine_context
         EXPORTING et_target TYPE yt_target_fields .
    Begin of transformation code -
      DATA: ls_source TYPE y_source_fields,
            ls_target TYPE y_target_fields.
      LOOP AT it_source INTO ls_source.
       IF ls_source-KYF_0001 = 0
       AND ls_source-KYF_0002 = 0
       AND ls_source-KYF_0003 = 0
       AND ls_source-KYF_0004 = 0
       AND ls_source-KYF_0005 = 0.
         DELETE it_source.
         EXIT.
       ENDIF.
        MOVE-CORRESPONDING ls_source TO ls_target.
        APPEND ls_target TO et_target.
      ENDLOOP.
    End of transformation code -
    ENDFORM.
    End of transformation code -
    ENDFORM.
    Please help me and reply. Good answers are appreciated and rewarded with points.
    Thanks,
    Sumisha Subramanian.

  • Variable not working with APD

    Greetings,
    Have the following setup:
    - am trying to run a query in apd  as a source and output to a local file- want to only extract invoices which were billed  the last 7 days
    - in query designer, use a restriction for biling date --> use current calendar day(SAP exit)  variable to pull the last 7 days which were billed
    - when I run the query the report looks fine in analyzer - only pulls the last 7 days
    - when I run the apd, every billed dated for a business partner is displayed
    Why the variable only works when running the analyzer and not the apd?
    Any suggestions is greatly appreciated.
    B.A.

    Did you assign the query to the APD first an then added the variable to the query??? In that case, remove the query from the APD and re-assign to it.
    or try doing it in the Transformation of APD
    http://help.sap.com/saphelp_nw70/helpdata/en/6a/c70b40c6c01961e10000000a155106/content.htm

  • APD Issue - Text not showing up

    Hi All,
    We are configuring APD to run a 'query' and dump 'Large files' on to a directory path in Application server. APD is simple, Query - Transformation - PC File.
    This solution as such is working fine.  However, even if the 'Query' is set to display 'Text' (say for 'Customer' characteristics) the dump picks up 'Customer code' and not the Text.  Our solution also carries 'Hide or Rename column' transformation.
    Tapan

    Hi Tapan,
    I had to face same issue.
    We cannot get text through APD by BEx setting.
    By default APD reads Key from BEx query.
    Only way is to use "Join" from the text tables of master data.
    You are right that you need to use as many joins as the number of text fields needed.
    comming to the performance of the "Join", It did not impact much on the execution time (at least for me - I am using 3 joins to get descriptions for 3 fields -- APD with out joins takes approximately 10mins and with joins takes approximately 10mins 30sec to generate a huge file of 20MB)
    Hope this helps.
    Experts let us now if there is any other way for this.
    Thanks & Regards,
    Vidya Sagar

Maybe you are looking for

  • Inserting record in standard table

    Dear Sapians I want to insert a record in standard table PRPS for testing one scenario. we tried to insert through abap program but we are unable to insert data in the PSPNR field. Best regards Sukumaran.E

  • Why my index is not working

    I have applied an index on a table but after monitoring also i culd see tht it is not being used. Please advice how to make it possible to make use of an index. What types of hints i shuld use ???????????. Please help.

  • How can i connect and backup my ifone to laptop

    how can i connect and backup my ifone to laptop

  • Can't Open Final Cut Pro file

    Hello - I've been given an FCP file that I tried opening in my FCP 6.0.6 and it said "Files format too new for this version." So I assumed it was a FCP 7 file. So I downloaded free trial of FCP X to see if that would open it and it wouldn't either. D

  • Need to provide effort estimate for an implementation project.

    Hi All, I am working on an RFP and need to give effort estimates related to SD module. I need guidance for you experts in this case. The RFP is from an Indian client. The SD implementaion looks preety vanilla stuff as they have not mentioned any sale