Creating structure

I am using this new interface of BI to create a query.
My requirement is as following.
I have a field on the reports that reads as FILL OTD. the values for this field is 0 or 1.
This field is populated depending on the 2 KF Promise Date and Request Date. If Promise date is <= Request Date then It is 1 or otherwise its 0.
How do I accomplish this in my query.
If possible please give the step by step solution.
Points will be rewarded generously.

Hi,
in the query designer. Right click on the columns, choose new formula. Then enter the formula "Promise date" <= "Request Date". If the formula is true the value will be 1 otherwise 0.
Hope this helps.
regards,
Raymond Baggen
Uphantis bv

Similar Messages

  • Is there any API or standard process to create structure from backend

    Hi,
    Is there any standard process to create structure from backend.I want to create 300 options for a option feature from backend.
    Please let me know the API through which it can be done.
    Best Regards,
    AJ

    AJ --
    Configurator provides a "Custom Import" capability to automatically create structure. It is documented in Chapter 5 ("Populating the CZ Schema") of the Oracle Configurator Implementation Guide.
    However, setting up a custom import may actually take you more time than just creating the Options manually in Configurator Developer. If the Options need to be duplicated across several Models, it may be advantageous to build them as Items in the Configurator Developer Item Master instead, and then use Populators to automatically create corresponding Options within your Option Feature(s).
    Eogan

  • Creating structure for FIAR_C03 cube reports.

    Hi,
    I want to create structure for report in 0FIAR_C03 cube. of which requirement is as follows.
    -          Analysis of how old AR items are in days (key date for reporting minus the net due date),
    -          what the balance of the open items are (USD and local currency),
    -          Reporting by the country of the end customer,
    -          GL restriction. We only want AR trade items, not intercompany.
    -          Drilldown to FI document number and line number.

    hi,
    did u chk the standard bi content queries..chk the below link..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/dbec8914ec6c4686cd9d078093c930/frameset.htm
    hope it helps...

  • Creating Structure in Query Designer

    Hi All,
    I created one Balance sheet report based on Remotecube 0FIGL_R10.
    In Query designer i created one  structure under that i defined  Asset , Liability , Cash , Account Receivables , Inventory like that. and each of them are restricted by G/L Account . in keyfigure i have Balance. Now when i tried to run the report it doesnot show me result. while data are existing in to Remote cube.
    Did i forget any settings in designer or If i create structure in BEx then do i have to set any properties please let me know.
    Regards,
    BI NEW

    Hi,
    Thanks for reply.
    ." Presence of structure is not the hindrance for query output."
    . Can you explain me why structure is not hindrance  for query output ?
    " Check the remote cube connectivity with the source."
        How to check remotecube connectivity with source ?
    .Regards,
    BI NEW

  • How to create Structures in Bex in BI7,

    Experts,
    can some one explain me in breif how to create structures in BI 7 also can we create a variable on 0FISCPER if so how.
    also if some one had a quick look document on bex reporting in BI 7 please forward it to [email protected]
    Thanks in Advance
    Ravi

    http://help.sap.com/saphelp_nw70/helpdata/en/c1/759b3c4d4d8d15e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/4d/e2bebb41da1d42917100471b364efa/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/f1/0a5632e09411d2acb90000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/7127d2b5263457e10000000a422035/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/82/02223c5f00612be10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/4fc09c78ef4e35e10000000a1553f6/frameset.htm

  • Create structure in Dynamic ALV for color and editing cells

    Hi experts,
    I created dynamic ALV . in this i want coloring and editing of cells.
    this can be done by strucutture lvc_t_scol, lvc_t_styl.
    My problem is how to create structure in field catalogue of Dynamic ALV.
    Thanks

    Hello
    I am not sure if you have missed the following part of the coding:
    " Add table type (LVC_T_STYL) as field to structure ==> complex structure
      CLEAR: gs_comp.
      gs_comp-type ?= cl_abap_typedescr=>describe_by_data( celltab ).
      gs_comp-name  = 'CELLTAB'.
      APPEND gs_comp TO gt_components.
      go_sdescr  = cl_abap_structdescr=>create( gt_components ).
      go_tdescr  = cl_abap_tabledescr=>create( go_sdescr ).
      CREATE DATA gdo_handle TYPE HANDLE go_tdescr.
      ASSIGN gdo_handle->* TO <gt_itab>.
    This is exactly your requirement.
    Regards
      Uwe

  • How to create structures

    hi all,
    please let me know how to create structures in directory tree of the selected info provider,
    thanks in advace
    manu

    Hi,
    I think you mean query strrucutures in Query designer. Goto rows/columns. Right click on columns and choose new structure. Now you can define all fields for your structure. Right click and choose new selection or formula. Then right click and choose save as. Now you can save it as reusable structure for other queries.
    Regards,
    Juergen

  • How to create structure at info provider areainquery designer

    hi all,
    i want create structure at info provider area in query designer.can any one help me how to do that
    thanks
    Vamshi D Krishna

    Hi,
    Go to columns. Right click and click on New structure.
    Hope this helps.
    thanks,
    rahul

  • Create structure for dependent objects

    Hi All,
    Can any one tell me why there is no create structure for dependent objects?

    Hi Rehman,
    Thanks for your reply. I am looking forward for your document. My Email ID  [email protected]
    Reema,
    I have checked the check box. The Thumbnail column is coming but if I upload a picture or any document the thumbnail column still remains blank.
    Looking forward for your help.
    Warm regards
    Purnendu

  • Error while creating Structure

    I am getting an error while creating a Structure.
    After filling the required fields in Components tab and Currency/Quantity filed tab, when activated it says "Warnings Occurred during activation"  "Do you want to see the log?"
    when i click "yes", it displays
    TABL ZABC Activated
    Check Table ZABC (SAPUSER .........)
    ENHANCEMENT CATEGORY FOR TABLE MISSING
    ENHANCEMENT CATEGORY FOR INCLUDE OF SUBTYPE MISSING
    TABLE ZABC WAS CHECKED WITH WARNINGS
    Thanks

    hi,
    You are getting these warnings because you have not assigned an enhancement category to your structure .
    Try to assign a enhancement category for the structure .
    1. open the structure in change mode .
    2.  then Extras -> Enhancement Category and choose an enhancement option .
    3. save and activat ethe structure .
    4. Your structure wil be activated now without any warnings .
    Regards ,
    Lokesh

  • Create  structure and table similar to a dynamic table.

    Hi,
    i need to create a structure  similar to that of a dynamic table. your help will be appreciated.
    Thanks,
    KK.

    REPORT z_dynamic.
    TYPE-POOLS : abap.
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
                   <dyn_wa>,
                   <dyn_field>.
    DATA: dy_table TYPE REF TO data,
          dy_line  TYPE REF TO data,
          xfc TYPE lvc_s_fcat,
          ifc TYPE lvc_t_fcat.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS: p_table(30) TYPE c DEFAULT 'T001'.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      PERFORM get_structure.
      PERFORM create_dynamic_itab.
      PERFORM get_data.
      PERFORM write_out.
    *&      Form  get_structure
    *       text
    FORM get_structure.
      DATA : idetails TYPE abap_compdescr_tab,
             xdetails TYPE abap_compdescr.
      DATA : ref_table_des TYPE REF TO cl_abap_structdescr.
    * Get the structure of the table.
      ref_table_des ?=
          cl_abap_typedescr=>describe_by_name( p_table ).
      idetails[] = ref_table_des->components[].
      LOOP AT idetails INTO xdetails.
        CLEAR xfc.
        xfc-fieldname = xdetails-name .
        xfc-datatype = xdetails-type_kind.
        xfc-inttype = xdetails-type_kind.
        xfc-intlen = xdetails-length.
        xfc-decimals = xdetails-decimals.
        APPEND xfc TO ifc.
      ENDLOOP.
    ENDFORM.                    "get_structure
    *&      Form  create_dynamic_itab
    *       text
    FORM create_dynamic_itab.
    * Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = ifc
        IMPORTING
          ep_table        = dy_table.
      ASSIGN dy_table->* TO <dyn_table>.
    * Create dynamic work area and assign to FS
      CREATE DATA dy_line LIKE LINE OF <dyn_table>.
      ASSIGN dy_line->* TO <dyn_wa>.
    ENDFORM.                    "create_dynamic_itab
    *&      Form  get_data
    *       text
    FORM get_data.
    * Select Data from table.
      SELECT * INTO TABLE <dyn_table>
                 FROM (p_table).
    ENDFORM.                    "get_data
    *&      Form  write_out
    *       text
    FORM write_out.
    * Write out data from table.
      LOOP AT <dyn_table> INTO <dyn_wa>.
        DO.
          ASSIGN COMPONENT  sy-index
             OF STRUCTURE <dyn_wa> TO <dyn_field>.
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
          IF sy-index = 1.
            WRITE:/ <dyn_field>.
          ELSE.
            WRITE: <dyn_field>.
          ENDIF.
        ENDDO.
      ENDLOOP.
    ENDFORM.                    "write_out

  • Create Structure with dynamical Table-Type

    Hi experts,
    is there a possibility, to create a structure via SE11 and including there a field which referes to a dynamic table-type.
    So that I can append to this structure-field all different table-types?
    for example: ones I append MARA[] and ones AFKO[]
    Thx for help

    Hi Christian,
    There's not predefined generic type to do that, but you could create your own field type (deep structure) which would be able to keep table lines after transposition (90 degree flip) where in example it would have four columns: Table type, row id(index) field name, value. That way you could store ANY table row you need... This will not come cheap and will involve some work of course.
    You may want have a look at standard ABAP services RRTS and RTTI (see classes and structures used in attributes an parameters) - these are two services for handling data types and metadata related operations during runtime. You may want to use them for flipping your table entries to the tabular form and so on. You may also find some ideas there on how to compose your own data type for your purposes.
    Good luck!
    Marcin

  • Steps for creating structural authorization profile using trans. OOSP

    Dears,
    Could someone please guide to the steps for creating a structural authorization profile using transaction OOSP, to authorize on the HR Payroll Area.
    Thanks.
    Reda

    Hi,
    There are comprehensive guidelines on help.sap.com for creation of structural authorizations: http://help.sap.com/saphelp_erp2004/helpdata/en/34/49ba3b3bf00152e10000000a114084/content.htm
    However, please bear in mind that you cannot limit access to certain payroll area with structural authorization. For that you should use standard PA authorization object (you can use field organizational key to store Payroll Area VDSK1 in IT0001):
    P_ORGIN  http://help.sap.com/erp2005_ehp_02/helpdata/en/3e/b8b83b5b831f3be10000000a114084/content.htm
    Cheers

  • Creating Structure for reports

    Dear Friends,
    I am working on a forecast report. I do have a selection for Data entrry month and the report needs to show the forecast of next 12 months (0calmonth) starting from data entry month. I know this can be done using a structure, but dont have any idea how to create and assign one. Could anyone help me for the same?
    Data entry month have similar characteristics as 0CALMONTH
    Thanks
    Oops

    HI,
    If Data entry month is similar to 0calmonth, check if you can find the variable that is used for data entry month under calmonth.
    1.If yes then in the filter section of the query add a interval restriction with this data entry month variable to data entry month variable + 11 for the info object 0calmonth.
    Then add this 0calmonth under the column section above the Keyfigure.
    2.If the the data entry month is not present under calmonth then create a customer exit variable for calmonth and in the customer exit read the data entry month value. Then use this new calmonth variable instead of data entry month variable and follow step 1.
    Hope this helps.
    Regards.
    Shafi.

  • How to create structure in fildcatlog

    hello
    i wrote some days ago.
    my problem was that i create a dynamic table and i want to color some cell and i want to used field which call farbe and his type slis_t_specialcool_alv
    the problem that i cant insert this type to fildcatolg( i must do it because it build me the field)
    so max some days ago said:
    to build structure in se11 that will be like slis_specialcool_calc and to make a structure that will hold the field fare that will be type of what i created (ALV_t_scol woth line zalc_s_scol
    zalc_s_scol structure with
    fieldanme
    color
    nodekycol
    zslis_color structure with 3  inttype
    col
    int
    inv)
    but when i run the program its fall because i insert the new item farbe
    so i will be glad if someone can help me
    thanks alot again to all

    it will certainly help you.plz reward points.
    i found it in one web-log, but can't trace the link now..so pasting the whole content
    Topic:
    <b>ABAP Code Sample for Dynamic Table for ALV with Cell Coloring</b>
    Applies To:
    ABAP / ALV Grid
    Article Summary
    ABAP Code Sample that uses dynamic programming techniques to build a dynamic internal table for display in an ALV Grid with Cell Coloring.     
    Code Sample
    REPORT  zcdf_dynamic_table.
    Dynamic ALV Grid with Cell Coloring.
    Build a field catalog dynamically and provide the ability to color
      the cells.
    To test, copy this code to any program name and create screen 100
      as described in the comments.  After the screen is displayed, hit
      enter to exit the screen.
    Tested in 4.6C and 6.20
    Charles Folwell - [email protected] - Feb 2, 2005
    DATA:
      r_dyn_table      TYPE REF TO data,
      r_wa_dyn_table   TYPE REF TO data,
      r_dock_ctnr      TYPE REF TO cl_gui_docking_container,
      r_alv_grid       TYPE REF TO cl_gui_alv_grid,
      t_fieldcat1      TYPE lvc_t_fcat,           "with cell color
      t_fieldcat2      TYPE lvc_t_fcat,           "without cell color
      wa_fieldcat      LIKE LINE OF t_fieldcat1,
      wa_cellcolors    TYPE LINE OF lvc_t_scol,
      wa_is_layout     TYPE lvc_s_layo.
    FIELD-SYMBOLS:
      <t_dyn_table>    TYPE STANDARD TABLE,
      <wa_dyn_table>   TYPE ANY,
      <t_cellcolors>   TYPE lvc_t_scol,
      <w_field>        TYPE ANY.
    START-OF-SELECTION.
    Build field catalog based on your criteria.
      wa_fieldcat-fieldname = 'FIELD1'.
      wa_fieldcat-inttype   = 'C'.
      wa_fieldcat-outputlen = '10'.
      wa_fieldcat-coltext   = 'My Field 1'.
      wa_fieldcat-seltext   = wa_fieldcat-coltext.
      APPEND wa_fieldcat TO t_fieldcat1.
      wa_fieldcat-fieldname = 'FIELD2'.
      wa_fieldcat-inttype   = 'C'.
      wa_fieldcat-outputlen = '10'.
      wa_fieldcat-coltext   = 'My Field 2'.
      wa_fieldcat-seltext   = wa_fieldcat-coltext.
      APPEND wa_fieldcat TO t_fieldcat1.
    Before adding cell color table, save fieldcatalog to pass
    to ALV call.  The ALV call needs a fieldcatalog without
    the internal table for cell coloring.
      t_fieldcat2[] = t_fieldcat1[].
    Add cell color table.
    CALENDAR_TYPE is a structure in the dictionary with a
      field called COLTAB of type LVC_T_SCOL.  You can use
      any structure and field that has the type LVC_T_SCOL.
      wa_fieldcat-fieldname = 'T_CELLCOLORS'.
      wa_fieldcat-ref_field = 'COLTAB'.
      wa_fieldcat-ref_table = 'CALENDAR_TYPE'.
      APPEND wa_fieldcat TO t_fieldcat1.
    Create dynamic table including the internal table
    for cell coloring.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog           = t_fieldcat1
        IMPORTING
          ep_table                  = r_dyn_table
        EXCEPTIONS
          generate_subpool_dir_full = 1
          OTHERS                    = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Get access to new table using field symbol.
      ASSIGN r_dyn_table->* TO <t_dyn_table>.
    Create work area for new table.
      CREATE DATA r_wa_dyn_table LIKE LINE OF <t_dyn_table>.
    Get access to new work area using field symbol.
      ASSIGN r_wa_dyn_table->* TO <wa_dyn_table>.
    Get data into table from somewhere.  Field names are
    known at this point because field catalog is already
    built.  Read field names from the field catalog or use
    COMPONENT <number> in a DO loop to access the fields.  A
    simpler hard coded approach is used here.
      ASSIGN COMPONENT 'FIELD1' OF STRUCTURE <wa_dyn_table> TO <w_field>.
      <w_field> = 'ABC'.
      ASSIGN COMPONENT 'FIELD2' OF STRUCTURE <wa_dyn_table> TO <w_field>.
      <w_field> = 'XYZ'.
      APPEND <wa_dyn_table> TO <t_dyn_table>.
      ASSIGN COMPONENT 'FIELD1' OF STRUCTURE <wa_dyn_table> TO <w_field>.
      <w_field> = 'TUV'.
      ASSIGN COMPONENT 'FIELD2' OF STRUCTURE <wa_dyn_table> TO <w_field>.
      <w_field> = 'DEF'.
      APPEND <wa_dyn_table> TO <t_dyn_table>.
    Color cells based on your criteria.  In this example, a test on
    FIELD2 is used to decide on color.
      LOOP AT <t_dyn_table> INTO <wa_dyn_table>.
        ASSIGN COMPONENT 'FIELD2' OF STRUCTURE <wa_dyn_table> TO <w_field>.
      Get access to internal table used to color cells.
        ASSIGN COMPONENT 'T_CELLCOLORS'
          OF STRUCTURE <wa_dyn_table> TO <t_cellcolors>.
        CLEAR wa_cellcolors.
        wa_cellcolors-fname = 'FIELD2'.
        IF <w_field> = 'DEF'.
          wa_cellcolors-color-col = '7'.
        ELSE.
          wa_cellcolors-color-col = '5'.
        ENDIF.
        APPEND wa_cellcolors TO <t_cellcolors>.
        MODIFY <t_dyn_table> FROM <wa_dyn_table>.
      ENDLOOP.
    Display screen.  Define screen 100 as empty, with next screen
    set to 0 and flow logic of:
       PROCESS BEFORE OUTPUT.
         MODULE initialization.
       PROCESS AFTER INPUT.
      CALL SCREEN 100.
    MODULE initialization OUTPUT
    MODULE initialization OUTPUT.
    Set up for ALV display.
      IF r_dock_ctnr IS INITIAL.
        CREATE OBJECT r_dock_ctnr
               EXPORTING
                  side  = cl_gui_docking_container=>dock_at_left
                  ratio = '90'.
        CREATE OBJECT r_alv_grid
               EXPORTING i_parent = r_dock_ctnr.
      Set ALV controls for cell coloring table.
        wa_is_layout-ctab_fname = 'T_CELLCOLORS'.
      Display.
        CALL METHOD r_alv_grid->set_table_for_first_display
          EXPORTING
            is_layout       = wa_is_layout
          CHANGING
            it_outtab       = <t_dyn_table>
            it_fieldcatalog = t_fieldcat2.
      ELSE.     "grid already prepared
      Refresh display.
        CALL METHOD r_alv_grid->refresh_table_display
          EXPORTING
            i_soft_refresh = ' '
          EXCEPTIONS
            finished       = 1
            OTHERS         = 2.
      ENDIF.
    ENDMODULE.                 " initialization  OUTPUT

  • Creating RFC with out manually creating structure on client place

    HI all,
    I have developed some RFC to be used by EP applications. In these RFC i am using some structures in IMPORT, EXPORT and TABLE . I want whatever structure and source code i have developed to be copy to some file which i can directly use it to create RFC on my client side while deploying rather than creating manually all the structure and pasting the source code on client side again.

    programs available in sdn to download program and FM.

