URGENT: REGARDING DATE DISPLAY IN REPORT

hi,
i am making a report in which i have to display that these are the persons who had released the requsitions at these dates,i am able to display the persons who had released the requsitions but i am not able to display the dates on which they had released the requsitions.
if any body who  will provide me help for this solution he or she will be defiantely rewarded...

hi ric,
i also tested and it gave this o/p.
28.11.2007                                                                               
PROGRAM FOR TESTING                                                                               
1
PUR.REQ   DATE    REQ.TYPE   1ST APPROVAL  2ND APPROVAL  3RD APPROVAL
PRESON       DATE      PERSON      DATE     PERSON     DATE
10009603   19.07.2005 NB   A1             19.07.2005
10010046   08.03.2006 NB   R1 R2          08.03.2006
10010115   27.03.2006 NB   EX             27.03.2006
10010116   27.03.2006 NB   EX             27.03.2006
10010827   22.05.2006 NB   G1 G2          22.05.2006
i think it is right...
what else you need to display?

Similar Messages

  • Urgent: regarding output display problem

    hi,
    i had made dis report for displaying changes made to a purticular material in a purticular month.
    d poblem is dis when i check a materail in MM04 which use to display a change made to a single material and when i check further that what changes had made it shows 4 changes but when i check my report it shows only 2 changes had been made.
    plzz help me out as help will be definately rewarded.
    last time i asked in dis forum not much help was provided.
    here is d code:-
    REPORT ZNEW01 no standard page heading LINE-SIZE 310.
    TABLES: CDHDR,CDPOS.
    DATA: BEGIN OF ITAB OCCURS 0,
    OBJECTCLAS LIKE CDHDR-OBJECTCLAS,
    OBJECTID LIKE CDHDR-OBJECTID,
    USERNAME LIKE CDHDR-USERNAME,
    UDATE LIKE CDHDR-UDATE,
    UTIME LIKE CDHDR-UTIME,
    TCODE LIKE CDHDR-TCODE,
    CHANGE_IND LIKE CDHDR-CHANGE_IND,
    END OF ITAB.
    DATA: BEGIN OF ITAB1 OCCURS 0,
    OBJECTCLAS LIKE CDPOS-OBJECTCLAS,
    OBJECTID LIKE CDPOS-OBJECTID,
    FNAME LIKE CDPOS-FNAME,
    CHNGIND LIKE CDPOS-CHNGIND,
    VALUE_OLD LIKE CDPOS-VALUE_OLD,
    VALUE_NEW LIKE CDPOS-VALUE_NEW,
    END OF ITAB1.
    SELECT-OPTIONS: M_DATE FOR CDHDR-UDATE,
    U_ID FOR CDHDR-CHANGE_IND.
    SELECT BOBJECTCLAS BOBJECTID BUSERNAME BUDATE BUTIME BTCODE B~CHANGE_IND INTO
    TABLE ITAB
    FROM CDHDR AS B WHERE B~OBJECTCLAS = 'MATERIAL' AND UDATE IN M_DATE AND CHANGE_IND IN U_ID.
    Check not itab[] is initial.
    SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
    ITAB1 FROM CDPOS
    FOR ALL ENTRIES IN ITAB WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
    *SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
    *ITAB1 FROM CDPOS
    *WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
    ULINE.
    LOOP AT ITAB.
    WRITE:/ ITAB-OBJECTID,22 ITAB-USERNAME,ITAB-UDATE,ITAB-UTIME,ITAB-TCODE.
    LOOP AT ITAB1 WHERE OBJECTCLAS = ITAB-OBJECTCLAS AND OBJECTID = ITAB-OBJECTID.
    WRITE: 60 ITAB1-FNAME,ITAB1-CHNGIND,ITAB1-VALUE_OLD(40),ITAB1-VALUE_NEW(40).
    ENDLOOP.
    ENDLOOP.

    hey ric
    i have tested ur code
    i think u have got a problem with the selection criteria "date"
    because i have cross checked the code you have developed and through the transaction
    it is impeccably right
    i think the selection of date in your report should be the range of dates in which they have been modfiied/changed
    if satisfied plz do reward
    regards
    samarendra

  • Urgent regarding Data & Task Audits Back Up

    Hi Experts
    Here my question is regarding Data Audit and Task audits in V 11.1.2.1
    -->If we take the back up of Data & Task audit tables data in to other backup_tables in same schema how this can be viewed through task audit and data audit through HFM?
    -->Whether any third part tools available to audit the tasks (DATA & TASK ) information...?
    -->Whether EPM maestro can be used here..?
    Thanks in advance
    Edited by: RajaKK on May 29, 2012 6:19 PM

    Use the Audit Extract utility bundled with HFM 11.1.2.1 to export this information periodically to a CSV file that you can view offline through any text editor, or even Excel. There is a command line feature for this as well, so you could incorporate this into a batch routine.
    For anyone attending Kaleidoscope in San Antonio, TX next month, I will present the various utilities that ship with HFM including this one. Hope to see you there!
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Date display in report

    Dear all,
    In SAP we have date in the dd.mm.yyyy format in the data whereas the Bi report displays date in the mm.dd.yyyy format. - how can this be corrected to display the date in dd.mm.yyyy format in BI.
    Regards,
    M.M

    Hello,
    Could be one of two problems.
    Your date format in user profile System>User Profile> own data Defaults tab Date format set incorrectly.
    Or the regional and language settings in Windows.
    Regards
    Peter

  • Data display in report

    Dear All,
    I have a below requirement :-
    Information:-
    I have a report which display Plan Amt and Actual Amt spent during a year. Now assuming we have a data for 2 years i.e. 2009 and 2010 data. I have a optional variable defined for the year object and its default value is 2010.
    Requirement:-
    User want to see Plan Amt for the whole year and Actual Amt should be displayed till last month only. This can be very well achieved through CKF and RKF.
    Problem:-
    Now if user runs the same report and want to see the last year data i.e. 2009 then Plan Amt and Actual Amt both should be displayed for the whole year. i.e. complete 2009 data.
    How do i achieve the above? Kindly give some inputs on the same.
    Thanks
    Anup

    Hi Bala,
    This seems to be a good idea and i had similar thoughts too. But the problem is how do i write customer exit to read the value of calyear variable?? If you can give some samples or suggest some links to go through it would be great.
    Accordingly i can give some inputs to our abapers to help write a customer exit for us...
    Actually we need to give this report by Monday n another crude way of solving this problem would be runnning infopkg twice with full upload and give selection parameters accrodingly in both the pkg. Say in first infopkg we will only load 2009 data, and in second infopkg with full upload again with 2010 data with month selection  as 1 and 2 only.
    We would take this approach if we face problem writing the customer exit.
    Let me know your inputs for the same.
    Thanks & Regards,
    Anup

  • Regarding Date format in Reports.

    Hi All,
    I want to change the Date format in BEx reports. Currently I am getting MM DD YYYY. But I need it as DD MM YYYY. I had gone thru numerous posting on this issue. I changed the Date Settings in SU3. But still I am not getting the Date in correct format. Is there any other place that I have to correct the Date format???
    Regards
    Jay

    Jayanth,
    I feel in your case, going to the System (in menu)-User Profile-Own data then, you get, Maintain user profile. Here you have the option of Maintaining, Date format.
    Hope this helps....

  • Data Display in Report - DESKI

    Dear Team,
    I have following situation...
    Mat_Pack   Mat_Tech       Mat_Vendor      Mat_Vol
    P-LBGA      TECH1         Vendor1         10000
    P-LBGA      TECH1         Vendor2         10000
    P-LBGA      TECH1         Vendor3         10000
    I need to display data in following format...
    Mat_Pack   Mat_Tech       Mat_Vendor      Mat_Vol
    P-LBGA      TECH1         Vendor1         10000
                              Vendor2        
                              Vendor3         
    To achieve this thing i am using BREAK on Mat_Pack and Mat_Tech,
    Is there any way i can get this type of output??
    Regards nic...

    Hi,
    I can see two ways.
    1. Applying Break on required cols and checking remove duplicates. (as you did)
    2. Right click on table and select avoid duplicate aggreation and try the same in query panel by selections options -> don not show duplicates ....
    Cheers,
    Suresh Aluri.

  • Regarding Date Display

    hi,
    i'm writing code to display dates between fromdate and todate
    for example 06-13-07 to 07-13-07(MM/DD/yy format)
    i need to display dates between these dates
    like
    06-14-07
    06-15-07
    06-16-07
    .so on upto
    07-13-07
    i'm fail to do this
    i'm getting but it is not accurate
    plz help me regarding this
    thank you
    one and all

    Use an instance of Calendar, initialize it to the
    start date and for each single new date call
    add(Calendar.DATE, 1) on this instance until the end
    is reached. What does your code look like so far?
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.TimeZone;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    import java.io.*;
    class DisplayDate
          public static void main( String[] args )
           String todate="7/13/2007";
            String[] monthNames = {"january","february","march","april","may","june",
         "july","august","september","october","november","december"};
           // String jun=monthNames[5];
           // String july=monthNames[6];
    //String[] dayNames = {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15",};
            TimeZone local = TimeZone.getDefault();
         //     SimpleDateFormat sdf=new SimpleDateFormat();
          Calendar c=new GregorianCalendar();
         //   sdf.setTimeZone( local );
    //  String fromdate = sdf.format( new Date() );
      //  System.out.println(fromdate );
         int month=c.get(Calendar.MONTH)+1;
         int date=c.get(Calendar.DATE);
         int year=c.get(Calendar.YEAR);
          String fromdate=month+"/"+date+"/"+year;
          System.out.println(month+"/"+date+"/ "+year);
              System.out.println( todate);
    int len =todate.length();
    int len1=fromdate.length();
    System.out.println(len+" "+len1);
                   for(int i=1;i<31;i++)
                        System.out.println(monthNames[5]+"-"+i+"-"+"2007");
                   for(int i=1;i<=31;i++)
                        System.out.println(monthNames[6]+"-"+i+"-"+"2007");
    }by executing above code i'm getting output,here i'm displaying without using fromdate, todate
    but i need to display by using fromdate ,todate
    plz help me regarding this

  • URGENT REGARDING  DATE

    hI,
    IN SELECTION SCREEN DEFINED
    SELECT-OPTIONS :  p_budat FOR mkpf-budat.
    How can I check these dates can anybody give coding part to this.
    Regards
    SAISRI

    Hi
         Your query is not very Clear.. Anyway if you want to check the dates that is coming in this interval Do like This......
    SELECT-OPTIONS : p_budat FOR mkpf-budat.
    data:begin of it_mkpf occurs 10,
           budat type bkpf-budat,
           end if it_mkpf.
    select budat from mkpf inti it_mkpf where budat in p_budat.
    Now you can check your condition in internal table..
    If this is not the exact requirment get back..
    Reward All Helpfull Answers.............

  • Urgent:Regarding data reconsilation

    HI all,
    1. i have PSFT as trusted source and EBS as target source. now when we connect to this sources by using out-of-the-box connectors which is already avilable,what it will ask while installing connectors and which tables it is going to connect?
    2.i have a requirement that i need get the data related to users from diff tables of PSFT and need to provision that data in diff tables of EBS,wether we need to fulfill this by using predefind connectors or we need to use custom connetors?
    if possible please give me the steps for the above queries.
    please help me out in this
    thanks for your time
    Regards
    siva

    PSFT needs profile to be set at PSFT for the data and EBS has queries in the properties file with the connector. Installation does not in itself does anything but you will have to configure the connectors post installation as per your requirement. My suggestion would be to go through the connector docs to understand the architecture and feasibility.
    HTH,
    BB

  • URGENT: regarding data load in essbase through ODI after upgradation

    Hi,
    I have got this error, Please give me the solution...
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 29, in <module>
         at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
         at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
         at org.hsqldb.jdbc.JDBCStatement.executeQuery(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    java.sql.SQLException: java.sql.SQLException: unexpected token: -
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Thanks,
    Rubi

    I have used some condition in data column.
    If I have deleted that condition and directly mapped in data column them interface works fine.
    But whenever I have used some normal CONVERT function like CONVERT("Source column name",Numeric), It gives me that error.

  • SE16 data display and authorizations.

    Hi Experts,
    I had few following questions regarding data display and authorization using SE16 :-
    As example, SAP HCM solution for an enterprise is implemented in say 10 countries :-
    - Is it that using SE16 the user has the authorization to display all data, including the data for different countries employee's?
    - isn't the infotype data based on the country grouping settiings and shouldn't be displayed via SE16?
    - Can the authorization be controlled, using User group or some roles being assigned while creating the user id?
    Thank you for your help in advance.
    Thanks and Regards,
    Puneet Luthra

    Puneet,
    If you assign SE16 tcode to a profile you can set further authorization object S_TABU_DIS - here you can set authorization groups such as PA for HR intptype tables and SC for PD infotype tables,
    I do not believe that you can actually set infotype level access. i.e if you give pa tables then thay can see all pa tables you cannot restrict to just say, 0001 and 0007. This is independent of the P_ORGIN authorizations, so even if you restrict a certain infotype in P_ORGIN, they will be able to see using SE16.
    One of the ways in which we have got around it in the past is to just create custom transctaions for each table they want to see, such as zse16_pa0001 and assign individual tables to those who need it.  Only HR experts and Support users need this kind of access in the production system so it should be relatively easy to maintain individually.
    Hope this helps.

  • Complete data not displayed in Report

    Hi forum,
    I have a cube based on data source 0FI_AR_4,which is updated via an ODS.I have created a query for ageging analysis.The query uses Referrence number ( invoice number) to display the receivables of various customers and number of days from due date.
    To my surprise many invoice numbers are not being displayed in the query, but when i restrict the query to the invoice numbers which are not being displayed the report generated is able to display all the doccuments.
    I have checked the data in the cube and all the invoice numbers are flowing well fro R/3.
    My only way of saying thanks to the people who solve the issue or provide helpful answers is by assigining points.
    Regds
    Suhel

    hello
    This is simple problem
    The result the query fetches is not able to display in the number of cells provided in the excel sheet
    So when you restrict the data, the query is able to show all the data fetched by accomadating in the columns available in the excel.
    Here in your case , there are not enough columns in the excel sheet to display all data
    Regards
    N Ganesh

  • Problem in Data Display in Dynamic ALV Report

    Hi all,
    I am developing a Dynamic ALV report where I want display material batch (zjpack_base-charg) in column and Material (zjpack_base-matnr) & Qty (Zjpack_base-netwr) field row wise.My intention is to show report datewise for a material how many batch developed with there qty.I am sending you the code which i already wrote.Here column is developed batchwise but I am not able to show the qty against each batch.Please see my code and guide me how to display.
    REPORT  zdynamic_test                           .
    *REPORT  ztest_notepad.
    *& Declarations
    *Type-pools
    TYPE-POOLS: slis.
    *TABLES
    TABLES: zjpack_base.
    *Types
    TYPES:
          ty_fcat      TYPE lvc_s_fcat,
          ty_fcatalog  TYPE slis_fieldcat_alv.
    *Work areas
    DATA:
          wa_fcat      TYPE ty_fcat,
          wa_fcatalog  TYPE ty_fcatalog.
    *Internal tables
    DATA:
          it_fcat      TYPE STANDARD TABLE OF ty_fcat,
          it_fcatalog  TYPE STANDARD TABLE OF ty_fcatalog.
    *Type reference
    DATA:
          it_dyn_tab   TYPE REF TO data,
          wa_newline   TYPE REF TO data.
    *INTERNAL TABLE
    DATA: BEGIN OF it_itab OCCURS 0.
            INCLUDE STRUCTURE zjpack_base.
    DATA: END OF it_itab.
    *Filed symbols
    FIELD-SYMBOLS:
          <gt_table>   TYPE STANDARD TABLE,
          <fs_dyntable>,
          <fs_fldval>  TYPE ANY,
          <l_field>    TYPE ANY.
    *Variables
    DATA:
          l_fieldname  TYPE lvc_s_fcat-fieldname,
          l_tabname    TYPE lvc_s_fcat-tabname,
          l_fieldtext  TYPE lvc_s_fcat-seltext,
          l_index      TYPE char2.
    "Selection-screen
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-s11 .
    SELECT-OPTIONS:s_matnr FOR zjpack_base-matnr.
    SELECT-OPTIONS:s_charg FOR zjpack_base-charg.
    SELECT-OPTIONS:s_fdate FOR zjpack_base-fdate .
    SELECTION-SCREEN END OF BLOCK b1.
    PARAMETERS:
             p_colms   TYPE i.
    *& start-of-selection.
    START-OF-SELECTION.
      PERFORM select_data.
      PERFORM build_fieldcat.
      PERFORM create_dynamic_table.
    DO 20 TIMES.
       DO p_colms TIMES.
         l_index = sy-index.
         CONCATENATE 'FIELD' l_index INTO l_fieldname.
         ASSIGN COMPONENT l_fieldname OF STRUCTURE <fs_dyntable> TO <l_field>.
         <l_field> = sy-index.
       ENDDO.
       INSERT <fs_dyntable> INTO TABLE <gt_table>.
    ENDDO.
      LOOP AT it_itab.
        l_index = sy-tabix.
        CONCATENATE 'FIELD' l_index INTO l_fieldname.
        ASSIGN COMPONENT l_fieldname OF STRUCTURE <fs_dyntable> TO <l_field>.
        <l_field> = it_itab-matnr.
        INSERT <fs_dyntable> INTO TABLE <gt_table>.
      ENDLOOP.
      LOOP AT it_fcat INTO wa_fcat.
        PERFORM fieldcatalog1 USING: wa_fcat-fieldname
                                      wa_fcat-tabname
                                      wa_fcat-seltext.
      ENDLOOP.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program = 'ZTEST_NOTEPAD'
          it_fieldcat        = it_fcatalog
        TABLES
          t_outtab           = <gt_table>.
    *&      Form  BUILD_FIELDCAT
    FORM build_fieldcat .
    CLEAR: l_fieldname,
            l_tabname,
            l_fieldtext,
            l_index.
    DO  p_colms TIMES.
       CLEAR l_index.
       l_index = sy-index.
       CONCATENATE 'FIELD' l_index INTO l_fieldname.
       CONCATENATE 'Field' l_index INTO l_fieldtext.
       l_tabname = '<GT_TABLE>'.
       PERFORM fieldcatalog USING: l_fieldname
                                   l_tabname
                                   l_fieldtext.
    ENDDO.
    ENDFORM.                    " BUILD_FIELDCAT
    *&      Form  CREATE_DYNAMIC_TABLE
    FORM create_dynamic_table .
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fcat
        IMPORTING
          ep_table        = it_dyn_tab.
      ASSIGN it_dyn_tab->* TO <gt_table>.
    Create dynamic work area and assign to FS
      CREATE DATA wa_newline LIKE LINE OF <gt_table>.
      ASSIGN wa_newline->* TO <fs_dyntable>.
    ENDFORM.                    " CREATE_DYNAMIC_TABLE
    *&      Form  FIELDCATALOG
    FORM fieldcatalog USING field table f_txt.
      wa_fcat-fieldname = field.
      wa_fcat-tabname   = table.
      wa_fcat-seltext = f_txt.
      APPEND wa_fcat TO it_fcat.
      CLEAR  wa_fcat.
    ENDFORM.                    " FIELDCATALOG
    *&      Form  FIELDCATALOG1
    FORM fieldcatalog1 USING field table f_txt.
      wa_fcatalog-fieldname = field.
      wa_fcatalog-tabname   = table.
      wa_fcatalog-seltext_m = f_txt.
      APPEND wa_fcatalog TO it_fcatalog.
      CLEAR  wa_fcatalog.
    ENDFORM.                    " FIELDCATALOG1
    *&      Form  SELECT_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM select_data .
    DATA: v_srlno TYPE i.
      SELECT matnr charg blqty
      INTO CORRESPONDING FIELDS OF it_itab
      FROM zjpack_base
      WHERE matnr IN s_matnr
      AND   charg IN s_charg
      AND   fdate IN s_fdate.
        COLLECT it_itab.
      ENDSELECT.
    v_srlno.
    LOOP AT it_itab.
       v_srlno = v_srlno + 1.
    ENDLOOP.
      CLEAR: l_fieldname,
              l_tabname,
              l_fieldtext,
              l_index.
    1st Field
    l_index = sy-tabix.
      CONCATENATE 'FIELD' '1' INTO l_fieldname.
      l_fieldtext = 'MATNR'.
      l_tabname = '<GT_TABLE>'.
      PERFORM fieldcatalog USING: l_fieldname
                                  l_tabname
                                  l_fieldtext.
    Other fields
      LOOP AT it_itab.
        CLEAR l_index.
        l_index = sy-tabix + 1.
        CONCATENATE 'FIELD' l_index INTO l_fieldname.
        CONCATENATE 'CHARG-' it_itab-charg INTO l_fieldtext.
        l_tabname = '<GT_TABLE>'.
        PERFORM fieldcatalog USING: l_fieldname
                                    l_tabname
                                    l_fieldtext.
      ENDLOOP.
    Please guide me how my problem will solve.
    Thanks & Regards
    Nirmal

    Hi all, I am developing a Dynamic ALV report where I want display material batch (zjpack_base-charg) in column and Material (zjpack_base-matnr) & Qty (Zjpack_base-netwr) field row wise.My intention is to show report datewise for a material how many batch developed with there qty.I am sending you the code which i already wrote.Here column is developed batchwise but I am not able to show the qty against each batch.Please see my code and guide me how to display.
    *& Report  ZDYNAMIC_TEST                                               *
    REPORT  zdynamic_test                           .
    *REPORT  ztest_notepad.
    *& Declarations
    *Type-pools
    TYPE-POOLS: slis.
    *TABLES
    TABLES: zjpack_base.
    *Types
    TYPES:
          ty_fcat      TYPE lvc_s_fcat,
          ty_fcatalog  TYPE slis_fieldcat_alv.
    *Work areas
    DATA:
          wa_fcat      TYPE ty_fcat,
          wa_fcatalog  TYPE ty_fcatalog.
    *Internal tables
    DATA:
          it_fcat      TYPE STANDARD TABLE OF ty_fcat,
          it_fcatalog  TYPE STANDARD TABLE OF ty_fcatalog.
    *Type reference
    DATA:
          it_dyn_tab   TYPE REF TO data,
          wa_newline   TYPE REF TO data.
    *INTERNAL TABLE
    DATA: BEGIN OF it_itab OCCURS 0.
            INCLUDE STRUCTURE zjpack_base.
    DATA: END OF it_itab.
    *Filed symbols
    FIELD-SYMBOLS:
          <gt_table>   TYPE STANDARD TABLE,
          <fs_dyntable>,
          <fs_fldval>  TYPE ANY,
          <l_field>    TYPE ANY.
    *Variables
    DATA:
          l_fieldname  TYPE lvc_s_fcat-fieldname,
          l_tabname    TYPE lvc_s_fcat-tabname,
          l_fieldtext  TYPE lvc_s_fcat-seltext,
          l_index      TYPE char2.
    "Selection-screen
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-s11 .
    SELECT-OPTIONS:s_matnr FOR zjpack_base-matnr.
    SELECT-OPTIONS:s_charg FOR zjpack_base-charg.
    SELECT-OPTIONS:s_fdate FOR zjpack_base-fdate .
    SELECTION-SCREEN END OF BLOCK b1.
    PARAMETERS:
             p_colms   TYPE i.
    *& start-of-selection.
    START-OF-SELECTION.
      PERFORM select_data.
      PERFORM build_fieldcat.
      PERFORM create_dynamic_table.
    *  DO 20 TIMES.
    *    DO p_colms TIMES.
    *      l_index = sy-index.
    *      CONCATENATE 'FIELD' l_index INTO l_fieldname.
    *      ASSIGN COMPONENT l_fieldname OF STRUCTURE <fs_dyntable> TO <l_field>.
    *      <l_field> = sy-index.
    *    ENDDO.
    *    INSERT <fs_dyntable> INTO TABLE <gt_table>.
    *  ENDDO.
      LOOP AT it_itab.
        l_index = sy-tabix.
        CONCATENATE 'FIELD' l_index INTO l_fieldname.
        ASSIGN COMPONENT l_fieldname OF STRUCTURE <fs_dyntable> TO <l_field>.
        <l_field> = it_itab-matnr.
        INSERT <fs_dyntable> INTO TABLE <gt_table>.
      ENDLOOP.
      LOOP AT it_fcat INTO wa_fcat.
        PERFORM fieldcatalog1 USING: wa_fcat-fieldname
                                      wa_fcat-tabname
                                      wa_fcat-seltext.
      ENDLOOP.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program = 'ZTEST_NOTEPAD'
          it_fieldcat        = it_fcatalog
        TABLES
          t_outtab           = <gt_table>.
    *&      Form  BUILD_FIELDCAT
    FORM build_fieldcat .
    *  CLEAR: l_fieldname,
    *         l_tabname,
    *         l_fieldtext,
    *         l_index.
    *  DO  p_colms TIMES.
    *    CLEAR l_index.
    *    l_index = sy-index.
    *    CONCATENATE 'FIELD' l_index INTO l_fieldname.
    *    CONCATENATE 'Field' l_index INTO l_fieldtext.
    *    l_tabname = '<GT_TABLE>'.
    *    PERFORM fieldcatalog USING: l_fieldname
    *                                l_tabname
    *                                l_fieldtext.
    *  ENDDO.
    ENDFORM.                    " BUILD_FIELDCAT
    *&      Form  CREATE_DYNAMIC_TABLE
    FORM create_dynamic_table .
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fcat
        IMPORTING
          ep_table        = it_dyn_tab.
      ASSIGN it_dyn_tab->* TO <gt_table>.
    * Create dynamic work area and assign to FS
      CREATE DATA wa_newline LIKE LINE OF <gt_table>.
      ASSIGN wa_newline->* TO <fs_dyntable>.
    ENDFORM.                    " CREATE_DYNAMIC_TABLE
    *&      Form  FIELDCATALOG
    FORM fieldcatalog USING field table f_txt.
      wa_fcat-fieldname = field.
      wa_fcat-tabname   = table.
      wa_fcat-seltext = f_txt.
      APPEND wa_fcat TO it_fcat.
      CLEAR  wa_fcat.
    ENDFORM.                    " FIELDCATALOG
    *&      Form  FIELDCATALOG1
    FORM fieldcatalog1 USING field table f_txt.
      wa_fcatalog-fieldname = field.
      wa_fcatalog-tabname   = table.
      wa_fcatalog-seltext_m = f_txt.
      APPEND wa_fcatalog TO it_fcatalog.
      CLEAR  wa_fcatalog.
    ENDFORM.                    " FIELDCATALOG1
    *&      Form  SELECT_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM select_data .
    *  DATA: v_srlno TYPE i.
      SELECT matnr charg blqty
      INTO CORRESPONDING FIELDS OF it_itab
      FROM zjpack_base
      WHERE matnr IN s_matnr
      AND   charg IN s_charg
      AND   fdate IN s_fdate.
        COLLECT it_itab.
      ENDSELECT.
    *  v_srlno.
    *  LOOP AT it_itab.
    *    v_srlno = v_srlno + 1.
    *  ENDLOOP.
      CLEAR: l_fieldname,
              l_tabname,
              l_fieldtext,
              l_index.
    * 1st Field
    *  l_index = sy-tabix.
      CONCATENATE 'FIELD' '1' INTO l_fieldname.
      l_fieldtext = 'MATNR'.
      l_tabname = '<GT_TABLE>'.
      PERFORM fieldcatalog USING: l_fieldname
                                  l_tabname
                                  l_fieldtext.
    * Other fields
      LOOP AT it_itab.
        CLEAR l_index.
        l_index = sy-tabix + 1.
        CONCATENATE 'FIELD' l_index INTO l_fieldname.
        CONCATENATE 'CHARG-' it_itab-charg INTO l_fieldtext.
        l_tabname = '<GT_TABLE>'.
        PERFORM fieldcatalog USING: l_fieldname
                                    l_tabname
                                    l_fieldtext.
      ENDLOOP.
    ENDFORM.                    " SELECT_DATA

  • How create header with user id time date to VC-report's output as display ?

    How create header with user id time date to VC-report's output as display ?
    This info should come from the VC - not all the way from R3-side via FunctionModule/BABI. So only userid, date, time to output as normal text (which is not editable of course). Thanks =)

    Hi ann-mari
    Go through following link may it help u
    Form Item disabled based on portal role
    /people/community.user/blog/2007/01/17/visual-composer-explorations-using-portal-roles-to-influence-ui-element-behavior
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/usingrolestoinfluenceapplication&
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/passingvaluesvia+URL&
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1
    Best Regards
    ````Satish````

Maybe you are looking for