Data validations in XI or ABAP report

Hi All,
          What kind of data validations should be done in XI and what kinds should be left for ABAP team to handle in the report or proxies?
Regards,
XIer

It depends on your message definitions.
For example, if you have external .xsd definitions and you basically want to check if the input XML is valid for that schema, you can easily achieve that in java coding (within a java mapping or a module).
Other than that, if you want to really validate the field values (validation against some possible values, expected formats, etc.) you have some alternatives. If it is only in a few fields and the logic is really simple, you could do it in mapping. But the recomendation would really to code the validation in the sender system itself (or create an application specific for that).
Regards,
Henrique.

Similar Messages

  • SAP HR data retriveal into LDAP using ABAP Report

    Hi ,
    Does anyone have an idea for extracting SAP HR Employee data into LDAP (Directory based service)by using any abap report and function module
    Rohit

    I'm also interested...
    @Rohit Kumar Shukla
    Did you already receive an answer?
    Kind regards,
    Mario Möllenbeck

  • Date Validation problem in form with report

    Hi,
    I am stuck on this date validation issue in a form with report that I am working on-
    I have an Active_date_start and an Active_date_end field. I want to validate the form in such a way that if the user enters the Active_date_end < active_date_start then it should error out appropriately asking to change the active_end_date . Also another problem is that the changes are made to the active_date_end they should reflect in the table. How do I accomplish this.
    Appreciate all the help offered.
    Thanks.

    Hi,
    Thanks for the code.Now the APPLY CHANGES works fine except that it throws an error when I change the end date to a date which is less than the start date . So it does show me my error and does not go further but also shows me the error -
    Invalid PL/SQL expression condition: ORA-06550: line 1, column 29: PLS-00306: wrong number
    or types of arguments in call to 'NVL' ORA-06550: line 1, column 7: PL/SQL: Statement
    ignored Invalid PL/SQL expression condition: ORA-06550: line 1, column 29: PLS-00306:
    wrong number or types of arguments in call to 'NVL' ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    I looked up the error number and it says its a generic error type where the error can be found on the line number specified. But in this case how and where do I look for the error line?. This is the code I am using-
    DECLARE
    vACTIVE_DATE_START DATE;
    vACTIVE_DATE_END DATE;
    BEGIN
    vACTIVE_DATE_START := TO_DATE(:P4_ACTIVE_DATE_START, 'DD/MM/YYYY');
    vACTIVE_DATE_END := TO_DATE(:P4_ACTIVE_DATE_END, 'DD/MM/YYYY');
    IF vACTIVE_DATE_END < vACTIVE_DATE_START THEN
    RETURN 'End date is before start date';
    ELSE
    RETURN NULL;
    END IF;
    END;
    My base table has the active_date_start as NOT NULL. Now I have the exact same code for APPLY CHANGES
    in other form and it works fine not giving the above error. I am at a loss to know how I can get rid of the error.
    Any suggestions!.
    Thanks in advance,
    A

  • Data Validation between BO and OBIEE reports

    How to validate a data in the BO and OBIEE reports are same?
    Plz send the necessary steps for validate.
    Is there any tool is used for validate the data in the BO and OBIEE reports are same?

    There is no tool for this - you will have to do this using manual checking. Define a test case, run the report on both systems, compare the results. Repeat.

  • ABAP report to read request details in data-target and delete

    Hi,
    Is there any abap report which I can run in background to read all request details (Request ID, Date) in a data target?
    And any ABAP report which can delete a particular request?
    Regards
    Vikrant

    Hi Vikrant,
    You can check Table RSREQDONE and RSREQICODS for all details about requests.
    About deletion you can try with standard function in InfoPackage when uploading.
    Ciao.
    Riccardo.

  • Abap Report including sales orders and delivery data.

    Hi Experts,
    I Want to develop a new abap report which would contain the data for sales orders and delivery.
    I want to fetch all the sales orders based on the ship date (LIKP-WADAT_IST) of the delievry.
    Could anyone please let me know how to fetch teh data or is their any function module which would help me to solve my problem.
    <Removed by moderator>
    Thanks,
    Komal.
    Moderator message : Spec dumping not allowed. Thread locked.
    Edited by: Vinod Kumar on Aug 10, 2011 1:25 PM

    post this in ABAP forum for quicker response.
    Regards
    Raja

  • Scheduling a background abap report to run on a specific date

    Hello Experts,
    I have an ABAP report I want to schedule in another program.
    Basically, I want to schedule it, so that it runs the next day (sy-datum + 1). I have used FM Job_open followed by submit and Job close, but the program is executed immediately.
    Below is the code snippet:
    v_datenext = sy-datum + 1.
    CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          delanfrep = ' '
          jobgroup  = ' '
          jobname   = jobname
          sdlstrtdt = v_datenext
          sdlstrttm = sy-uzeit
        IMPORTING
          jobcount  = jobcount.
        SUBMIT z_prg_spinterf
        WITH i_year  EQ v_subyrnext
        WITH i_month EQ app->g_str_header-f_month
        WITH i_dc    EQ 'B'
                                 USER sy-uname
                                 VIA JOB jobname
                                 NUMBER jobcount
                                 AND RETURN.
      starttime-sdlstrttm = sy-uzeit + 60.
    Close job
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount     = jobcount
          jobname      = jobname
         prddays      = 1
          sdlstrtdt    = v_datenext
          sdlstrttm    = starttime-sdlstrttm
          strtimmed    = starttimeimmediate
          targetsystem = host.
    The report z_prg_spinterf is getting executed immediately, which i dont want. I wanted it to be executed the next day.
    Can someone help find out the source of the error. Maybe I am missing out something.
    Thanks,
    Nitish.

    Hi
    1. go to transaction sm36
    2. select job wizard
    2.1 press continue
    2.2 Enter a job name say abc(user defined)
          Enter job class:- select priority say 'high priority"
    2.3press continue
    2.4 Select Abap program step
    2.5 press continue
    2.6 Enter the correct program name say"Z_REPORT"
    2.7 Enter the correct variant name say" v1" and press continue
    2.8 press continue
    2.9 Select job start condition: "Date/Time" radio button and press continue
    3.0 Enter the scheduled date: ie, date to which the report to be executed and give the desire time
    3.1 press continue
    3.2 Press complete
    3.3 If success the report will be executed
    To see the output of the report
    1. transaction sm36
    2. select own jobs
    3. Find ur job name .
    4. Press on spool, u will find the out put.

  • How to save the data of ABAP report into a notepad in desktop location???

    HI all,
    Can any one tell me how to transfer the data of ABAP report into a Notepad.
    Actually I have to schedule a ABAP report in background on daily basis and I want to transfer the
    whole record into Notepad.
    If any program is available for this..please clearify the relevent code for transferring.
    Thanks
    Rajeev

    declare a character type internal table.
    now move your data from it_data ( internal table with data ) into table itab.
    since you are running this report in background, you cannot save it to the desktop. Instead give any app server location
    data: itab(400) occurs 0 with header line.
    field-symbols: <fs1> type any.
    data: gv_file type rlgrap-filename default 'TEST.TXT'.
    data: gv_filepath type rlgrap-filename default <path>.
    LOOP AT it_data.
        DO 100 TIMES.
          ASSIGN COMPONENT sy-index OF STRUCTURE it_data TO <fs1>.
          IF sy-subrc = 0.
            CONCATENATE itab <fs1> INTO itab SEPARATED BY ' '.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
        SHIFT itab LEFT DELETING LEADING ' '.
        APPEND itab.
        CLEAR itab.
      ENDLOOP.
      concatenate gv_filepath '/' gv_file into gv_file.
      OPEN DATASET gv_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc = 0.
        LOOP AT itab.
          TRANSFER itab TO gv_file.
        ENDLOOP.
        CLOSE DATASET gv_file.
      ENDIF.

  • ABAP reports or BSPs for publishing R/3 data to Enterprise Portal

    Dear Friends,
      We have got scenario where we need develop a product.As part of that we have got some data in SAP R/3 that need to be published through Enterprise Portal.
    Before me there are the below options.
    1.To write ABAP reports and publish with the help of ITS.
    2.To go for BSPs.(understood WAS should be > 6.10 )
    3.To write some BAPIs and build the interface using portal as middleware.
    Pl. suggest me which one would be best option considering If the reports contain some graphs also.
    Your suggestions are greatly appreciated.
    Thanks in advance
    Mrutyunjay

    Thanks Gopi for your inputs,
    But I heard graphs in ABAP are very resource intensive.
    I would request to through some light on presenting the data graphically through EP if the data is collected through BAPIs from SAP R/3.
    Thanks in advance.
    regards
    Mrutyunjay

  • Export data from ABAP report to SAP BW system

    Hi Everyone,
    I have requirement to export data from the R/3 system from a ABAP report to BW system.
    Currently we are planning to create a Ztable to put the data into that, but I would like to know , is there a better way to do instead of going for a Ztable.
    Regards,
    Shobana.K

    Hi Shobana,
    is possible define a data-source in RSO2 with Function module as source.
    In this function module you define a table. During the loading data in BW from this datasource the system execute this function module and transfer the line of that table.
    In the function module you can repeat the code of the abap program.
    You can see the function module example (RSAX_BIW_GET_DATA_SIMPLE).
    Regards.
    Paolo Ardemagni

  • ABAP Report for IDOC data of perticular IDOC basic type

    Hi,
    I have requirment to create report to display the IDOC Data of the perticular IDOC type.
    However I believe in IDOC the data comes in raw format.
    Is there any standard TCODE wherein we can have IDOC data of perticular IDOC type.
    or Could you please let me know how is it possible to retrieve data from IDOC using SAP ABAP .
    Thanks
    Vinay
    Moderator message: (almost) duplicate post locked.
    Edited by: Thomas Zloch on May 2, 2011 12:39 PM

    Hi,
    Please find a sample code
    * Build Control records
    CONTROL_RECORD_OUT-MESTYP = MESTYP.
    CONTROL_RECORD_OUT-IDOCTP =  IDOC_TYPE.
    CONTROL_RECORD_OUT-RCVPRT = 'LS'.   " << Fill the receiver port type US/LS
    CONTROL_RECORD_OUT-RCVPRN = LOGSYS.
    * Build Data records
    *--- EDIDD40 data Here if you have multiple items then make a loop
    loop at i_itab.                   " i_itab contains the details about EDIDD40 fields
      IT_EDIDD-SEGNAM = SEGMENT.   " Will be EDIDD40
      IT_EDIDD-SDATA = i_itab.
    *--- Append the data
    APPEND IT_EDIDD.
    endloop.
    aRs

  • Calling and manipulating data on an Interactive Adobe form from ABAP report

    Dear All,
    Can you please tell me how to call an interactive adobe from from a custom adobe form?
    If so how can we pass and receive data between the interactive adobe form and the abap report program?
    Thank you.
    Regards,
    Prosenjit.

    Hi,
    It is possible to call an Interactive Adobe form from ABAP report and pass data into the form. If you search the forum, you will get many threads explaining the process. Let me know if you have any specific questions on this.
    Regards,
    Sanoosh

  • Without using GET PERNR, how to retierve data in HR ABAP Reports

    Hi Experts,
    How to retrieve the data without using GET PERNR, by using function modules in HR ABAP Reports.
    Thanks.
    Naveen.

    Hi,
    U can use HR_READ_INFOTYPE Function Module in Place of GET PERNR.
    Go through the following link it will give the example of that FM.
    http://www.experts-exchange.com/Database/Software/ERP/SAP/Q_20781600.html
    <REMOVED BY MODERATOR>
    Edited by: subas  Bose on Feb 15, 2008 2:46 PM
    Edited by: Alvaro Tejada Galindo on Feb 15, 2008 3:06 PM

  • Export data from the R/3 system from a ABAP report to BW system

    Hi Everyone,
    I have requirement to export data from the R/3 system from a ABAP report to BW system.
    Currently we are planning to create a Ztable to put the data into that, but I would like to know , is there a better way to do instead of going for a Ztable.
    Regards,
    Shobana.K

    Hi Shobha,
    In the second option as you mentioned sending the data to BI.
    1. Check when u click on second  option what is the target details that is showing?( Menas suppose if you send the data using Open Hub u will find the options like FF,Otherparty,etcc...).
    2. As you mentioned if you have option to upload the data to Table.Then you can load and u can create the Generic DS.
    Issues & Concern
                1. Need to think how the data will be poplated(Means how are going to maintain Delta info records table level before
                   populating to it)
                 2. whether Ztable should be refreshed before updating R/3 report data to Ztable.
    Based on the concerns verify your scenario.If  everything ok then u can proceed as per u r plan.
    Regards
    Ram.

  • How to create a ABAP report off of SRM box for live data?

    How to create a ABAP report off of SRM box for live data?
    Thanks in advance.
    York.

    you can try infoset query:
    STEP - A:
    1. Go to T Code RSQ02 and give the InfoSet name & select CREATE.
    2. Provide the Name(Description) and Data Source i.e. for eg here i take "DIRECT READ OF TABLE" = /BIC/AODS100. Then CONTINUE.
    3. Select what to Include in the 3 options available with the POPUP, here "INCLUDE ALL TABLE FIELDS". Then Check the fields and click GENERATE(one RED and WHITE round icon).
    4. Now provide the PACKAGE for the INFOSET. Come Back(F3).
    STEP - B: optional(If u want to create a new user group)
    1. Select ENVIRONMENT -> USER GROUPS. Provide the User Group name and CREATE.
    2. Provide Description and SAVE.
    3. Provide PACKAGE and SAVE. Come Back (F3) to the Initial Screen.
    4. Click Role/User Group Assignment. Select Newly Created User Group or an existing one. Then SAVE (CTRL + S). F3.
    STEP - C:
    1. Select ENVIRONMENT -> Queries. Provide the query name and CREATE.
    2. Select the INFOSET u have created and assigned the user group.
    3. Provide the Title and Select BASIC LIST. There you have to select (check) the fields you want to display, SAVE and then TEST. It will ask for Variant, just CONTINUE.

Maybe you are looking for