How to make default Currency  depending upon plant in table entries

Hi,,
How to make default Currency  depending upon plant in table entries?
I am making entries in SM30.
I have the following fields in z table.
plaant , material,month.year,PFvalue,Currency.
Can  some body throw light for this issue,please?\
I am familiar  with modification-events.
With Regards,
Jaheer

Hi,
  In PBO, within a LOOP, table control is filled via a Structure/Work Area.
  In that module, code as follows,
LOOP AT SCREEN.
    IF WA-FIELD1 = C_1 AND SCREEN-GROUP1 = C_G1.
      SCREEN-INPUT = 0.
      MODIFY SCREEN.
    ENDIF.
ENDLOOP.
  Here, WA is a strcture & FIELD1 is its field, like that...
  I already did this.
  Check it out & Reply.
Yours,
R.Nagarajan
We can

Similar Messages

  • How to make default values in selection field?

    hi,
          i have selection field date , using data element 'QENTST' using following code in view INIT Method. i get the input selection field when i test application.
    DATA: LT_RANGE_TABLE TYPE REF TO DATA.
    CALL METHOD WD_THIS->M_HANDLER->CREATE_RANGE_TABLE
      EXPORTING
        I_TYPENAME                     =     'QENTST'
      RECEIVING
        RT_RANGE_TABLE           =     LT_RANGE_TABLE.
    CALL METHOD WD_THIS->M_HANDLER->ADD_SELECTION_FIELD
      EXPORTING
        I_ID                                     = 'QENTST'
        IT_RESULT                         = LT_RANGE_TABLE
        I_OBLIGATORY                 = ABAP_TRUE.
    What i need now , to make default value in this selection field( low = sy-datum and high = sy-datum + 10 ) . I have checked , i found one method called... SET_RANGE_TABLE_OF_SEL_FIELD. Bt i m not able to understand how to assign values to input table parameter in this method?
    Thanks In Advance.
    Saurin Shah

    Hi,
    Refer this Article by Thomas on how to make default values in Select Options:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd
    I hope it would solve your problem.

  • How to make Default ALV layout

    Hi,
    I want to make 'STANDARD view' as a default ALV Layout...If anybody execute my ALV Report STARD Layout variant should display by default. Other variant layouts they can select from drill down..
    I know class and method but i don't know how to write code for this with paremeters..Can anybody help on code please..
    CLASS : CL_SALV_WD_C_TABLE
    METHOD : IF_SALV_WD_COMP_TABLE_PERS~SET_STANDARD_VIEW
    My current ALV CODE
      DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .
      DATA: l_value TYPE REF TO cl_salv_wd_config_table.
      l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
      l_value = l_ref_interfacecontroller->get_model( ).
    Thanks.,
    Subba

    Hi sarbjeet singh,
    Thanks for your reply...
    I didn't understand your answer...Already this view gone to production system and every USER created his own view..
    Now how can make default standard view to all users..
    If i keep Standard view as Intial view and release transport to production is it effected to all users and display standard view as initial view?
    Thanks,
    Subba

  • How to make Default the Higher-Level Manager of the employee

    Dear experts,
    how to make Default the Higher-Level Manager of the employee as Further Participant in performance management ?
    Regards,
    TVS

    Hi,
    The delivered BAdI below defaults in both the appraiser and appraisee as part-appraisers//Default Further Participants.
    BAdI Area: Appraisal Enhancements
    BAdI Definition: HRHAP00_DOC_DEF_DO (Appraisal - Default Further Participants)
    App. Enhn.: DEFAULT_ALL_MANAGERS     
    Implementation: HRTMC_DEF_OTHERS
    Implementation short text: Determine All Managers
    Implement this BADI  in SE18/SE19 and  write the desired code in the  BADI methods
    Hope this will help u out.....
    Regards
    Lakhan

  • How to set default currency and Country in R12 financial modules

    Hi all,
    How to set default currency and Country in R12 financial modules (AR,AP,GL,FA,CE) becuase I found some default settings are shown "USD" & "United States" such as create AR Customer, the Country is shown the default "United States"....
    Can anybody advise ?
    Thanks & Regards,

    Hi,
    Change the below profile for the user to a territory different than the US :
    In System Administrator, navigate to Profiles -> System.
    Select Site, Application, and Responsibility.
    Profile options:
    Default Country
    HZ: Reference Territory
    ICX: Territory
    Regards,
    Raju.

  • Build dynamic query depending upon selection of table and columns

    Hi ,
    I want your views on following requirement :
    we r doing generic export to excel functionality .
    1.User will select multiple tables and according to tables ,columns on that table will select
    2.There can be multiple table
    3.depending upon column and table selection , we have to build dynamic query and execute .
    Please let me know is it possible .If yes then please tell me how to do above requirement.
    Thanks in advance

    Hi,
    Identifiers cannot be used as bind variables, query are parsed
    before evaluate bind variables. Identifiers like table name.
    For excel you can use some like this:
    SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
    SPOOL test_xls.xls
    SELECT colum1||chr(9)||columN FROM tableName;
    or CSV:
    SELECT colum1|| ',' ||columN FROM tableName;
    SPOOL OFF
    SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
    For construct the query i suggest to read "Dynamic SQL Statements":
    http://www.java2s.com/Tutorial/Oracle/0440__PL-SQL-Statements/0300__Dynamic-SQL.htm
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/dynamic.htm
    http://docs.oracle.com/cd/B10500_01/appdev.920/a96590/adg09dyn.htm
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:227413938857
    --sgc                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • How to make the diagonal line in the swing table cell?

    Hi all,
    How to make the diagonal line in the swing table cell just like the link below?
    http://61.132.17.188/webber/table.gif

    One improvement.. To get a line that is neat, use a bit of Graphics2D
        public void paintComponent(java.awt.Graphics g)
            int w = getSize().width;
            int h = getSize().height;
            // draw a line between (0,0) and (w,h)  
            g.setColor(getForeground());
            if (strTop == null)
                strTop = "  ";
            if (strBottom == null)
                strBottom = "  ";
                java.awt.Graphics2D g2 = (java.awt.Graphics2D)g;
              g2.setRenderingHint(java.awt.RenderingHints.KEY_ANTIALIASING,java.awt.RenderingHints.VALUE_ANTIALIAS_ON);
              //g2.setStroke(new java.awt.BasicStroke(14.0f));
            g.drawLine(0, 0, w, h);
            //the following lines will draw the two strings,
            //one above the top of the line and the above below it.     
            g2.drawString(strTop, (w/2)+2, (h/2)-2);
            g2.drawString(strBottom, 2, (h / 2) + 2);
            //the x,y for drawString are only based on assumption.   //do necessary changes to suit ur needs.
        }Then create a TableCellRenderer and set it to the Table Header for ur table's 1st row.....
    Cheers

  • Can any one tell me how to make a join in between RESB & VBAP Table

    Hi.
    can any one tell me how to make a join in between RESB & VBAP Table. Please do the needful.

    u have Sales order number and sales order item number in RESB table..
    KDAUF   Sales Order Number
    KDPOS   Item Number in Sales Order

  • How to make default account assignment category in planned order?

    Scneario Description:
    1. Sales order for a configurable parent item is created in ERP & order BOM is changed & transferred to APO. In APO MRP run takes place for that parent item, which creates a planned order with account assignment category "M" (M:Individual Customer w/o KD-CO.
    2. Now based on the dependant requirement generated for parent item, MRP takes place for one of the child item in ERP & purchase requisition gets created for child item.
    Question:
    1. Can anybody help me how i can make default account assignment as "F" (F:Order) in the planned order of parent item?
    2. PR created for child item also has default account assignment category as "M". we wish to change that to "F".
    Thanks & best regards
    Hemchandra & Sandeep Mandhana

    Hi V. Suresh,
    The account assignment category maintained in the requirement class for parent item is 'M'.
    No account assignment category maintained has been maintained in the requirement class Semi-finished component (this component is sent for subcontracting).
    The business process is as follows:
    1. Create Sales Order for Parent say ME_PARENT.
    2. Order BOM for ME_PARENT is created and subsequently cifed to APO.
    3. PP/DS heuristic is run for ME_PARENT.
    4. MRP for component ME_COMP is run in ERP.
    It can be seen that purchase requistion for ME_COMP has a/c assgn category as 'M'. It seems that the ME_COMP has inherited 'M' from ME_PARENT.
    We would like to have no a/c assgn category for ME_COMP.
    Any pointers?
    Regards,
    Sandeep

  • How to make default value for region based on city?

    Dear Experts,
    When city is selected in TRIP or PR05, how to make the default value of city based on region?
    The standard search help givenfot citydoesnt contain any enhancement point?
    Pls suggest how to resolve this!!!
    Thanks In Advance
    Rgrds,
    Sravan

    Hello Sahil
    Account and CC/PC are 2 different entity types. For PC and CC there is dependency. First you have to load Cost centers and then load PC.
    For CC - load CC master data first. Then load hierarchy file then group file and finally assignment file.
    Follow same process for PC.
    GL you can load independently but you have first load group GL then operational GL and then GL at company code level,
    Kiran

  • How to make default tab selection

    Hi,
    We are using EP 6.0 with sp2 and patch level 39, out EP has data distrubuted over many tabs however, depending upon the portal logged in user, one particular tab has to be selected by default, please let me know how can I achieve this.
    Thanks

    Hi Swetha,
    Below link tells you the whole story and how to achieve navigation as per requirements.
    http://help.sap.com/saphelp_nw04s/helpdata/en/92/3e703e632c7937e10000000a114084/frameset.htm
    This thread can also do teh value addition
    Tab Order
    Regards,
    Vishal
    PS: Reward points for helpful answer.

  • How to change default currency in BI Apps

    We need to run siebel sales & marketing analytics . Now we have two questions.
    1. I can't find default currency parameter in DAC's Source System Parameters. How could we change the default currency from USD to CNY.
    2. We can run all jobs successfully, but most of area in BI Dashboard id displaied 'No resault' ... even if we use the copy of product data.

    Hi,
    In DAC>Source System Parameters > $$GLOBAL1_CURR_CODE parameter, here you need to change from USD to CNY. Refer OBIA document for these currency codes. Genereally $$GLOBAL1_CURR_CODE refers to Document currency, $$GLOBAL2_CURR_CODE refers to Local currency and $$GLOBAL3_CURR_CODE refers to Global currency.
    You need to change this code based on your requirement.
    Anyone correct me if am wrong....Hope this helps you.........
    Thanks,
    Navin Kumar Bolla
    Edited by: Navin Kumar Bolla on May 26, 2011 1:09 AM

  • How to make default personalization options for users

    Hi all,
    How can I make default personalization options for users, so that those will the default options when the user opens the portal BSP applications. Those will be the standard, at later point of time if they want they can personlalize some other fields, but earlier fields will be the default fields and user cant be able to change them.
    Thanks
    Murthy

    Hi Murthy,
    If you use IMG (crmc_blueprint_c) to customize PCUI appl than you can use the personalization feature. If you select 'Not in List' in the IMG for the field in the fieldgroup structure, than this field by default will not be viewable in the List View and will not be checked as 'Visible' in the Personilzation link. So by not selecting 'Not in List' you are giving that field to be viewable and all other fields are available for users to personalize by default.
    If you have maintained the 'List View' using the CRM Designer, than most likely you would lose the above feature, as SAP Standard code considers the CRM Designer as high level of customization.
    Thanks
    Harsh

  • How to make default value for controlling area for MDG-F 7.0

    how do we default certain pre-defined values for few fields? e.g. controlling area or company code for MDG finance?
    Thank you in advance.
    SP

    Hello Sahil
    Account and CC/PC are 2 different entity types. For PC and CC there is dependency. First you have to load Cost centers and then load PC.
    For CC - load CC master data first. Then load hierarchy file then group file and finally assignment file.
    Follow same process for PC.
    GL you can load independently but you have first load group GL then operational GL and then GL at company code level,
    Kiran

Maybe you are looking for

  • Voice navigation not working on iOS 6 maps 4S

    Voice navigation is not working, no voice Coming out of maps  on iPhone 4S maps on iOS 6/6.0.1 I have tried everything . Help needed!

  • Issue with Acrobat 7.0 and Windows 7

    Trying to install and use Acrobat 7.0 Pro with Windows 7. It's not working properly when trying to open a file in the Acrobat. Any suggestions or what upgrade to Acrobat do I need?

  • Child TOC pane blank in merged CHM set-up

    We are experiencing an issue with our TOC pane when viewing a child CHM in a merged set-up. The TOC appears completely blank although the index and search work successfully. If the parent help file is launched all works as expected with the TOC displ

  • Deploying a soa composite using ant

    hi can any one explain me how to deploy a soa application using ant? i had generated build.xml using jdev.but when deploying using ant am getting java.awt.HeadlessException.do i need to modify anything in the build.xml or build.properties ?please hel

  • Java mail With Attachment

    can any one please give me some links or code sniplet for mailing with attachment ........