Modifying Masthead - Add fields from Infotypes

Hi ,
I need to make some changes on welcome message, in portal.
I already identify the par file that i need to change (com.sap.portal.navigation.masthead), and the JSP file (HeaderiView.jsp).
The questions are:
1- How can i add some fields to the welcome message, with information from Infotypes (R/3)? Can i "control" the connection to the R/3 in this HeaderiView.jsp?
2- Can i acess to the code of "com.sapportals.portal.prt.session.IUserContext", that is imported in HeaderiView.jsp, in order to know which methods this class has and use them?
Thanks in advance,
Regards

Hi Louis,
I am afraid your solution will effect the response time and it can create lot of issues. The Masthead will be loaded in the first call, and if you are trying to access the R3 during this your response time will be very high. Another thing is any problem in your R3 side(like network failure, R3 down time etc) will cause your Masthead code to crash, It can even stop the user from logging off, and will not be a very pleasant situation. You may need to rethink your solution.
As far as adding custom fields are concerned, you can always do that. Why you need to do it through the IUserContext i couldn't make out. Its a jsp file and you can put whatever you feel like !!.
regards
Prashant

Similar Messages

  • Add field from structure maintanace option for datasource in LBWE (BI 7)

    Hi,
    while i try to add extra field (transaction:LBWE for data source(ex 2lis_02_itm)) from structure maintance option to add field from structure(MCEKKO) to res data source(MC02M_0ITM) , than it moves to left side but when make enter message comes that it will not populated in extrect structure(i.e in MC02M_0ITM OR RSA2),
    but when we try to add extra field not by structure maintanace option in LBWE but form append structure option from that structure MC02M_0ITM ( that field is not in that maintanace option in LBWE) than it comes in that structure MC02M_0ITM and also can see in RSA2.
    Than how can we use that structure maintanace option avialble for the res. data source in LBWE?
    Best regards,
    dushyant.

    It solved automaticaly,
    yes later i got that error entry still exit whic solved by deleting setup table and than try,
    thanks.
    one another problem: when i try to activate 0order_quan key figure for cube 0pur_c01 for data source 2lis_02_itm at update rulen by assignig source field for that key figure , i am unable to activate - its remain in warning symbol only and getting further message while check that Target unit and source unit for key figure Order quantity are different.
    Best Regards,
    dushyant.

  • Add Fields from table ADRC (Fields Name 1 to 4) for Open Item Processing

    Hi SAP Expert:
    Our client requires vendor/customer name to be displayed in the open item processing line layout for transaction code f-58, so they can double check if the vendor name is complete as intended. 
    We intend to add fields from table ADRC instead of REGUH since the characters in maintaining vendor/customer name is 40 characters and REGUH - ZNME1s are only 35 characters. 
    We have managed to add fields from ADRC and change the SAPDF05X program and were able to display the names in open item layout, except that the program seems to "automatically" create a generic table which only carries 30 characters of the vendor/customer name.  The source table should be RFOPS_DK but the program automatically looks up from table RFOPS_GEN for the particular fields - Name 1 to 4.  Is there a way to "instruct" the program to use RFOPS_DK instead of RFOPS_GEN?
    Hope this will merit somebody's attention... Thanks !!!

    Thanks,  i have assigned the layout via o7v3,  it is the program that i have a problem with,  actually another program that we change is the program MF05BFPO where it generates data to be displayed in the FBZ4 screen,  though we add a field with 40 characters (ADRC Name 1 to 4)  what the program dispalys is a 30 character Name1 to 4 from structure RFOPS_GEN. 
    My question is can i extend/change the structure RFOP_GEN to 40 characters,  is there any SAP standard program that will aftected if i do so?  thank very much...
    Lorena

  • Can we add fields from structure while enhancing datasource

    Hello all,
    I am trying to enhance a SAP delivered datasource. Is it possible to add fields from a logical database structure or do we have to add fields only from a table.
    Is the procedure the same.
    Thanks a lot

    hi KM,
    you want to drop all the added fields or some ?
    go to the extract structure screen,
    rsa2->type in your datasource name, double click the
    extraction structure, to delete some fields, click append structure, in next screen mark the fields and sign '-'.
    to delete the append structure, check this
    How to delete append structure
    Delete append structure with a long name
    hope this helps.

  • Unable to add field from structure maintanace opt for datasource(LBWE BI 7)

    Hi,
    while i try to add extra field (transaction:LBWE for data source(ex 2lis_02_itm)) from structure maintance option to add field from structure(MCEKKO) to res data source(MC02M_0ITM) , than it moves to left side but when make enter message comes that it will not populated in extrect structure(i.e in MC02M_0ITM OR RSA2),
    but when we try to add extra field other than with that structure maintanace form append structure option from that structure MC02M_0ITM than it comes in that structure MC02M_0ITM and also can see in RSA2.
    Than how can we use that structure maintanace option avialble for the res. data source in LBWE?
    Best regards,
    dushyant.

    It solved automaticaly,
    yes later i got that error entry still exit whic solved by deleting setup table and than try,
    thanks.
    one another problem: when i try to activate 0order_quan key figure for cube 0pur_c01 for data source 2lis_02_itm at update rulen by assignig source field for that key figure , i am unable to activate - its remain in warning symbol only and getting further message while check that Target unit and source unit for key figure Order quantity are different.
    Best Regards,
    dushyant.

  • Cant add field from structure maintanace option for  datasource(LBWE BI 7)

    Hi,
    while i try to add extra field (transaction:LBWE for data source(ex 2lis_02_itm)) from structure maintance option to add field from structure(MCEKKO) to res data source(MC02M_0ITM) , than it moves to left side but when make enter message comes that it will not populated in extrect structure(i.e in MC02M_0ITM OR RSA2),
    but when we try to add extra field other than with that structure maintanace form append structure option from that structure MC02M_0ITM than it comes in that structure MC02M_0ITM and also can see in RSA2.
    Than how can we use that structure maintanace option avialble for the res. data source in LBWE?
    Best regards,
    dushyant.

    It solved automaticaly,
    yes later i got that error entry still exit whic solved by deleting setup table and than try,
    thanks.
    one another problem: when i try to activate 0order_quan key figure for cube 0pur_c01 for data source 2lis_02_itm at update rulen by assignig source field for that key figure , i am unable to activate - its remain in warning symbol only and getting further message while check that Target unit and source unit for key figure Order quantity are different.
    Best Regards,
    dushyant.

  • There's a way to add field to infotype 0000

    hi everyone !
    i would like to add field substitude position to infotype 0000.
    there's a way ?

    The "Common Tools" panel is not available by default. You're more likely to find it under Tools - Pages - Insert From File...

  • FM or code add fields from WLP00 to WLP16

    Hi,
    I m fetching data from table 'rpsco' into an internal table.
    now this table has fields from WLP00 to WLP16
    I want to add these fields, so is there any standard FM available for this or any standard SAP code.
    Thanks

    Instead of FM u can use simple abap statement
    ADD - THEN, UNTIL .........
    EX:
    DATA: BEGIN OF numbers,
            one   TYPE p VALUE 10,
            two   TYPE p VALUE 20,
            three TYPE p VALUE 30,
            four  TYPE p VALUE 40,
            five  TYPE p VALUE 50,
          END OF numbers,
          sum     TYPE i.
    SELECT-OPTIONS position FOR sum.
    ADD numbers-one THEN numbers-two
                    UNTIL numbers-five
                    ACCORDING TO position
                    GIVING sum.

  • Add fields from tab2 to tab1

    hallow
    i have two internal tables with same type fields and i wont to add fields of table 2
    to table 1 what is the best way to do that?
    <b>i reward</b>
    ex.
    itab1
    a1 a2 a3 a4 a5
    1   2   3  4   5
    itab 2
    b1  b2  b3  b4  b5 
    6    7    8    9  10
    i wont in itab 1
    <b>a1  a2  a3  a4  a5
    7   9    11   13  15 <---a1+b1 in field a1 in itab 1</b>
    Regards

    Hi..
    <b>Try this ...</b> This can be better bcoz we are using the FIELD SYMBOLS so it will calucate the Sum for all the fields irrespective of how many are there.
    Note: ADD-CORRESPONDING can be used only if the Fieldnames are same.
    Field-symbols: <FS1> LIKE LINE OF ITAB1.
    Field-symbols: <FS2> LIKE LINE OF ITAB1.
    Field-symbols: <FS_FIELD1> TYPE ANY.
    Field-symbols: <FS_FIELD2> TYPE ANY.
    LOOP AT ITAB1 ASSIGNING <FS1>.
      V_TABIX = SY-TABIX.
      READ TABLE ITAB2 assigning <FS2> INDEX V_TABIX.
               DO .
                  ASSIGN-COMPONENT SY-INDEX OF <FS2> TO <FS_FIELD2>.
                 IF SY-SUBRC NE 0.
                    EXIT.
                 ENDIF.
                  ASSIGN-COMPONENT SY-INDEX OF <FS1> TO <FS_FIELD1>.
                  IF SY-SUBRC NE 0.
                   EXIT.
                  ENDIF.
                             ADD <FS_FIELD2> <TO <FS_FIELD1>. 
                 ENDDO.   
    ENDLOOP.
    <b>Reward if Helpful</b>

  • Add field to infotype OM

    Hi,
    Exist some form to adding a field in custom infotype of OM ?  HRP900X

    tks Binoj Nair , but in the Tcode PPCI exist 3 icon Create, modify and enlarge, which should use ? 
    I ask it to you because it is an infotype that this working in LRP and I don't want to damage it.
    tks.

  • E-Recruitmet - Description field from Infotype 5121

    Hi All
    I am working on e-recruitment and was wondering where the description fields related to Infotype 5121 are stored.
    The data that we enter in Posting Information page from the frontend(BSP) is getting updated in 5121, but the texts(description) is not stored in this inofotype.
    Any ideas would be helpful.
    thanks
    swaroop

    Hello,
    As an addition to Roman's answer, you can also use a generic method which can work for every IT of e-recruting:
    Use method cl_hrrcf_t77rcf_docid=>read_record to get the structure t77rcf_docid.
    Then use the method cl_hrrcf_hrkwf_storage=>read_infty_text with t77rcf_docid-docid. You can get the parameter version from the number in the field of your infotype.
    Hope it helps
    Olivier

  • How to add fields in custom infotype and update its screens

    Hi Experts
        I want to enhance a custom infotype ( Add some new fields, and add special function on its screen). This custom infotype is created in previous release.   is there any way to add fields in infotype? and let system automatcailly modify corresponding screens to add new fields

    Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the u2018Employee Infotypeu2019 radio button.
    4) Select the u2018PS Structure Infotypeu2019.
    5) Click on Createu2026 A separate table maintenance window appearsu2026
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on u2018Allu2019 push button. It takes a few moments.
    10) Click on u2018Technical Characteristicsu2019. Infotype list screen appears
    11) Click on u2018Changeu2019(pencil) button
    12) Select your Infotype and click on u2018Detailu2019 (magnifying glass) button
    13) Give u2018T591Au2019 as subtype table
    14) Give u2018T591Su2019 as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on u2018Infotype Characteristicsu2019 u2026 Infotype list screen appears
    18) Click on u2018Changeu2019 (pencil) button
    19) Click on u2018New Entriesu2019
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotypeu2019s infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirementu2026
    25) In the PM01 initial screenu2026Select u2018Screenu2019 radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select u2018Layout Editoru2019 and click u2018Changeu2019.
    27) Screen default layout appearsu2026here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Donu2019t forget to u2018Activate at every level
    i think u have to select CI_INCLUDE while enhanceing the Standrad Infotype

  • Approver name as changed field in infotype instead of WF-BATCH

    HI Experts,
    I am working scenirio webdynpro with workflow. When user submits the reocrd  from webdynpro screen it should be stored in custom infotype. Creating record process should be done through workflow backgroud step.
    In above scenirio ,Changed By filed in infotype  as WF-BATCH. But i need to display user name in that field.
    Please refer below image FYI.
    Thanks in advance

    Thanks for quick reply..
    In standard infotype 2002 has already field UNAME, So no need to add field in infotype.
    I have tried like p2002-UNAME = 'SCNUSER'.
    But it didn't work because updation done by backgroud through workflow.
    Please let me know in you find any alternative solution.
    Thanks,
    Srinivas.

  • CNMASS - Ability to apply custom fields from structure CI_PROJ

    Hi,
    Is there a way to add fields from the Customer Enhancment tab in structures CI_PROJ, CI_PRPS to CNAMSS transaction?
    thanks,
    Cathy

    Hi,
    I have the same problem. I want to change a customer field (from structure CI_PROJ) via trx CNMASS. But the fields of structure CI_PROJ are not provided.
    Is there a standard possibility to extend the table CNMASS_PROJECT_DEFINITION with the structure CI_PROJ? I donu2019t want to modify the SAP table CNMASS_PROJECT_DEFINITION.
    Of course I know that I can write a program ore use trx LSMW but I'm looking for a more suitable and comfortable solution.
    @Cathy: did you find a solution in standard?
    Thanks in advance for any hint!

  • Urgent: Add field in generic data source

    Hi,
    Could anyone please help me out in resolving the issue to add field from different table in generic datasource.
    How can I add it in R/3 data source when a function module was created in ABAP to generate fields from PLPO table?
    Whatz the changes has to be done at BW side to map the added field?
    <u>Requirement</u>
    1) Need one more field in the extractor. Field name is PLAS-LOEKZ. Initially client wanted me to add PLPO-LOEKZ which I added, now he needs the same fields from both the table (PLAS and PLPO).
    2)The name of the extractor/structure is ZBW_ROUTINGS_OPERATION
    3)Now, we need to add this field (LOEKZ from PLAS) in the function module as well. FM name is: Z_BW_ROUTE_OPERATION_EXTRACTOR. This will be in a SELECT query. We need to add this field in the SELECT statement.
    Testing will be done in following steps
    1)     Go to Transaction RSA3.
    2)     Enter the data source “Z_BW_OPERATION_ATTR”(not sure about the name though, but it should end with OPERATION_ATTR)
    3)     Enter the following details:
    EXTTY – I
    PLNNR – 50000032
    PLNTY – N
    4)     Now execute (F8) the transaction.
    5)     Click on “Display List”
    6)     In the output, we should be able to see these 2 columns(PLAS-LOEKZ) and (PLPO-LOEKZ)
    Please send your valuable suggestions to resolve the issue ASAP as its damn urgent.

    Hi,
    Here is an overview of the solution -
    Use T.Code SE11> ZBW_ROUTINGS_OPERATION. Add your new field (PLAS-LOEKZ) to this table, check, save, activate. Edit your function module, SE37> Z_BW_ROUTE_OPERATION_EXTRACTOR and add your code to look up the correct value of this field LOEKZ from the table PLAS, check, save, activate. (Note that SAP provides a sample function module you can use as a template and customize for your requirements. This sample function module is RSAX_BIW_GET_DATA_SIMPLE.)
    Your Generic DataSource Z_BW_OPERATION_ATTR  is already created, you don’t have to change any settings here. Just regenerate it in RSO2. Now test the extraction for the DataSource in RSA3.
    Hope this helps
    Sandeep

