EhP5 WDA ESS: Not able to marke fields as mandatory

Hello Community,
currently I am customizing WDA ESS Scenarios on EhP5. I added some new fields in the method IF_FPM_GUIBB_FORM~GET_DEFINITION of the feeder class for the scenario.
The method has also an EXPORTING Parameter for the field descriptions (ET_FIELD_DESCRIPTION).
The table line is structure of FPMGB_T_FORMFIELD_DESCR and I did the following to mark some fields as 'mandatory':
READ TABLE et_field_description WITH KEY name = 'STRAS' ASSIGNING <fs_wa_mand_field>.
  <fs_wa_mand_field>-MANDATORY = abap_true.
  READ TABLE et_field_description WITH KEY name = 'PSTLZ' ASSIGNING <fs_wa_mand_field>.
  <fs_wa_mand_field>-MANDATORY = abap_true.
  READ TABLE et_field_description WITH KEY name = 'ORT01' ASSIGNING <fs_wa_mand_field>.
  <fs_wa_mand_field>-MANDATORY = abap_true.
  READ TABLE et_field_description WITH KEY name = 'ZZ_CITY_CODE' ASSIGNING <fs_wa_mand_field>.
  <fs_wa_mand_field>-MANDATORY = abap_true.
  READ TABLE et_field_description WITH KEY name = 'MELDEZETTEL' ASSIGNING <fs_wa_mand_field>.
  <fs_wa_mand_field>-MANDATORY = abap_true.
Now I expect, that the fields on the ESS scenario would have a red asterisk. But I am also able to save the data with not entering all neccessary data.
What I have to do, to mark the fields as mandatory?
Thank you and best regards, Christian

Hello community,
I've found the problem.
So in method IF_FPM_GUIBB_FORM~GET_DATA the table CT_FIELD_USAGE was overwritten. At the top of the method this table had the information about all mandatory field. But during the processing the table was overwritten and the information which fields are mandatory, as well.
So if you define the mandatoy fields at the bottom of the method you will get the red asterisk.
Here the code snippet:
FIELD-SYMBOLS <fs_wa_mand_field> TYPE FPMGB_S_FIELDUSAGE.
*** Define maddatory fields
  READ TABLE CT_FIELD_USAGE WITH KEY name = 'STRAS' ASSIGNING <fs_wa_mand_field>.
  <fs_wa_mand_field>-MANDATORY = abap_true.
  READ TABLE CT_FIELD_USAGE WITH KEY name = 'PSTLZ' ASSIGNING <fs_wa_mand_field>.
  <fs_wa_mand_field>-MANDATORY = abap_true.
  READ TABLE CT_FIELD_USAGE WITH KEY name = 'ORT01' ASSIGNING <fs_wa_mand_field>.
  <fs_wa_mand_field>-MANDATORY = abap_true.
  READ TABLE CT_FIELD_USAGE WITH KEY name = 'ZZ_CITY_CODE' ASSIGNING <fs_wa_mand_field>.
  <fs_wa_mand_field>-MANDATORY = abap_true.
  READ TABLE CT_FIELD_USAGE WITH KEY name = 'MELDEZETTEL' ASSIGNING <fs_wa_mand_field>.
  <fs_wa_mand_field>-MANDATORY = abap_true.
Thank you and best regards, Christian

