Adding one column in RFITEMAR.  tr-code  FBL5N

hi experts.
AFTER CONVERTING TO Y OR Z PROGRAM.
I want to add one WBS Element(projk) field in the output report ie i want one column in rfitemar(yrfitemar).
how to add the coulme i am not getting how to add that column in the report output.
table bseg-projk.
can u plz help me it is very urgent.

Hi,
Once you copy the rfitemar  to ZXXXXXXXX. All the field will displayed. In this program RFPOSXEXT strcuture is used. WBS element is also included in the strcuture. But this field (WBS Element PROJK) is visible in the change layout. If you want this field to appear in the default output list.
You need to modify the fieldcatalog as below :
loop at it_max_fieldcat.
if it_max_fieldcat-fieldname = projk.
it_max_fieldcat-no_out = ' '.
endif.
modify.
endloop.
Thanks,
Sri.
Message was edited by:
        Sriram Ponna

Similar Messages

  • How to add one column into the t.code: cat2

    Hi
    I am userexits
    here i want to add one column into the t.code: cat2 at particular location, and that added field have to display the data what i am selcting in that transaction.
    how to do this...
    thankx

    hi,
        CATS0005           
        CATS0007           
        CATS0009        
        CATS0010        
        CATS0012.
        Go through the documentations of above Enhancements to solve ur problem. I am not able to understand ur exact requirement. that is y i gave some more Enhancements.

  • After adding one column in a table can't get the header line

    hi all,
    i have make a SMART FORM which was working perfectly.Now the requirement of user is to add one column in my table at smart form which i did and after modification i execute it it give me data as well but issue which i'm facing is that the TABLE at smart forms in which i have add one field is not displaying the HEADER LINE which i have define with SELECT PATTREN option.
    Thanks & Regards,
    sappk25

    Hi,
    Have you created the Header Text? If yes, then might be the case that your smartforms
    table which was already created is with Multiple Line. Check weather you have added
    customer field in Header Line or Not?
    Regards,
    SUjeet

  • Shortcut object in Sunopsis- Adding one column in multiple aggregate tables

    Hello,
    We have a situation where we have existing aggregate tables. Now i need to add one column in common to all the aggregate tables(more than 10 aggregate tables). Is there some way out to do all at the same e.g. making some shortcut object or something else.

    Hi,
    have you tried requesting the focus on your newly selected internal frame ?

  • How do I add more than one column to a table using SQL?

    Hi
    I need to add 3 columns to a table using SQL
    the syntax
    "ALTER TABLE TEST ADD COLUMN newcol1 float";
    works fine - for adding one coumn only.
    For multiple columns I tried various permutations along the lines of
    "ALTER TABLE TEST ADD (COLUMN newcol01 float, COLUMN new2 float,COLUMN new3 float)";
    "ALTER TABLE TIPSTEST ADD COLUMN new1 float"
    "ALTER TABLE TIPSTEST ADD COLUMN new2 float"
    "ALTER TABLE TIPSTEST ADD COLUMN new3 float"
    etc., but this doesn't work.
    From a web search it sounds like SQL can only add one column at a time.
    I have a workaround : create intermediate temporary tables , copying data and adding
    one column at each stage. It seems a fairly awkward way of programming though.
    Am I missing something simple : is there a way to add multiple columns in one go?
    Thanks

    OK : solved an underlying problem with this one myself
    for the code
    String createString;
    createString =  "select COFFEES.* INTO NEWCOFFEES FROM COFFEES"; // example
              Statement stmt;
              try {
                   stmt = a_Globals.database1Connection.createStatement();
                          stmt.executeUpdate(createString);
                   stmt.close();
                   a_Globals.database1Connection.close();
              } catch(SQLException ex) {
                   System.err.println("SQLException: " + ex.getMessage());
              }                    commenting out the line:
    a_Globals.database1Connection.close();
    Allowed the subsequent SQL statement(s) to work OK. Looks like this was the cause of several
    difficulties, preventing me doing several SQL instructions in turn.
    Thanks for the responses.
    Mike2z

  • Collecting data from multiple rows into one column

    I'd like to run a query and put a collection of items into one output column instead of multiple rows. See the example below:
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Prod
    PL/SQL Release 10.2.0.5.0 - Production
    "CORE     10.2.0.5.0     Production"
    TNS for 32-bit Windows: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
         CREATE TABLE "SKIP"."INGREDIENTS"
       (     "INGRED_ID" NUMBER,
         "INGRED_NAME" VARCHAR2(20 BYTE),
         "STORES" VARCHAR2(20 BYTE)
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" ;
    REM INSERTING into SKIP.INGREDIENTS
    Insert into SKIP.INGREDIENTS (INGRED_ID,INGRED_NAME,STORES) values (1,'SEA SALT','Food lion');
    Insert into SKIP.INGREDIENTS (INGRED_ID,INGRED_NAME,STORES) values (2,'TABLE SALT','Food lion');
    Insert into SKIP.INGREDIENTS (INGRED_ID,INGRED_NAME,STORES) values (3,'FLOUR','Piggly Wiggly');
    Insert into SKIP.INGREDIENTS (INGRED_ID,INGRED_NAME,STORES) values (4,'YEAST',null);
    Insert into SKIP.INGREDIENTS (INGRED_ID,INGRED_NAME,STORES) values (5,'BEER','ABC Store');
      CREATE TABLE "SKIP"."PRETZELS"
       (     "PRETZEL_ID" NUMBER,
         "PRETZEL_NAME" VARCHAR2(20 BYTE),
         "PRETZEL_DESC" VARCHAR2(100 BYTE)
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" ;
    REM INSERTING into SKIP.PRETZELS
    Insert into SKIP.PRETZELS (PRETZEL_ID,PRETZEL_NAME,PRETZEL_DESC) values (1,'CLASSIC','Classic knot pretzel');
    Insert into SKIP.PRETZELS (PRETZEL_ID,PRETZEL_NAME,PRETZEL_DESC) values (2,'THICK STICK','Straight pretzel, abt 1/2" in dia');
      CREATE TABLE "SKIP"."INGRED_XREF"
       (     "PRETZEL_ID" NUMBER,
         "INGRED_ID" NUMBER
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" ;
    REM INSERTING into SKIP.INGRED_XREF
    Insert into SKIP.INGRED_XREF (PRETZEL_ID,INGRED_ID) values (1,1);
    Insert into SKIP.INGRED_XREF (PRETZEL_ID,INGRED_ID) values (1,2);
    Insert into SKIP.INGRED_XREF (PRETZEL_ID,INGRED_ID) values (1,4);
    Insert into SKIP.INGRED_XREF (PRETZEL_ID,INGRED_ID) values (2,2);
    Insert into SKIP.INGRED_XREF (PRETZEL_ID,INGRED_ID) values (2,3);
    Insert into SKIP.INGRED_XREF (PRETZEL_ID,INGRED_ID) values (2,5);
    --  Constraints for Table INGRED_XREF
      ALTER TABLE "SKIP"."INGRED_XREF" MODIFY ("PRETZEL_ID" NOT NULL ENABLE);
      ALTER TABLE "SKIP"."INGRED_XREF" MODIFY ("INGRED_ID" NOT NULL ENABLE);
    {code}
    Desired output (note how the ingredients are all listed in one column, separated by commas):
    {code}
    PRETZEL_ID PRETZEL_NAME     PRETZEL_DESC                        INGREDIENTS
    1          CLASSIC          Classic knot pretzel                SEA SALT, TABLE SALT, YEAST
    2          THICK STICK      Straight pretzel, abt 1/2" in dia   TABLE_SALT, FLOUR, BEER

    See the FAQ : {message:id=9360005}
    Especially links concerning string aggregation.

  • Output of the T-Code FBL5N to a Internal Table

    Hi Guru's ,
    My requirement is to get the output of a standard program (RFITEMAR) T-code FBL5N into an internal table in my Z program.
    I tried to copy the standard program but , the includes are copied with standard names and some where it is taking the reference of the standard program and resulting into a dump after a I selesct ' Switch List ' from Menu ' Environment '
    Please guide me for the same....
    I don't want to spend time on writing the logic on which SAP has already worked.
    Regards,
    Archana W

    Hi,
    Problem arises due to the copying object during program copy to Z-Program.
    It does not create any impact of copying standard Includes during copy.
    You have to select all the check boxes during copy a program through standard program.
    GO TO T.Code  SE38
    Right the program name you want to copy.
    GOTO MENU Option -> Program -> Select COPY,
    It will show source and target program name.
    Make Target Program as Z and clik OK.
    It will show another scree for documentation and other object associated with Program.
    Select all check boxes and click ok.
    System automatically assigne all standard object and includes to your z-program.
    after that you can do the changes in you z-program.
    pass all the data displayed on screen into the internals after declaration.
    Regds,
    Anil

  • How to update LTDX table for ZReport of T-Code FBL5N

    Hi,
    We have copied report RFITEMAR(T-code FBL5N) to ZRFITEMAR(T-Code ZFBL5N), to meet some of our requirement.
    Now, It is not showing Layouts in F4 help of screen field "Layout" in ZFBL5N and also we are not able to set default variant for the same.
    I found the issue is, First it goes to table LTDX to search for any default/1SAP variant but it didn't find any entries in the table.
    If we can make this entry(Report: ZFITEMRA, Variant: 1SAP) in table LTDX, then issue can be solved. Please let me know if any other way is available for this type of issue.
    Thank you.

    Hi
    FI_ITEMS_DISPALY is used by FBL1N, FBL3N and FBL5N and now (in your system) ZFBL5N, but the problem is FI_ITEMS_DISPLAY expects to be called only by standard transaction so:
      if not is_u_variant-variant is initial.
    *   check existence of named variant:
        perform alv_variant_check changing x_varexist.
        if x_varexist is initial.
          message i000(msitem) with is_u_variant-variant.
        endif.
      else.
    *   check existence of default variant:
        perform alv_default_check changing x_varexist.
      endif.
      if x_varexist is initial.
    *   take 1SAP, if it exists:
        clear is_u_variant.
        case acctype.
          when 'D'.
            is_u_variant-report = c_program_ar.
          when 'K'.
            is_u_variant-report = c_program_ap.
          when 'S'.
            is_u_variant-report = c_program_gl.
        endcase.
        is_u_variant-variant = '1SAP'.
        is_u_variant-username = sy-uname.
        perform alv_variant_check changing x_varexist.
        if x_varexist is initial.
          clear is_u_variant.
        endif.
      endif.
    As you can see, the fm check if the variant exists and if you don't move any variant the fm check if a default variant exists, if both controls fail then fm overwrites the report name.
    So I believe you should create a default variant in order to avoid the fm overwrites the report name
    Max

  • Adding One Line Code in all tables in Designer Trigger.

    I have 300+ tables in my Schema (All tables generated through Designer), I want to add one line of code in the begining of "Before Inset Row Trigger" of all tables, So what is the fastest way of doing that,
    Adding One Line Code in all tables in Designer Trigger.
    I don't want to go and modify each and every table

    You'll have to write a script that reads out the current contents of your triggers, add your line to this contents and dynamically "create or replace" the new trigger text.
    Beware, trigger_body column of user/all/dba_triggers is in a column with datatype LONG, so you'll have to use some sort of conversion.
    Good luck.
    regards,
    Rob.

  • How to add one column to the standard t.code : CAT2.

    Hi,
    How to add one column to the standard t.code : CAT2.
    thanks

    Hi Chinna
    see the  enhancements by using SMOD <b>CATS0007</b> , or <b>CATS0012</b> and create a project using CMOD and you can implement your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • Adding one field in selection-screen in rfitemar

    hi experts
    1)  I am converting the rfitemar to z or y program after that i have to add one field   wbs element(projk) in selection screen.
    2) The WBS Element values should be displayed in the output report ie one column which contain wbs element values .
    Plz help me as soon as possible

    Hi,
       In this report,
    1. find out the final table for display.
    2. add ur custom fields in that table using appending structure.
    3. find out correct enchance spot or BADI,...etc...before diaply(befor calling FM REUSE_GRID_DISPLAY or method  SET_TABLE_for_display or..etc).
    4. in that enchance spot or badi u can write ur logic.
    Regards,
    Ramesh.

  • Adding color to one column of a table

    I am trying to make the first column light blue where it says
    Eagle Forum Alerts. Here is the site:
    http://www.indianaeagleforum.org/index.html
    I assume the code is bgcolor=#Cddceb; Where do I put it so that
    only this column is light blue? Either the whole table is blue or
    the whole table is white. I just want one column blue. Thanks for
    your help.
    Diana Hunter

    On Sat, 09 Aug 2008 00:32:14 +0200, Michael Fesser
    <[email protected]>
    wrote:
    >
    >Not good.
    Yes I know Micha - I've only done it very, very occasionally
    sorry :-)
    >If you want the text in an entire column to be centered,
    you
    >should apply classes to these cells instead of making
    them table
    >headings. Currently that's the only "right" way.
    Yes Micha - I sort of knew that - it's just that I have
    tables that
    contain long schedules of data and just find it tedious
    putting that
    into about 30 to 150 rows :-)
    and Dw can't do it in design view - can it ?
    > There's no guarantee
    >either that a table heading will always appear centered
    by default!
    >It's just a recommendation, you shouldn't rely on it.
    I haven't found any problems in the main browsers -
    IE6&7, FF, Safari
    & Opera - not sure about some of the *nix browsers that
    aren't based
    on FF, WebKit ( as does Safari ).
    >For such purposes I always have these classes in my
    default CSS:
    >.ac {text-align: center}
    >.al {text-align: left}
    >.ar {text-align: right}
    good idea - I'll borrow that - thanks :-)
    >If I want an entire table column to be centered, I simply
    add a
    >class="ac" to each cell there. Since most of my data
    tables are created
    >by PHP scripts, I can do this quite conveniently and
    automatically.
    sadly I've not done that with php yet - most of the tables
    are
    historical data - I'm given in spreadsheet or Word table
    form.
    >
    >Another possible solution (at least in some cases) would
    be to play with
    >the more advanced CSS selectors like adjacent sibling and
    first child.
    >For example to address the second cell in each row you
    could use
    >
    >td:first-child+td {...}
    >
    >Works well in modern browsers, but will fail in IE 6 and
    below, though.
    Thanks for the reminder - i did read about these in Meyer's
    Definitive
    Guide, but that was about a year ago -
    >
    >Personally I can live with that, since IE 6 usage is
    constantly
    >dropping. For me IE 6 is becoming the next NN 4 - I just
    make sure that
    >the site's content is available and usable, but I don't
    really care too
    >much about any graphical glitches or missing CSS effects
    anymore.
    I'm rapidly coming to the same conclusion. Just checked my
    logs and
    IE6 is between 13 and 25%.
    thanks again for your guidance.
    ~Malcolm~*...
    ~*

  • EA2: Code is generated for only one column with Domain check constraint.

    I created a Domain with a Value List (Y or N - Yes or No) and used that domain for two columns in the same table. But for only one column (the last one) the check appears in the generated DDL.
    After I enabled the "Use Domain Constraints" both checks appear in the DDL, but one as an inline check constraint and one as an "Alter table add contraint.."
    Once I changed the naming Template for the check constraint, both constraints are generated as an Alter table clause. The inline check constraint is only generated when the name of the constraint (according to the template) is too long. It would be nice if I could choose if I want an inline or a separate check constraint definition.
    Edited by: Roel on Nov 23, 2010 11:55 AM
    Edited by: Roel on Nov 23, 2010 12:02 PM

    I logged ER for that
    Philip

  • When creating a "lookup" column be able to display not only one column from the other list, but additional columns

    With the lookup technique, it is possible to select an item from another list and display one column of this item
    It is obviously possible to create several lookup columns on the same list and therefore display several columns
    There’s a high risk of not selecting the same item and therefore have inconsistent columns
    The Requirement therefore consist of being able of displaying several columns of the same item from the other list, based on one unique selection
    Example:
    In list(x), define lookup column on list (y), column Title (possible today)
    Then define a “secondary” lookup column on same list, column Code
    The effect would be that when selecting an item from list (X), both Title and Code would show up consistently in 2 different columns of list (Y)
    All possible solutions are welcomed

    If you are using SharePoint 2010, you can retrieve additional columns when adding a Lookup. If you are using 2007, there is no direct OOTB way, but the following two posts provide potential work-arounds:
    https://www.definitivelogic.com/blog/microsoft-sharepoint-2007-pulling-column-data-one-list-another-based-common-list-field
    http://stefan-stanev-sharepoint-blog.blogspot.com/2010/11/sharepoint-2007-associated-lookup.html
    Dimitri Ayrapetov (MCSE: SharePoint)

  • How to add one column for entry in the TLB screen?

    Hi all,
    Does anybody know how to add a customised column for free text in the TLB header screen? The reason is user needs to add ship or container no. This info will be later on interfaced via CIF exit to R/3.
    I think many of you have the same requirement.
    Thanks heaps!

    Thanks Digambar,
    Can you help to work out more detail on how to customize the code in the TLB screen?
    Are you thinking of adding one field in the table and making the ALV grid control editable? If you have any reference doc/link to do it, it would great!
    Cheers,

Maybe you are looking for