Maybe you are looking for

  • Itunes on windows 7 keeps crashing (64 bit)

    I am having a huge problem with itunes 10.5.3.3. When i am using itunes... it suddenly crashes and I get a message box saying "Itunes has stopped working". another box then appears saying "A problem casued the program to stop working correctly. Windo

  • What is the file name of the thunderbolt driver?

    Does anybody know the file name of the thunderbolt driver that will allow me to access a thunderbolt drive from Windows? The BIOS see's the Promise controller/drive, but device manager doesn't see it. The boot camp support files from Apple are not in

  • A box on my screen interfering with operation

    There appears intermittently on my screen a blue box that looks like part of some HP tool.  It says "audio adjust,"  followed by 2 lines that are alternately highlighted: "volume" and "mute."  I can't remove or minimuze or move this box.  When it is

  • Easy way to create DVDs from several hrs of short video clips frm digicams?

    Didn't know which group to post this to. It's a 'consumer' need but I need expert insights. I have several years of video clips in iPhoto, taken on consumer digicams and iPhone. I want an EASY way to get these strung together for burning to DVD prima

  • Problem With Actionscript Working in Player 7 and Up

    Can some one please help me, I have been working with an old action script file that works in flash player 6 but not any thing above that. Any help would be great. As a side note the spline function no longer works either. onClipEvent (load) { functi