Similar Messages

  • Why am I not able to mark "in" and "out" points in Final Cut Pro 6?

    I have a bunch of old tapes that I am trying to put on my computer.  I have Final Cut Pro 6 and everything hooks up nicely except I am not able to mark in and out points or use capture now.  Does anyone out there know why that would be the case?
    I appreciate any help I can get.

    What VTR? How is it controlled?
    What are your capture settings? Firewire Protocol?
    x

  • Buyer not able to change fields of SC in sourcing cockpit in SRM 7.0

    Hi
    We are on SRM 7.0 , SP 07 . We are in classic mode.
    Buyer is not able to change fields of shopping cart in sourcing cockpit like delivery date and quantity . He is able to add supplier and create PO . Even when he creates draft PO , he is not able to edit the fields of shopping cart like delivery date and quantity. Is it a standard Bug , is their any OSS SAP Note for this
    Regards
    Ashish

    As per SAP Standard BUYER can only vendor and Enter price and create  a follow on document.
    Buyer does not have a control to edit other data.
    Buyer wants to they can do it in ME21N ..PO
    not in the shopping cart

  • Not able to edit field entries in VCH2  t-code

    When i modifying values in "Change AP search-stretegy(ZB01):classification" screen it is not saving the new values.
    So thanks to help us in this regard.
    Steps : goto t-code VCH2 -> enter stretegy type and press enter - > ct shipto/material ->enter shipto party, material number and execute ->select the entry and click on selection criteria.
    Now here if i make any changes and come back to previous screen to save and then check my new values are not getting saved.
    So for this is there any settings has to be done or need to check in SAP standard program?
    Thanks to reply at the earliest.

    Hello Venkat,
    My requirement is to modify the field contents in VCH2 only.
    And i am not able to access the string given by you it says the string does not exists so thanks to verify this once again.
    Thanks,
    Devasing.

  • Not able to use fields from tables

    Hello,
    I have recently got Crystal Reports 2008, created an ODBC connection with our Progress database. I can see all tables, but when selecting, only a few would actually be usable - in the sense that even if I see the fields, I cannot use them in report design. When selecting a table in database Expert, it shows an icon only without the table name.
    I have tested the ODBC by successfully opening all tables in Excel. there are no restrictions on the tables
    I believe it might be some setting in Crystal. Can you help?
    Thank you.

    Hi,
    Sorry for the delay...
    I am using version 2008, database is an ODBC connection with a Progress database (called ASI).
    I am not sure about the driver.
    Ovi

  • Not able to select Field only option

    Dear All,
    I created a generic datasource based on a infoset query and enhanced the extract structure with a component zzvalov (amount). The idea is to fetch the amount from a different table writinga n user exit.
    Now, the filed ZZVALOV is by default in Hide mode in the extractor field selections. When I try to uncheck the Hidel field and select Field only option and save , I get an error message that OLTP has still some errors.
    Can anyone help to overcome this error. Is it mandatory to have the exit in place before I uncheck the Hide filed and select Field only ioption ? I did not get any warnings while activating the extract structure as well.
    Thanks in advance
    Regards,
    Srinivas

    Hi Srinivas,
    Please check:
    ['The OLTP Source still has errors|'The OLTP Source still has errors]
    [Re: OLTP error when appending a data source .|Re: OLTP error when appending a data source .]
    [Generic Datasource Error: The OLTP source still has errors|Generic Datasource Error: The OLTP source still has errors]
    [Re: The OLTP source still has errors  Message no. R8417|Re: The OLTP source still has errors  Message no. R8417]
    [Re: OLTP Contains still has errors.|Re: OLTP Contains still has errors.]

  • Not able to split field data

    Hi all,
    I am trying to split a string type filed, which data is  like L75401, I need to get the first 4 characters. Tried DIM on formula  - did not work (no error found on formula but when bring the formula to the report the formula  filed is blank)- however it did worked on other fields . I believe the reason could be due  this filed having numbers and letters in it  !?? any idea

    So that's what you meant, your original post said DIM and I could not see how that could possibly work
    mid(yourfield, 1,4)
    Should return same result.
    Ian

  • Marking fields as mandatory in VF01 transaction

    Hi Friends,
    Please refer to the below screen shot - we are posting the final billing to customer in SAP (post outbound delivery).
    Here we use the available fields under Foreign Trade/Customs tab - to mention details of shipping line & vessel name (it is fetched on output form).
    My question is can these fields be marked as mandatory, as many times users tend to miss filling these fields.
    The fields we want to mark as mandatory are "Transport-Departure" under Handling tab;
    "Office of Exit" & "Export customs off." under Geography tab;
    "Description" under Comments tab;
    Kindly advise.

    Anusha,
    Please do search the forum about notes as SAP notes is the support backbone provided by SAP itself to all its customers. You need to contact your basis team to get an S-ID. Check the links below, They should help you out
    How to get OSS ID ?
    How to see OSS Notes?
    OSS notes - how to view
    Thanks,
    Ravin

  • While Logging Clips, "I" and "O" keys not working to mark clips

    In FCP 5, I am logging clips
    in Capture Window in order
    to set up a Batch Capture
    I am not able to mark the clips'
    In and Out points using the
    "I" and "O" keys
    although I can by using the cursor
    to click in the Logging Tab of
    the Log and Capture Window
    how do I use the Keys?
    thanks

    They might be working fine and you might not know it.
    Mark i, play tape down mark o, hit log clip, give it a name and accept it and see what happens, if nada, write back.

  • Not able to get the taxonomy field value of meta data field type

    Hi Everyone,
    Not able to get the taxonomy filed value from the metadata filed type.
    Any one can help me on this.
    Label, TermGuid, ValidatedString are showing empty when i debug the code.
    Below is the code which i used to get the taxonomy filed value

    Hi,
    Can you please try getting this way?
    var taxonomyField = listItem.Fields.GetFieldByInternalName(fieldName) as TaxonomyField;
    if (taxonomyField.AllowMultipleValues)
    var fieldValuesCollection = listItem[taxonomyField.Title] as TaxonomyFieldValueCollection;
    return fieldValuesCollection.Select(x => new Guid(x.TermGuid)).ToList();
    else
    var fieldValue = listItem[taxonomyField.Title] as TaxonomyFieldValue;
    return new List<Guid>() { new Guid(fieldValue.TermGuid) };
    Hope it helps!
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • ESS EHP5: Appraisal document not working

    Hi,
    I am implementing performance appraisal (EHP5 and BP ESS 1.50) and am sorting out the very confusing scenario of EHP4 and EHP5 versions of appraisal documents. I am using the pmp version EHP5 and BP ESS 1.50 (BP ESS 1.41 not installed). I did basic setting in Object Setting and Apprsaisals (repla = X) and created a category and a basic template (Do I need to do this if I use the predefined version?).
    But when I run the iViews, I got a system dump from the pmp version ...
    Access via 'NULL' object reference not possible
    Error Code: ICF-IE-http .....RABAX_STATE -e: OBJECTS_OBJREF_NOT_ASSIGNED_NO
    I checked sap note 1319829 but our basis guy said we are ok with sap basis level (level 7)
    ... and this error from the flexible version:
    The Web Dynpro application was called up with the wrong URL parameters
    I checked some related notes about OBN configuration but they are only for EHP4. I've very little about EHP5. And from what i found, the EHP5 PMP version already takes care of OBN configuration in the iviews and launchpads.
    BF and extension sets are all on as far as I can see.
    My questions are: is BP ESS 1.4 needed to run appraisal for EHP5? Is Object setting configuration needed for EHP5 (predefined) which is abap based, since whe I tried the template (web layout), it shows BSP sicf bsp services not activated.
    Thanks

    Hi Luke
    May i request your help on below issue (I hav already raised a thread with heading "Infotype 24 - Appraisal Document not visible for Appraisee -  Urgent"
    I have following scenario in PMS (not using Talent Management)
    I am using Flexible PMS (Objective setting & Appraisals) with setting " HAP00 REPLA as A".
    HR is triggering the template through PHAP_CREATE giving Appraisee, Appraiser and Reviewer.
    After that, i am logging in through Appraisee id in the ECC and trying to see the document in Infotype 0024, tab (Appraisal where Appraisee / Appraiser)
    but i am not able to see the document however i am able to see the document for Appraiser in Infotype 0024, tab (Appraisal where Appraiser) when logging in through appraisers id in ECC
    May i request your expert opinion regarding the above mentioned issue.
    Note: Status Flow in Appraisal Template is correctly defined.
    Rgds
    AJ

  • Not Able to Generate Out of the Report by adding the new 2 fields

    Hi,
    I'm Very new to ABAP. I have created one report. after 2 new fields added they are EKNAM and EKGRP.
    The Thing is the remaining fields are displaying in the output. The Newly added fields are not displaying the out. I was able to add this 2 fields in the head of the report. But issue is not able to get the data on these 2 fields.
    Please see the below program and any one please help me out to display the data in this report for the fields eknam and ekgrp.
    TABLES: eban,
            lfa1,
            ekko,
            t024,
            v_username.
    DATA: BEGIN OF i_req_items OCCURS 10,
            ernam LIKE eban-ernam,         "Created by
            lifnr LIKE eban-lifnr,         "Desired vendor
            ebeln LIKE eban-ebeln,         "PO Number
            ebelp LIKE eban-ebelp,         "PO Item
            eknam LIKE t024-eknam,         "Pur.Grp Name
            ekgrp LIKE t024-ekgrp,         "Pur.Grp Number
            flief LIKE eban-flief,         "Fixed vendor
            name1 LIKE lfa1-name1,         "Vendor name
            badat LIKE eban-badat,         "Creation date
            erdat LIKE eban-erdat,         "Change date
            banfn LIKE eban-banfn,         "Requisition no.
            bnfpo LIKE eban-bnfpo,         "Req. item no.
            bsart LIKE eban-bsart,         "Document type
            knttp LIKE eban-knttp,         "Acct.assgmt category
            txz01 LIKE eban-txz01,         "PO item description
            menge LIKE eban-menge,         "Quantity
            preis LIKE eban-preis,         "Price
            peinh LIKE eban-peinh,         "Price unit
            value(14) TYPE p DECIMALS 2,   "Item Value
          END OF i_req_items.
    DATA: BEGIN OF i_reqs OCCURS 10,
            ernam LIKE eban-ernam,         "Created by
            persn LIKE usr21-persnumber,   "Person number
            uname LIKE adrp-name_text,     "User name
            lifnr LIKE eban-lifnr,         "Vendor
            name1 LIKE lfa1-name1,         "Vendor name
            badat LIKE eban-badat,         "Creation date
            banfn LIKE eban-banfn,         "Requisition no.
            bnfpo LIKE eban-bnfpo,         "Req. item no.
            bsart LIKE eban-bsart,         "Document type
            knttp LIKE eban-knttp,         "Acct.assgmt category
            txz01 LIKE eban-txz01,         "PO item description
            eknam like t024-eknam,         "Purchase Grp Name
            ekgrp like t024-ekgrp,         "Purchase Grp Number
            value(14) TYPE p DECIMALS 2,   "Item Value
          END OF i_reqs.
    DATA: BEGIN OF i_req_keys OCCURS 0,
            ernam LIKE eban-ernam,         "Created by
            lifnr LIKE eban-lifnr,         "Desired vendor
            erdat LIKE eban-erdat,         "Create or Change date
            banfn LIKE eban-banfn,         "Requisition no.
            bnfpo LIKE eban-bnfpo,         "Req. item no.
            eknam like t024-eknam,         "Purchase Grp Name
            ekgrp like t024-ekgrp,         "Purchase Grp number
          END OF i_req_keys.
    DATA: BEGIN OF i_req_keeper OCCURS 0,
            ernam LIKE eban-ernam,         "Created by
            lifnr LIKE eban-lifnr,         "Desired vendor
            banfn LIKE eban-banfn,         "Requisition no
          END OF i_req_keeper.
    DATA: wa_reqitems LIKE i_req_items.
    DATA: BEGIN OF i_export OCCURS 10,
           record(150) TYPE c,
          END OF i_export.
    CONSTANTS
    CONSTANTS:
          c_doccat       LIKE eban-bstyp  VALUE 'B',
          c_creind       LIKE eban-estkz  VALUE 'R',
          c_delflag      LIKE eban-loekz  VALUE 'L',
          c_write(5)     TYPE c   VALUE 'WRITE',
          c_slash(1)     TYPE c   VALUE '/',
    *start ESPZC U8DK900439
         c_delimiter    TYPE x   VALUE '09',
           c_delimiter    TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
    *end ESPZC U8DK900439
          c_sc(1)        TYPE c   VALUE ';',
          c_x(1)         TYPE c   VALUE 'X',
          c_usd(1)       TYPE c   VALUE '2',
          c_export LIKE authb-filename VALUE '/BAY2/UBEM_SPLIT_REQS'.
    WORKING VARIABLES
    DATA: w_report_id   LIKE syst-repid,
          w_sttime      LIKE syst-uzeit,
          w_rpt_pagno   LIKE syst-pagno,
          w_rc          LIKE sy-subrc,
          w_datelow     LIKE eban-badat,
          w_datehigh    LIKE eban-badat,
          w_export      LIKE c_export,
          w_records     TYPE i,
          w_message(50) TYPE c.
    TYPES number TYPE i.
    SELECTION SCREEN / PARAMETERS
    SELECTION-SCREEN BEGIN OF BLOCK org WITH FRAME TITLE text-001.
    PARAMETERS: p_purorg LIKE eban-ekorg OBLIGATORY DEFAULT 'US02'.
    SELECT-OPTIONS: s_doctyp FOR eban-bsart,
                    s_date FOR eban-badat.
    PARAMETERS: p_timper(2) TYPE n.
    SELECTION-SCREEN: COMMENT 37(37) text-002.
    SELECTION-SCREEN END OF BLOCK org.
    SELECTION-SCREEN BEGIN OF BLOCK outp WITH FRAME TITLE text-003.
    PARAMETERS: p_onlin  RADIOBUTTON GROUP outp DEFAULT 'X',
                p_servr  RADIOBUTTON GROUP outp.
    SELECTION-SCREEN END OF BLOCK outp.
    AT SELECTION SCREEN
    AT SELECTION-SCREEN.
      IF p_servr = c_x.
        CLEAR w_rc.
        PERFORM authority_check_dataset USING    w_export
                                        CHANGING w_rc.
        IF w_rc <> 0.
          MESSAGE e532 WITH text-006 w_export.
        ENDIF.
        CLEAR w_rc.
        PERFORM verify_unix_path_and_file CHANGING w_rc.
        IF w_rc <> 0.
          MESSAGE e531 WITH w_message.
        ENDIF.
      ENDIF.
      INITIALIZATION EVENT
    INITIALIZATION.
      PERFORM get_filename.
      MOVE  syst-uzeit  TO   w_sttime.
      MOVE  syst-repid  TO   w_report_id.
      CLEAR: w_rpt_pagno.
    START-OF-SELECTION.
      PERFORM get_data.
      IF p_onlin = c_x.
        IF w_records GT 0.
          PERFORM print_report_header.
          PERFORM write_report.
        ELSE.
          MESSAGE i531 WITH text-007.
        ENDIF.
      ELSEIF p_servr = c_x.
        PERFORM write_export.
      ENDIF.
    END-OF-SELECTION.
    ---- F O R M   R O U T I N E S -
    *&     FORM get_filename
    FORM get_filename.
      CALL FUNCTION 'FILE_GET_NAME'
        EXPORTING
          logical_filename = c_export
        IMPORTING
          file_name        = w_export
        EXCEPTIONS
          file_not_found   = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
      ENDIF.
    ENDFORM.                    " get_filename
      FORM authority_check_dataset
    FORM authority_check_dataset USING    p_filename
                                 CHANGING p_rc.
      CALL FUNCTION 'AUTHORITY_CHECK_DATASET'
        EXPORTING
          activity         = c_write
          filename         = p_filename
        EXCEPTIONS
          no_authority     = 1
          activity_unknown = 2
          OTHERS           = 3.
      p_rc = sy-subrc.
    ENDFORM.                    "authority_check_dataset
        FORM verify_unix_path_and_file
    FORM verify_unix_path_and_file CHANGING p_rc.
    *start ESPZC U8DK900439
    OPEN DATASET w_export FOR OUTPUT IN TEXT MODE
         MESSAGE w_message.
      OPEN DATASET w_export FOR OUTPUT IN TEXT MODE ENCODING DEFAULT
          MESSAGE w_message.
    *end ESPZC U8DK900439
      p_rc = sy-subrc.
    ENDFORM.                    "verify_unix_path_and_file
      FORM get_data
    FORM get_data.
      CLEAR w_datelow.
      CLEAR w_datehigh.
      w_datelow = s_date-low - p_timper.
    w_datehigh = s_date-high + p_timper.
      w_datehigh = s_date-high.
      SELECT ernam lifnr ebeln ebelp flief badat erdat banfn bnfpo bsart
            knttp menge preis peinh txz01
       FROM eban
       INTO CORRESPONDING FIELDS OF TABLE i_req_items
          WHERE bstyp = c_doccat
            AND estkz = c_creind
            AND knttp <> space
            AND bsart IN s_doctyp
            AND loekz <> c_delflag
            AND ekorg EQ p_purorg
           AND ( ( badat BETWEEN w_datelow and w_datehigh ) OR
            ( erdat BETWEEN w_datelow AND w_datehigh ) ).
            AND  erdat BETWEEN w_datelow AND w_datehigh.
      IF sy-subrc = 0.
        LOOP AT i_req_items.
          IF i_req_items-lifnr IS INITIAL.
            IF NOT i_req_items-flief IS INITIAL.
              MOVE i_req_items-flief TO i_req_items-lifnr.
              MODIFY i_req_items.
            ENDIF.
            IF NOT i_req_items-ebeln IS INITIAL.
              SELECT lifnr FROM ekko
                  INTO i_req_items-lifnr
                  WHERE ebeln = i_req_items-ebeln.
              ENDSELECT.
              MODIFY i_req_items.
            ENDIF.
          ENDIF.
          IF i_req_items-erdat GT i_req_items-badat.
            MOVE i_req_items-erdat TO i_req_items-badat.
            MODIFY i_req_items.
          ENDIF.
        ENDLOOP.
        PERFORM weed_out_unique_records.
        PERFORM apply_time_period.
        SORT i_req_items BY ernam lifnr banfn bnfpo.
        LOOP AT i_req_items.
          i_req_items-value = ( i_req_items-menge *
               ( i_req_items-preis / i_req_items-peinh ) ).
          MODIFY i_req_items.
        ENDLOOP.
    Getting vendor name from table LFA1 -
        CLEAR i_req_items.
        LOOP AT i_req_items.
          SELECT SINGLE name1 FROM lfa1
            INTO i_req_items-name1
              WHERE lifnr = i_req_items-lifnr.
          MODIFY i_req_items.
        ENDLOOP.
        LOOP AT i_req_items.
          MOVE-CORRESPONDING i_req_items TO i_reqs.
    Getting user name from view v_username -
          SELECT SINGLE name_text
           FROM v_username INTO i_reqs-uname
          WHERE bname = i_reqs-ernam.
          APPEND i_reqs.
        ENDLOOP.
      ENDIF.
      DESCRIBE TABLE i_reqs LINES w_records.
    ENDFORM.                        "Get_data
      FORM print_report_header
    FORM print_report_header.
      ADD  1   TO   w_rpt_pagno.
      CALL FUNCTION '/BAY2/UBEXBH_BAYER_HEADR_FUN'
        EXPORTING
          f_jobname        = text-020
          f_business_group = text-021
          f_report_title   = text-022
          f_repid          = w_report_id
          f_sysid          = syst-sysid
          f_linsz          = syst-linsz
          f_pagno          = w_rpt_pagno
          f_mandt          = syst-mandt
          f_datum          = syst-datum
          f_uzeit          = w_sttime.
      FORMAT COLOR COL_HEADING.
      WRITE:  /1     text-010,      "Created by CWID & user name
              29     text-011,      "Vendor #
              38     text-012,      "Vendor Name
              69     text-013,      "Req Number
              79     text-014,      "/Item
              87     text-015,      "Created On
              98     text-017,      "A (AcctAssgmtCat)
             100(14) text-019 RIGHT-JUSTIFIED,  "Item Value
             116(30) text-018,      "Item Description
             148     text-030,      "Pur.Grp Name
             170     text-031.      "Pur.Grp Number
      FORMAT COLOR OFF.
      ULINE.
    ENDFORM.                             "print_report_header
    *&      Form  WRITE_REPORT
    FORM write_report.
      LOOP AT i_reqs.
        WRITE: /1 i_reqs-ernam,
                9(18) i_reqs-uname,
               29 i_reqs-lifnr,
               38(30) i_reqs-name1,
               69 i_reqs-banfn,
               79 c_slash,
               80 i_reqs-bnfpo,
               87 i_reqs-badat,
               98 i_reqs-knttp,
              100(14) i_reqs-value CURRENCY c_usd,
              116(30) i_reqs-txz01,
              145 i_reqs-eknam,
              160 i_reqs-ekgrp.
      ENDLOOP.
    ENDFORM.                    "write_report
    *&      Form  WRITE_EXPORT
    FORM write_export.
      DATA: l_value(14)    TYPE c,
            l_bsart(100)   TYPE c,
            l_uname(7)     TYPE c,
            l_records(5)   TYPE c,
            l_header(150)  TYPE c,
            l_params(150)  TYPE c,
            i_char         TYPE i.
      LOOP AT i_reqs.
        CLEAR l_value.
        CLEAR l_uname.
        l_value = i_reqs-value.
        l_uname = sy-uname.
        CONCATENATE: i_reqs-uname
                     i_reqs-ernam
                     i_reqs-lifnr
                     i_reqs-name1
                     i_reqs-banfn
                     i_reqs-bnfpo
                     i_reqs-badat
                     i_reqs-knttp
                     l_value
                     i_reqs-txz01 INTO i_export
                                  SEPARATED BY c_delimiter.
        APPEND i_export.
      ENDLOOP.
      CONCATENATE: text-008   "Created By Name
                   text-009   "CWID
                   text-011   "Vendor No
                   text-012   "Vendor Name
                   text-013   "Req Number
                   text-023   "Item
                   text-015   "Created On
                   text-017   "A
                   text-019   "Item Value
                   text-018   "Item Description
                   text-030   "Purchase Grp name
                   text-031   "Purchase Grp number
                   INTO l_header SEPARATED BY c_delimiter.
      INSERT l_header INTO i_export INDEX 1.
      IF sy-batch IS INITIAL.
        MOVE sy-uname TO l_uname.
      ELSE.
        MOVE text-024 TO l_uname.
      ENDIF.
      PERFORM collect_bsart CHANGING l_bsart
                                     i_char.
      l_records = w_records.
      CONCATENATE: sy-sysid
                   p_purorg
                   l_bsart(i_char)
                   s_date-low
                   s_date-high
                   p_timper
                   l_uname
                   sy-datum
                   l_records INTO l_params
                             SEPARATED BY c_delimiter.
      INSERT l_params INTO i_export INDEX 1.
      LOOP AT i_export.
        CONDENSE i_export NO-GAPS.
        TRANSFER i_export TO w_export.
      ENDLOOP.
      CLOSE DATASET w_export.
      MESSAGE s533 WITH text-028 w_export text-029.
    ENDFORM.                    "write_export
    *&      FORM collect_bsart
    FORM collect_bsart CHANGING p_bsart
                                p_char.
      CLEAR p_bsart.
      LOOP AT s_doctyp.
        IF sy-tabix = 1.
          p_bsart = s_doctyp-low.
        ELSE.
          CONCATENATE: p_bsart c_sc s_doctyp-low INTO p_bsart.
        ENDIF.
      ENDLOOP.
      CONDENSE p_bsart NO-GAPS.
      p_char = strlen( p_bsart ).
    ENDFORM.                      "collect_bsart
    *&      Form  WEED_OUT_UNIQUE_RECORDS
    FORM weed_out_unique_records.
      DATA: i_l_req_items LIKE i_req_items OCCURS 0 WITH HEADER LINE.
      DATA: i_l_req_final_items LIKE i_req_items OCCURS 0 WITH HEADER LINE.
      DATA: l_count TYPE i,
            l_sy_tabix LIKE sy-tabix,
            l_banfn    LIKE eban-banfn.
      REFRESH i_l_req_items.
      REFRESH i_l_req_final_items.
      CLEAR l_banfn.
      i_l_req_items[]       = i_req_items[].
      i_l_req_final_items[] = i_req_items[].
      SORT i_req_items         BY ernam lifnr.
      SORT i_l_req_items       BY ernam lifnr.
      SORT i_l_req_final_items BY ernam lifnr.
      LOOP AT i_l_req_items.
        l_banfn = i_l_req_items-banfn.
        CLEAR l_count.
        LOOP AT i_req_items
            WHERE ernam = i_l_req_items-ernam
              AND lifnr = i_l_req_items-lifnr.
          IF i_req_items-banfn <> l_banfn.
            ADD +1 TO l_count.
          ENDIF.
        ENDLOOP.
        IF NOT ( l_count > 0 ).
          LOOP AT i_l_req_final_items
            WHERE ernam = i_l_req_items-ernam
              AND lifnr = i_l_req_items-lifnr.
            DELETE i_l_req_final_items.
          ENDLOOP.
        ENDIF.
      ENDLOOP.
      REFRESH i_req_items.
      i_req_items[] = i_l_req_final_items[].
    ENDFORM.                    " WEED_OUT_UNIQUE_RECORDS
    *&      Form  APPLY_TIME_PERIOD
    FORM apply_time_period.
      DATA: l_i_req_keys LIKE i_req_keys.
      DATA: l_days_diff          TYPE p,
            l_no_of_key_recs     TYPE i,
            l_next_item          LIKE sy-tabix,
            l_finished_with_keys TYPE c VALUE 'N',
            l_add_line           TYPE c VALUE 'N',
            l_count              TYPE i,
            l_req_ernam          LIKE eban-ernam,
            l_req_lifnr          LIKE lfa1-lifnr,
            l_req_banfn          LIKE eban-banfn,
            l_save_tabix         like sy-tabix.
      REFRESH: i_req_keys, i_req_keeper.
      LOOP AT i_req_items.
        MOVE-CORRESPONDING i_req_items TO
                           i_req_keys.
        IF i_req_items-erdat IS INITIAL.
          i_req_keys-erdat = i_req_items-badat.
        ENDIF.
        APPEND i_req_keys.
      ENDLOOP.
      SORT i_req_keys BY ernam lifnr erdat.
      CLEAR l_no_of_key_recs.
      DESCRIBE TABLE i_req_keys LINES l_no_of_key_recs.
      LOOP AT i_req_keys.
        IF l_add_line = 'Y'.
          MOVE-CORRESPONDING i_req_keys
                          TO i_req_keeper.
          APPEND i_req_keeper.
          l_add_line = 'N'.
        ENDIF.
        IF l_finished_with_keys = 'Y'.
          EXIT.
        ENDIF.
        CLEAR l_next_item.
        l_save_tabix = sy-tabix.
        COMPUTE l_next_item = sy-tabix + 1.
        IF l_next_item = l_no_of_key_recs.
          l_finished_with_keys = 'Y'.
        ENDIF.
        clear: l_i_req_keys.
        READ TABLE i_req_keys INDEX l_next_item
            INTO l_i_req_keys.
        sy-tabix = l_save_tabix.
        CLEAR l_days_diff.
        l_days_diff = l_i_req_keys-erdat -
                      i_req_keys-erdat.
        IF l_i_req_keys-ernam  =
           i_req_keys-ernam                  AND
           l_i_req_keys-lifnr  =
           i_req_keys-lifnr                  AND
           l_i_req_keys-banfn  <>
           i_req_keys-banfn                  AND
           l_days_diff         <= p_timper.
          MOVE-CORRESPONDING i_req_keys
                          TO i_req_keeper.
          APPEND i_req_keeper.
          l_add_line = 'Y'.
        ENDIF.
      ENDLOOP.
      DELETE ADJACENT DUPLICATES FROM i_req_keeper
                            COMPARING ALL FIELDS.
      SORT i_req_keeper BY ernam lifnr banfn.
      LOOP AT i_req_items.
        CLEAR l_count.
        CLEAR: l_req_ernam,
               l_req_lifnr,
               l_req_banfn.
        l_req_ernam = i_req_items-ernam.
        l_req_lifnr = i_req_items-lifnr.
        l_req_banfn = i_req_items-banfn.
        LOOP AT i_req_keeper
            WHERE ernam = i_req_items-ernam
              AND lifnr = i_req_items-lifnr
              AND banfn = i_req_items-banfn.
          ADD +1 TO l_count.
        ENDLOOP.
        IF NOT ( l_count > 0 ).
          LOOP AT i_req_items
            WHERE ernam = l_req_ernam
              AND lifnr = l_req_lifnr
              AND banfn = l_req_banfn.
            DELETE i_req_items.
          ENDLOOP.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " APPLY_TIME_PERIOD

    Rajesh,
    Put a breakpoint and try to debug the report step by step.
    You will findout the reason very easily.
    Whenever you have a select and are trying to append into an internal table, keep checking your internal table if it is been populated with the correct records.
    This way, you will findout the cause and can correct is accordingly.
    Thanks,
    Suresh Ganti

  • Not able to view any data in ESS 6.0 on EP7.0

    Hi I have installed my ESS 6.0 business package SP 11 on SAP Netweaver portal 7.0 sp 11,ECC6.0.
    For the Configuration of ESS,I used the pdf Configuring the Business Package for ESS-mySAPERP 2004 by sidhartha jain.
    But now when I am clicking on any icon under ESS on portal,After initial screens,I am not able to get any further screen to enter the data.
    For eg:-Employee Slef Service->Employee Search->Change own data.I dont get any screen at this stage.
    I have checked all the steps thoroughly.My JCo connections are working fine.
    Everything is right except this problem.
    Can anybody please help me on this?
    Regards
    Saurabh Sharma

    Hi Reshma,
    You are right.I have installed the ESS6.0 SP11.But in this stack,some of the components deployed with warning.
    one component tc/sl.ut.content.erp.xss'/'sap.com'/'MAIN_ERP05PAT_C'/'2432982'/'0 has given the error at the time of deployement.
    8/03/12 11:26:05 -  ***********************************************************
    08/03/12 11:26:06 -  Start updating EAR file...
    08/03/12 11:26:06 -  start-up mode is lazy
    08/03/12 11:26:06 -  EAR file updated successfully for 17ms.
    08/03/12 11:26:06 -  Start deploying ...
    08/03/12 11:26:08 -  EAR file uploaded to server for 858ms.
    08/03/12 11:26:08 -  ERROR: Not deployed. Deploy Service returned ERROR:
    java.rmi.RemoteException: Error occurred while deploying ear file ./temp/deploy/work/deploying/tc_sl.ut.content.erp.xss.ear.
    Reason: None of the available containers recognized the components of application sap.com/tc~sl.ut.content.erp.xss; it is not possible to make deploy.
    at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:570)
    at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    For detailed information see the log file of the Deploy Service.
    08/03/12 11:26:08 -  ***********************************************************
    Mar 12, 2008 11:26:08... Info: End of log messages of the target system.
    Mar 12, 2008 11:26:08... Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Could you please help me in this.
    I checked the webdynpro's,it is visible now.I am able to see /ess~wiw deployed contents.
    On portal,some clicks are still showing the blank pages and some finished with errors.
    Regards
    Saurabh

  • NOT ABLE TO SEE SQL EXPRESSION FIELDS IN CR2008

    Hi,
    I am not able to see the SQL EXPRESSION FIELDS in the FIELD EXPLORER of CR 2008.Can
    you please help me
    BABASHARI

    Hi,
    I would suggest you open the question in the Crystal Reports forum.
    Ingo

  • Not able to find values in LOV of field "Help Desk" of Global contract

    Not able to find values in LOV of field "Help Desk" of Global contract defaults.
    This value should be coming from resource setup.
    Resource is already created.

    Issue resolved:
    The resource should ahve valid Email id in HR People setup