Maybe you are looking for

  • Dbms_xmlschema.registerschema, (ORA-31084: error while creating table )..

    Hello, I have some problems with dbms_xmlschema.registerschema My database is: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production My XSD schema is (SEPA pain.002.001.03.xsd) also available on this url: http://code.google.com

  • I get a message "before viewing pdf documents i must launch adobe reader and accept end user licence

    I get a message "before viewing documents in this browser you must launch adobe reader and accept the end user licence agreement then quit and relaunch the browser". How do I do this?

  • CF7 and JDK 1.4.2 - EV SSL Certificate Issue

    Let me start off by telling the group that we do not use CF for any of our applications.  We are a payments company that hosts a .NET API in IIS that 100's of thousands of customer use.  We have one particular customer using CF7 and JDK 1.4.2 who is

  • Microsoft wireless mobile mouse 4000 issue

    My wife has a 4-year old MacBook Pro running 10.6 (can't get her to change...).  We recently had to replace her MS Wireless Mobile Mouse 4000--we've both used these for years.  We're having an issue with hers...the left button won't go "back" in Safa

  • Query regarding tables in adf

    Hi, I am new to ADF.Last day I was experimenting with ADF tables.I've created an entity and a view object.I have also created an application module.I've written a custom method in application module which returns all the rows for a view.Then ,I creat