Error in Open Hub Transformation Routine

Hi,
I created an Open Hub Destination which has 67 fields.
In the transformation, i am using 'routine' for one of the transformation rule.
In the routine, the target field type is not defined automatically and I am not able to change it. When i save the routine, it gives me error: E:The field string "_TY_S_TG_1" contains no fields.
Please help.
Thanks,
CH
CLASS routine DEFINITION.
  PUBLIC SECTION.
    TYPES:
      BEGIN OF tys_SC_1,
     InfoObject: 0MATERIAL Product.
        MATERIAL           TYPE /BI0/OIMATERIAL,
      END   OF tys_SC_1.
    TYPES:
      <b><i>BEGIN OF tys_TG_1,
     Field: TXTLG.
      END   OF tys_TG_1.</i></b> 
      PRIVATE SECTION.
    TYPE-POOLS: rsd, rstr.

Hi,
In the transformation, have you connected that rule to any target field of your destination? If not, then do that and then try to create the routine.
Regards,
Vaibhav

Similar Messages

  • Error while assigning constant to infoobject in open hub transformation

    While assigning constants(in rule details) to infoobject in a transformation in a open hub I am getting an error "The Object Name is not allowed to be empty"
    Can anyone tell my why this is happening? What should I do now?

    Hi,
    In the transformation, have you connected that rule to any target field of your destination? If not, then do that and then try to create the routine.
    Regards,
    Vaibhav

  • ABAP routine in Open hub transformation

    Hello Experts,
    My BW consultant created a Open Hub service. For creating a .csv file from a cube.
    For that he had a transformation defined between the source and destination fields.
    I was asked to write a routine to bring the negative sign to front for one of the fields.
    I wrote the following code.
    >    DATA V_OUT(25).
    >
    >   CLEAR V_OUT.
    >
    >    V_OUT = SOURCE_FIELDS-G_AVVWHC.
    >
    >      CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
    >        CHANGING
    >          VALUE = V_OUT.
    >
    >      RESULT = V_OUT.
    there was no error in the syntax check.
    Now, when the open hub is created/ran without routine(direct assignment) it works fine.
    But when the above code is ran, it TIMED OUT!!!!
    I am unable to find any reason for that.
    Could anybody please provide some guidance on this.
    Regards,
    DNP

    Hi Jerry,
    Thanks for your input again. I checked the dump in ST22 and looks like nothing is related to Routine-
    >Information on where terminated
    >    Termination occurred in the ABAP program "CL_SQL_STATEMENT==============CP" -
    >     in "EXECUTE_QUERY".
    >    The main program was "RSAWBN_START ".
    >
    >    In the source code you have the termination point in line 19
    >    of the (Include) program "CL_SQL_STATEMENT==============CM004".
    SourceCde
    >METHOD execute_query .
    >*
    >* Execute the given query.
    >*
    >
    >  DATA:
    >    stmt_ref TYPE REF TO data,
    >    sql_code TYPE i,
    >    sql_msg  TYPE dbsqlmsg,
    >    c        TYPE cursor.
    >
    >
    >* check if a statement was provided by the caller
    >  IF statement IS NOT SUPPLIED.
    >    RAISE EXCEPTION TYPE cx_parameter_invalid
    >          EXPORTING parameter = 'STATEMENT'.
    >  ENDIF.
    >
    >>  CALL 'C_DB_FUNCTION' ID 'FUNCTION'    FIELD 'DB_SQL'                     
    >>                       ID 'FCODE'       FIELD c_fcode_prepare_and_open
    >>                       ID 'CONNAME'     FIELD me->con_ref->con_name
    >>                       ID 'CONDA'       FIELD me->con_ref->con_da
    >>                       ID 'STMT_STR'    FIELD statement
    >>                       ID 'HOLD_CURSOR' FIELD hold_cursor
    >>                       ID 'INVALS'      FIELD me->parameters->param_tab
    >>                       ID 'CURSOR'      FIELD c
    >>                       ID 'SQLCODE'     FIELD sql_code
    >>                       ID 'SQLMSG'      FIELD sql_msg.
    > IF sy-subrc <> 0.
    >  31 *   call error handling macro
    >  32     m_handle_error sy-subrc sql_code sql_msg.
    >  33   ENDIF.
    >  34
    >  35 * reset the parameters in order to make the statement object reusable
    >  36 * for the next execution of an DML statement or query immediately;
    >  37 * but the cursor C itself must not be freed because it will still be
    >  38 * accessed by the created result set object; the allocated cursor
    Regards,
    DNP

  • Error in Open Hub Destination Transport

    Hi All,
    I am facing the following problem in transporting the openhub destination.
    We have created a Open Hub Destination with following settings.
    Destination Type :- 'FILE'
    We have ticked the application Server name checkbox.
    In the server name we have selected our BI Development Server.
    In the type of File Name we have selected 'Logical File Name'. We have maintained the details in AL11 and FILE transactions.
    While transporting it to our Quality system, it throws an error saying it does not recognize the server name (which is true, the server name is different in quality system).
    Needed your guidance if there is any setting like source system conversion where it would change the name?
    Also if you could guide me regarding the best practices to transport the entries we have created in AL11 and FILE it would be realy nice. I did a search on this in SDN and could not find any useful stuff for my case.
    Thanks in advance.

    Hi,
    Your TR is failing, may be because in your target system, application server file system is different.
    go to transaction AL11 and check that. If same folder structure is not available, get it created, or go to RSA1 and try changing your infospoke settings to point to the application sever file as in your target system.
    You have to point this path to Q server.
    ~AK

  • SQL Error in Open Hub Service

    Hi,
    I am trying to send data from an ODS to flat file using open hub service. The process of creation and activation of open hub destination etc etc went smoothly. When I tried extracting the ODS data by pressing execute button, the following error message appears in the status bar
    Error in SQL statement SAPSQL_FIELDLIST_TYPE /BIC/LL_ARDT
    Has anyone encountered this error. What is the reason for this error and how to fix this problem.
    With Regards,

    Hi,
    Anybody???
    The issue is still there and there is no ABAP dump.
    With Regards

  • Open Hub Destination error

    Hi,
    I am working on Open Hub (first time ofcourse). And performing following steps:-
    Modeling>Open Hub> InfoArea> Create Open Hub Destination> Output to File .csv. field names>DIrectory> activate> Create transformation> activate Transformations>Create DTP..Here I am getting an error that destination Open Hub is not active.
    Can anyone please tell me am i missing any step here?
    Thanks

    Hi...
    Always bear in mind that the OHD, once created, should be saved and activated, before creating any transformations or DTPs for it.
    And each time the OHD is changed, all the objects corresponding to it... (The transformations and the DTPs) should be activated.
    Hope this helps.
    Thanks
    Sree Ramya Lanka

  • Open Hub with DataSource as Source of Transformation

    Hello,
    I have created an Open Hub Destination to a database table and activated it.  I now try to create a transformation with the new open hub as the destination and a custom datasource as the source of the transformation.
    I get an error message that says "Cannot connect DataSource to an open hub destination".  We are on BI 2004s service pack 12.  I was able to perform this task successfully on previous support packs.
    For instance, I cannot open an existing transformation from a datasource to the open hub that was created before the application of the support packs.  I get the same error message.
    Any suggestions?
    Thanks for your help,
    Jason

    Hi Michael,
    I was loading directly from the DataSource into a database table because I was only going to use the table as a lookup table in a transformation.  The data doesn't really need to be in a BI object.
    I did the same procedure one other time while we were on service pack 6, and it worked fine.
    Anyway, I have loaded the lookup data into a DSO and everything is fine.  Thanks for your helpful response.
    Regards,
    Jason

  • Error in Transporting Open Hub Destination Objects

    Hi Experts,
    When i transport the open-hub destination to Quality server from development, the error No Rule Type Exists occurs while activating the transformation.
    The objects are transported but transformation & DTPs are inactive.
    Please assist as this is for the first time Open-Hubs are being transported in my system.
    Any help will be greatly appreciated.
    Thanks,
    Sumit

    Hi,
    the return code is 8
    I checked and here is error log:-
    Start of the after-import method RS_TRFN_AFTER_IMPORT for object type(s) TRFN (Activation Mode)    
       Activation of Objects with Type Transformation                                                      
       Checking Objects with Type Transformation                                                          
       Checking Transformation 08FM6JIPU6MCLHM2LWBY02OT6SXOPDNY                                            
       No rule exists                                                                               
    Checking Transformation 09RS1PONVSGIHIJEHRGDCWPP4UD87TBY                                            
       No rule exists                                                                               
    Checking Transformation 0MJTLNXZAUI7SKRWPKEFUIOCMB8X5TWQ                                            
       No rule exists                                                                               
    Saving Objects with Type Transformation      
    Thanks,
    Sumit

  • Data Services - Open hub read - No Open Hub DTP error

    Hi,
    I have created a open hub destination in BW (7.0 SP21), created transformation, DTP and process chain. In Data Services (3.2) I have created flow, job etc. and every thing seems to be as expected. However when I start the job in DS it terminates with an error:
    1136     5624     BIW-230334     13-11-2009 12:28:22     Process Chain <ZTEST2> of Open Hub destination <ZTEST> at SAP system <.......> no more contains Open Hub DTP. Please reimport the Open Hub destination to execute the appropriate Process Chain.
    I've tried re-activating everything in BW and also re-importing the OHD in BW, but nothing works. I've even tried to re-create everything from scratch. The process chain I've created do indeed contain an Open Hub DTP.
    One addtional question: I've activated the process chain, but do I also need to schedule it in BW (like you do with e.g. process chains for time points to be used in Broadcasting)? Note, I've tried both scheduling/no scheduling and does not work either way.
    Any ideas/suggestions?
    Thanks in advance,
    Jacob

    You must implement following SAP Notes in SAP systems in order to make Data Services Open Hub functionality work correctly:
    SAP Note  1270828 : (Open Hub Process chain is not imported into Data Services repository).
    SAP Note  1294774:  (Open Hub import failed - when you call the module RSB_API_OHS_DEST_SETPARAMS, th system tries to open a GUI)
    SAP Note 1330568 version 3: (This note has fixed "Process Chain <ZTEST2> of Open Hub destination <ZTEST> at SAP system <.......> no more contains Open Hub DTP. Please reimport the Open Hub destination to execute the appropriate Process Chain").
    SAP Note 1079698 - 70SP16 (Enable check box "Automatically Repeat Red Requests in Process Chain" in the DTP Execute)
    SAP Note 1346049:  (Error 028(OSOH): Request <n> cannot be locked.)
    SAP Note 1338465 #with 1293589 as pre-requisite: (The ABAP/4 Open SQL array insert results in duplicate database records.)
    SAP Note 1342955: (0 data records transferred)
    Edited by: Ajit Dash on Nov 13, 2009 10:37 PM
    Edited by: Ajit Dash on Nov 13, 2009 10:39 PM
    Edited by: Ajit Dash on Nov 13, 2009 10:39 PM

  • Transformations on Datasource for Open Hub Services

    Dear all,
         I have created a Generic Datasource on a transparent table. Following which  have created an Open hub service on this datasource. Now am unable to create the thansformations on this. I encountered the following error "Cannot connect DataSource to an open hub destination ". 
    Please let me know whether it is possible to generate Transformations for Open hubs on Datasource.
    If not, let me know any procedure to populate data from generic datasource.
    Kind Regards,
    Sunitha

    Hi,
    connection with an datasource is not possible. But, try to connect the datasource to with an infosource and use the infosource as a source for the open hub. maybe this works.
    cheers
    Juergen

  • Open hub error when generating file in application server

    Hi, everyone.
    I'm trying to execute an open hub destination that save the result as a file in the application server.
    The issue is: in production environment we have two application servers, XYZ is the database server, and A01 is the application server. When I direct the open hub to save file in A01 all is working fine. But when I change to save to XYZ I´m getting the following error:
    >>> Exception in Substep Start Update...
    Message detail: Could not open file "path and file" on application server
    Message no. RSBO214
    When I use transaction AL11, I can see the file there in XYZ filesystem (with data and time correspondent to execution), but I can´t view the content and size looks like be zero.
    Possible causes I already checked: authorization, disk space, SM21 logs.
    We are in SAP BW 7.31 support package 6.
    Any idea what could be the issue or where to look better?
    Thanks and regards.
    Henrique Teodoro

    Hi, there.
    Posting the resolution for this issue.
    SAP support give directions that solved the problem. No matter in which server (XYZ or A01) I logon or start a process chains, the DTP job always runs in A01 server, and it causes an error since the directory doesn´t exist in server XYZ.
    This occurs because DTP settings for background job was left blank. I follows these steps to solve the problem:
    - open DTP
    - go to "Settings for Batch Manager"
    - in "Server/Host/Group on Which Additional Processes Should Run" I picked the desired server
    - save
    After that, no matter from where I start the open hub extraction, it always runs in specified server and saves the file accordingly.
    Regards.
    Henrique Teodoro

  • Open Hub DTP issue (Error 21 when writing to the local workstation)

    Hi,
    I am using an openhub destination to output my csv file. Its a local workstation share folder. Data Provider got around 50000 rows (expecting a 40MB file). When ever I execute the DTP, it run for first data package and fell down with below error message.
    Error 21 when writing to the local workstation
    Error while updating to target XXXXXXX (type Open Hub Destination)
    Operation  could not be carried out for
    Exception CX_RS_FAILED logged
    Exception CX_RS_FAILED logged
    Sometimes the file get created with partial entries, most of the times the file wont even get created. I created new dtps and tried the same. Changed the package size, servers, parallel processes etc, but of no use.
    Thanks Neo

    Hi Neo,
    Did you try to define the logical/physcal file path from tcode FILE? If not can you try to use this option and see if it works.
    Also can you change your DTP settings by reducing the data packet size to see if your facing this error message?
    Thanks
    Abhishek Shanbhogue

  • Syntax error in Transformation routine

    Hi Folks,
    We are In SP 17.
    I have migrated standard 0bpartner_attr transfer rules to a transformation with syntax errors.
    I have a routine for a gender, Valid From and Valid To its giving the following erorr.
    E:Field "TRAN_STRUCTURE-VALID_FROM" is unknown. It is neither in one of
    the specified tables nor defined by a "DATA" statement. "DATA"
    statement.
    the following is the routine code for Gender.
    PROGRAM trans_routine.
          CLASS routine DEFINITION
    CLASS lcl_transform DEFINITION.
      PUBLIC SECTION.
    Attributs
        DATA:
          p_check_master_data_exist
                TYPE RSODSOCHECKONLY READ-ONLY,
    *-    Instance for getting request runtime attributs;
        Available information: Refer to methods of
        interface 'if_rsbk_request_admintab_view'
          p_r_request
                TYPE REF TO if_rsbk_request_admintab_view READ-ONLY.
      PRIVATE SECTION.
        TYPE-POOLS: rsd, rstr.
      Rule specific types
        TYPES:
          BEGIN OF tys_SC_1,
         Field: XSEXM Male.
            XSEXM           TYPE C LENGTH 1,
         Field: XSEXF Female.
            XSEXF           TYPE C LENGTH 1,
         Field: XSEXU Unknown.
            XSEXU           TYPE C LENGTH 1,
         Field: RECORD.
            RECORD           TYPE RSARECORD,
          END   OF tys_SC_1.
        TYPES:
          BEGIN OF tys_TG_1,
         InfoObject: 0GENDER Gender.
            GENDER           TYPE /BI0/OIGENDER,
          END   OF tys_TG_1.
    $$ begin of global - insert your declaration only below this line  -
    ... "insert your code here
    $$ end of global - insert your declaration only before this line   -
        METHODS
          compute_0GENDER
            IMPORTING
              request                  type rsrequest
              datapackid               type rsdatapid
              SOURCE_FIELDS              type tys_SC_1
            EXPORTING
              RESULT                   type tys_TG_1-GENDER
              monitor                  type rstr_ty_t_monitor
            RAISING
              cx_rsrout_abort
              cx_rsrout_skip_record
              cx_rsrout_skip_val.
        METHODS
          invert_0GENDER
            IMPORTING
              i_th_fields_outbound         TYPE rstran_t_field_inv
              i_r_selset_outbound          TYPE REF TO cl_rsmds_set
              i_is_main_selection          TYPE rs_bool
              i_r_selset_outbound_complete TYPE REF TO cl_rsmds_set
              i_r_universe_inbound         TYPE REF TO cl_rsmds_universe
            CHANGING
              c_th_fields_inbound          TYPE rstran_t_field_inv
              c_r_selset_inbound           TYPE REF TO cl_rsmds_set
              c_exact                      TYPE rs_bool.
    ENDCLASS.                    "routine DEFINITION
    $$ begin of 2nd part global - insert your code only below this line  *
    $$ end of rule type
        TYPES:
          BEGIN OF tys_TG_1_full,
         InfoObject: 0BPARTNER Business Partner.
            BPARTNER           TYPE /BI0/OIBPARTNER,
         InfoObject: 0BP_ACTITL1 First Academic Title.
            BP_ACTITL1           TYPE /BI0/OIBP_ACTITL1,
         InfoObject: 0BP_ACTITL2 Second Academic Title.
            BP_ACTITL2           TYPE /BI0/OIBP_ACTITL2,
         InfoObject: 0BP_BTHNAME BP: Person's Name at Birth.
            BP_BTHNAME           TYPE /BI0/OIBP_BTHNAME,
         InfoObject: 0BP_CAT Business Partner Category.
            BP_CAT           TYPE /BI0/OIBP_CAT,
         InfoObject: 0BP_CONS Business Partner (Consolidated/Cleansing).
            BP_CONS           TYPE /BI0/OIBP_CONS,
         InfoObject: 0BP_CONTACT BP: Contact Permission.
            BP_CONTACT           TYPE /BI0/OIBP_CONTACT,
         InfoObject: 0BP_EXTERN BP Number in External System.
            BP_EXTERN           TYPE /BI0/OIBP_EXTERN,
         InfoObject: 0BP_FSTNAME BP: Person's First Name.
            BP_FSTNAME           TYPE /BI0/OIBP_FSTNAME,
         InfoObject: 0BP_GROUP Business Partner Grouping.
            BP_GROUP           TYPE /BI0/OIBP_GROUP,
         InfoObject: 0BP_GRPNAM1 BP: Name 1 (Group).
            BP_GRPNAM1           TYPE /BI0/OIBP_GRPNAM1,
         InfoObject: 0BP_GRPNAM2 BP: Name 2 (Group).
            BP_GRPNAM2           TYPE /BI0/OIBP_GRPNAM2,
         InfoObject: 0BP_GRPTYPE BP: Group Type.
            BP_GRPTYPE           TYPE /BI0/OIBP_GRPTYPE,
         InfoObject: 0BP_LSTNAME BP: Person's Surname.
            BP_LSTNAME           TYPE /BI0/OIBP_LSTNAME,
         InfoObject: 0BP_MAR_STA BP: Marital Status.
            BP_MAR_STA           TYPE /BI0/OIBP_MAR_STA,
         InfoObject: 0BP_MDLNAME BP: Person's Middle Name or Second First
    *Name.
            BP_MDLNAME           TYPE /BI0/OIBP_MDLNAME,
         InfoObject: 0BP_SECNAME BP: Person's Second Surname.
            BP_SECNAME           TYPE /BI0/OIBP_SECNAME,
         InfoObject: 0CHANGEDBY Changed by.
            CHANGEDBY           TYPE /BI0/OICHANGEDBY,
         InfoObject: 0CH_AT Time of Last Change.
            CH_AT           TYPE /BI0/OICH_AT,
         InfoObject: 0CH_ON Last changed on.
            CH_ON           TYPE /BI0/OICH_ON,
         InfoObject: 0CREATEDBY Name of person who created the object.
            CREATEDBY           TYPE /BI0/OICREATEDBY,
         InfoObject: 0CREATEDON Date on which the record was created.
            CREATEDON           TYPE /BI0/OICREATEDON,
         InfoObject: 0CREA_TIME Time Created.
            CREA_TIME           TYPE /BI0/OICREA_TIME,
         InfoObject: 0GENDER Gender.
            GENDER           TYPE /BI0/OIGENDER,
         InfoObject: 0LEGALFORM Legal Status of Organization.
            LEGALFORM           TYPE /BI0/OILEGALFORM,
         InfoObject: 0NAME_ORG1 BP: Organization Name 1.
            NAME_ORG1           TYPE /BI0/OINAME_ORG1,
         InfoObject: 0NAME_ORG2 BP: Organization Name 2.
            NAME_ORG2           TYPE /BI0/OINAME_ORG2,
         InfoObject: 0NAME_ORG3 BP: Organization Name 3.
            NAME_ORG3           TYPE /BI0/OINAME_ORG3,
         InfoObject: 0NAME_ORG4 BP: Organization Name 4.
            NAME_ORG4           TYPE /BI0/OINAME_ORG4,
         InfoObject: 0NATION Nationality.
            NATION           TYPE /BI0/OINATION,
         InfoObject: 0TITLE_SPPL Name Supplement, for example, Noble Title
            TITLE_SPPL           TYPE /BI0/OITITLE_SPPL,
         InfoObject: 0BP_TYPE Partner:Partner Type.
            BP_TYPE           TYPE /BI0/OIBP_TYPE,
         InfoObject: 0GN_PAR_SSY Source System of a Partner.
            GN_PAR_SSY           TYPE /BI0/OIGN_PAR_SSY,
         InfoObject: 0LOGSYS Source System.
            LOGSYS           TYPE RSDLOGSYS,
         InfoObject: 0RECORDMODE BW Delta Process: Record Mode.
            RECORDMODE           TYPE RODMUPDMOD,
         InfoObject: 0BP_GUID GUID of Business Partner.
            BP_GUID           TYPE /BI0/OIBP_GUID,
         InfoObject: 0BPDATEFROM GP Attributes Valid from.
            BPDATEFROM           TYPE /BI0/OIBPDATEFROM,
         InfoObject: 0BPDATETO GP Attributes Valid to.
            BPDATETO           TYPE /BI0/OIBPDATETO,
         Field: RECORD Data record number.
            RECORD           TYPE RSARECORD,
          END   OF tys_TG_1_full.
    Additional declaration for transfer rule interface
      DATA:
        g_t_errorlog TYPE rssm_t_errorlog_int,
        RECORD_ALL   LIKE SY-TABIX.
    global definitions from transfer rules
    DATA: gs_cob_pro TYPE rsd_s_cob_pro,
          gt_viobj   TYPE rsd_t_viobj,
          gs_viobj   TYPE rsd_s_viobj.
    DATA:   l_s_errorlog TYPE rssm_s_errorlog_int,
            l_text TYPE string.
    FORM compute_BPDATEFROM
       CHANGING
        RESULT         TYPE tys_TG_1_full-BPDATEFROM
        RETURNCODE     LIKE sy-subrc
        ABORT          LIKE sy-subrc
      RAISING
        cx_sy_arithmetic_error
        cx_sy_conversion_error.
      INCLUDE rs_bct_bupa_form_valid_from.
    ENDFORM.                    "BPDATEFROM
    FORM compute_BPDATETO
       CHANGING
        RESULT         TYPE tys_TG_1_full-BPDATETO
        RETURNCODE     LIKE sy-subrc
        ABORT          LIKE sy-subrc
      RAISING
        cx_sy_arithmetic_error
        cx_sy_conversion_error.
      INCLUDE rs_bct_bupa_form_valid_to.
    ENDFORM.                    "BPDATETO
    FORM compute_GENDER
       CHANGING
        RESULT         TYPE tys_TG_1_full-GENDER
        RETURNCODE     LIKE sy-subrc
        ABORT          LIKE sy-subrc
      RAISING
        cx_sy_arithmetic_error
        cx_sy_conversion_error.
    INCLUDE rs_bct_bupa_form_gender.
    ENDFORM.                    "GENDER
    FORM compute_GN_PAR_SSY
       CHANGING
        RESULT         TYPE tys_TG_1_full-GN_PAR_SSY
        RETURNCODE     LIKE sy-subrc
        ABORT          LIKE sy-subrc
      RAISING
        cx_sy_arithmetic_error
        cx_sy_conversion_error.
    INCLUDE rs_bct_bupa_form_gn_par_ssy.
    ENDFORM.                    "GN_PAR_SSY
    $$ end of 2nd part global - insert your code only before this line   *
          CLASS routine IMPLEMENTATION
    CLASS lcl_transform IMPLEMENTATION.
      METHOD compute_0GENDER.
      IMPORTING
        request     type rsrequest
        datapackid  type rsdatapid
        SOURCE_FIELDS-XSEXM TYPE C LENGTH 000001
        SOURCE_FIELDS-XSEXF TYPE C LENGTH 000001
        SOURCE_FIELDS-XSEXU TYPE C LENGTH 000001
       EXPORTING
         RESULT type tys_TG_1-GENDER
        DATA:
          MONITOR_REC    TYPE rsmonitor.
    *$*$ begin of routine - insert your code only below this line        *-*
      Data:
        l_s_error_log    type rssm_s_errorlog_int,
        l_subrc          type sy-tabix,
        l_abort          type sy-tabix,
        ls_monitor       TYPE rsmonitor,
        ls_monitor_recno TYPE rsmonitors.
    REFRESH:
      monitor,
      monitor_recno.
    Migrated transfer rule call
      Perform compute_GENDER
        CHANGING
          RESULT
          l_subrc
          l_abort.
    *-- Convert Messages in Transformation format
        LOOP AT G_T_ERRORLOG INTO l_s_error_log.
          move-CORRESPONDING l_s_error_log to MONITOR_REC.
          append monitor_rec to MONITOR.
        ENDLOOP.
        IF l_subrc <> 0.
          RAISE EXCEPTION TYPE cx_rsrout_skip_val.
        ENDIF.
        IF l_abort <> 0.
          RAISE EXCEPTION TYPE CX_RSROUT_ABORT.
        ENDIF.
    $$ end of routine - insert your code only before this line         -
      ENDMETHOD.                    "compute_0GENDER
          Method invert_0GENDER
          This subroutine needs to be implemented only for direct access
          (for better performance) and for the Report/Report Interface
          (drill through).
          The inverse routine should transform a projection and
          a selection for the target to a projection and a selection
          for the source, respectively.
          If the implementation remains empty all fields are filled and
          all values are selected.
      METHOD invert_0GENDER.
    $$ begin of inverse routine - insert your code only below this line-
    ... "insert your code here
    $$ end of inverse routine - insert your code only before this line -
      ENDMETHOD.                    "invert_0GENDER
    ENDCLASS.                    "routine IMPLEMENTATION
    let me know how to correct the above code.
    thanks

    Hi,
    the field tran_structure is no more available. The name changed to source_fields. Additionally there is no datapak available. It is now source_fields_table. You might need to use field symbols to access the fields.
    regards
    Siggi

  • Help~open hub destination file is not open error!

    Hi all,
    I met a problem, i tried several times and all got error messages.
    It is about open hub destination, i want to use it to send some files to sever, but when i execute the DTP, i got system dump:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Runtime Errors         DATASET_NOT_OPEN
    Except.                CX_SY_FILE_OPEN_MODE
    Date and Time          26.10.2011 01:18:09
    Short text
        File "I:\usr\sap\Q26\DVEBMGS11\work\ZSS_O0021.CSV" is not open.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_RSB_FILE_APPLSRV===========CP" had to
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I have two open hub, one is fine ,but the rest one always get this error. Help..........

    Thanks! I checked my ID and found that i have the role to access this folder.
    Then i found that our Q system have two servers, A and B, for open hub i should run my process chain in system B, but i forgot that, so i got error. After i changed to sever B, i re-active my open hub and DTP, then re-fresh the process chain and re-executed it again, the error disappeared.

  • Error in Transformation Routine

    Hi all,
    I have  written a code in transformation routine. I have debugged the code. The code which I have written is working fine. The value in 'Result' is correct and till here the code executes without any error. After that , system throws an error which I cannot understand as this is the system generated code.
    I wanted to paste the error analysis here but i dont have any option to copy from there. Message class is "RSBK". Number is 299
    Any ideas?
    Regards,
    Aisha Ishrat
    ICI Pakistan Ltd.

    Hi AI,
       As I told you earlier ... jsut copy and paste the code I sent you in the end routine ... if the end routine contains your data then we are sure that the transformations have worked fine ... if it does not contain any data then we are sure something has gone wrong during the transformation.... you cannot find the problem until you are sure where it is happening.... lets work on this and get it out of our way... I am waiting for your response.
      Another point if anything has gone wrong while doing the transformations for location then the end routine will not have location info ... this is why I suggest you to put the code above in the end routine and debug ... this will give you a fair idea as to what has happened and where the problem arises.... Hope this helps.
    best regards,
    Kazmi

Maybe you are looking for

  • Export web analysis document from workspace to excel

    Hi all i have the problem regarding exporting the webanalysis document from workspace,i.e when i drilldown the webanalysis document to lowest level and right click on the report and select "export to excel " i am being prompted the webanalysis login

  • HSQL DB Identity & Auto Increment

    We are trying to write records to this table: create table location_groups group_id identity ,jdoversion integer ,jdoclass varchar(255) default 'path.impl.LocationGroup' not null ,group_name varchar(100) not null ,group_parent_id integer Package.jdo

  • Down loading ALV to excel sheet

    Hello guys, Im facing problem with ALV. The data which displayed in ALV report is not displaying in excel sheet. Normally the data is displaying but i have given one cond. in selection screen, if check box is not initial 4 more fields are adding to f

  • How to create payment term?

    Hello Experts, Payment term should be: Payable with next payment run, max 14 days from Document Date. Can you please let me know the possibility of creating such a payment term? Thanks in advance.

  • Question: Anybody know the relationship between raw temp & rgb temp?

    I am trying to normalize relative  temperature adjustments for proper application to both raw files and rgb  (e.g. tiff/jpeg). Presently I divide the raw temperature offset by 100 to keep from over correcting tiff/jpegs. This  works sub-optimally. -