Maybe you are looking for

  • EFI partition deleted after removal of dual boot of OSX10.8 and Ubuntu/Linux Mint - using rEFIt

    so, i recently installed ubuntu to check out the advances in the linux world since i last looked into them 10+ years ago... very impressed, but when i tried to delete ubuntu and remove the various partitions (which i was able to do just fine using gp

  • App Store doesn't recognize that I'm signed in to my account

    I have apps on my MacBook Pro that were purchased under 2 different AppleID's.  I updated apps for the 1st AppleID and then signed into the 2nd account to update the other app. However, the App Store gives me an error message and repeatedly tells me

  • Slow playback framerate in CS4

    Hello all, I am having issues with playback framerates inside of Premiere CS4. I realize there is a similar topic currently open for discussion, but I have my doubts as to whether our problems are related, so I went ahead and posted my own thread. I

  • (MBP Retina 15in 2013) Screen Dying Inconsistently

    Hello, I have a 15-Inch MacBook Pro with Retina display from early 2013. I've been having issues that are hard to pt a finger on the source because of how inconsistent the symptoms are. My displays screen seems to shut off at random times. It appears

  • Iphone and file locations

    Does anyone know how files are laid out on the iPhone? Basically, if build an app that can process an XML file transferred from (I assume) iTunes, how do I look up the file? I've never used iTunes + iPhone, so I'm a little confused on how to find fil