How can I change the values of Withholding tax grid in MIRO trx

Hi everyone,
I am trying to change WT_WITHCD field in MIRO's Withholding tax grid by using  MRM_HEADER_CHECK. I developed the following code but the changes didn't appear in the screen:
        LOOP AT i_rbkpv-h_rbws
        INTO    r_h_rbws.
          d_index = sy-tabix.
          READ TABLE i_zrmm_tnd_wht
          INTO r_zrmm_tnd_wht
          WITH KEY   invoice_type = r_h_rbws-witht
                     invoice_ret  = r_h_rbws-wt_withcd
          BINARY SEARCH.
          IF sy-subrc EQ 0.
<b>            r_h_rbws-wt_withcd = r_zrmm_tnd_wht-debit_ret.</b>
<b>            MODIFY i_rbkpv-h_rbws FROM r_h_rbws INDEX d_index.</b>
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDIF.
<b>    ASSIGN ('(SAPLMR1M)RBKPV') TO <fs_rbkpv>.</b>
    IF sy-subrc EQ 0.
<b>      <fs_rbkpv> = i_rbkpv.</b>
    ENDIF.
Do you have any idea?
Thanks in advance!
Regards.
Leo.

Hi Naimesh,
I tried to assign only the withholding tax but it didnt work...
It modified the value but then it doesn't appear in the screen...
Thanks in advance for your help.
Leo.

Similar Messages

  • How can I get and change the values of Withholding tax grid in MIRO trx

    Hi everyone,
    I have a requirement where I need to get and change WT_WITHCD field in MIRO's Withholding tax grid. Is there a function module / Badi to do this? I used MRM_HEADER_CHECK, but the parameters related with this badi doesn't have this value.
    Do you have any idea?
    Thanks in advance!
    Regards.
    Leo.

    Hello Leonardo,
    You can change that table with help of the filed-symbol in the BADI MRM_HEADER_CHECK.
    LOOP AT ti_drseg INTO ls_drseg. 
      lv_index = sy-tabix.
      LS_DRSEG-MWSKZ = 'I0' . " < For example
      MODIFY ti_drseg FROM ls_drseg INDEX lv_index.
    ENDLOOP.
    FIELD-SYMBOLS: <drseg> TYPE mmcr_tdrseg.
    ASSIGN ('(SAPLMR1M)ydrseg[]') TO <drseg>.
    <drseg> = ti_drseg[].  " this will modify the data in MIRO with your modified data
    Regards,
    Naimesh Patel

  • How can I change the value used in a Criteria Rule in a Subscription agent

    Dear mobile heroes.... How can I change the value used in a Criteria Rule in a Subscription agent in a quality environment? (CRM 70 SP04).
    I have built a subscription agent in dev, which uses a static where clause to filter activity_object on VKORG. I need to filter on a different VKORG value in the quality environment, but when I change the value of the sales org, the change is not saved. I have tried this even non 'activated'  subscription agents, but it still does not appear possible to change and save the changes.
    This poses a big problem because the VKORG value I want to use does not even exist in the dev environment, so I could not even rebuild in dev and transport the new agent to quality. Can anyone help me?

    Too old to care now.

  • How can I change the value of "colorscheme" parameter at runtime?

    Hello all
    Can I change the value of colorscheme at runtime ?
    This parameter can be config in formsweb.cfg file.
    I want to put this colorscheme as "User Preferences" in my application.
    Please help me if some one knows how to achieve this.
    From
    Chirag Patel (Nairobi)

    Hi,
    Try the following. This might help you.
    Edit you Formsweb.cfg file with following code (add the code to your file):
    [look1]
    separateFrame=True
    lookandfeel=Generic
    [look2]
    separateFrame=True
    lookandfeel=Teal
    [look3]
    separateFrame=True
    lookandfeel=Khaki
    and save your file.
    Now, when you call your form in the address bar look for " ? ". After " ? " add config=look1 now your form will take Genric look & feel.
    or
    config=Teal now your form will take Teal look & feel.
    That's how you can change the look & feel at run time.
    Hope that you understand what i want to say......

  • How can I change the value in a textfield

    I have some problems with the component textfield.
    For example, if I want to change the value when ocurr event, how can i do that?
    I need that in a several textfields appear the values of a select sql consult, plz help me its more important

    Hi,
    I have tried it works for me, Here is what I did
    1. Drop a textfiled on to the page
    2. Drop a button
    3. In Button action handler put the code as
    textField1.setValue("Creator");
    4.deploy and run the application
    Even I tried with more than one textfield and it works fine.
    ie , textField2.setValue("Sun Java Studio Creator"); in the same button action.
    MJ

  • How can I change the value in a stepper cell

    In Numbers 2.3 I was able to change the value in a stepper cell by highlighting the value and using the arrow keys to increase or decrease the value. This was a very easy way to input data. Numbers 3.0 when I do this is moves to another cell
    Is there a way to get the use of the arrow keys to change the values in 3.0?
    Thanks

    I use number to keep a running daily tally of the productivity of the members of my group. As each member performs certain tasks, all I had to do was click the up arrow and add to it. IE Jim made 4 widgets yesterday and then made 4 today, I would just hit the up 4 times total 8.
    I guess the good news is when I upgraded to Numbers 3.0, It did not delete Numbers 2.3
    I will continue to use 2.3 until it no longer works, I guess
    Thanks for the replies

  • How Can i change the value from A to B!!!

    Hi,
    In table VBAP for VBELN 4 the entry for VSTEL we see the value as SHIP I want it to be changed to FEXP?
    please respond at the earliest

    Hi,
    tHANKS FOR THE INFORMATION. What is the transaction code for this?
    Can you give me an idea in clear way. Thanks in advance.

  • I can't change the field status of Tax section in MIRO transaction

    Hello, I need to change to visible the field status of RTAX1U12-FWBAS, RTAX1U12-HWSTE and RTAX1U12-HWBAS of Tax section in MIRO transaction. In table settings, administrator option of that section I can change them, but when I save the variant the system do not save the settings. There is another transaction where these field status are maintained? I think that in another part these fields have the status "Invisible".
    Best regards,
    Alfredo Del Portillo

    Hola Alfredo,
    The table control for taxes in MIRO cannot be changed by the  administrator function like other table controls.                          
    Which columns are displayed or not is decided by the program dependend on several parameters.                                                                            
    The tax base amount is changeable or not is controlled by a setting in FI customizing:         
    IMG -> Financial Accounting -> F.A. Global Settings -> Tax on Sales/Pur    
      -> Basic Settings -> Change field control for Tax base amount                                                                               
    I hope the above information answers your inquiry.                         
    Xalu2
    Mauro

  • How can i change the value automaticaly

    I have a text (Go For )at FP , and i want that text to be blinking in black color, and than when i connect to the (Passage44)i want Value Change to be change automaticaly to excute it, and than when it finish it, come back to the (GO For )
    someone can help me withe a sample
    thank you
    Attachments:
    To.llb ‏80 KB

    Try the attached modification. (I don't use VISA, so I just added a button instead.)
    Is this what you want?
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    To.vi ‏36 KB

  • How can I change the values for print parameters

    Hi all,
    There is a program which prints the documents every time the t.code is executed. I want the output to be stored in spool and NEVER wants it to be printed.
    A spreadsheet which has the details of articles is uploaded and a background job is created through ABAP SUBMIT statement to upload the article numbers to the table.
    GET_PRINT_PARAMETERS function module is used. Is there any way to pass the print parameters so that output will not be printed and only stored in the spool?
    Help me out and points will be rewarded.

    Hi Rathi,
    I am more or less giving as you mentioned. Here is the piece of code. 
    Y_XXXX is my report.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          MODE                   = 'BATCH'
          NO_DIALOG              = 'X'
          REPORT                 = 'Y_XXXX'
        IMPORTING
          OUT_ARCHIVE_PARAMETERS = ls_ArchivePrintParms
          OUT_PARAMETERS         = ls_PrintParms.
      SUBMIT Y_XXXX
       AND RETURN
        USER                sy-Uname
        VIA JOB             lw_JobName
            NUMBER          lw_JobNumber
        TO SAP-SPOOL
        WITHOUT SPOOL DYNPRO
        SPOOL PARAMETERS    ls_PrintParms
        ARCHIVE PARAMETERS  ls_ArchivePrintParms   
        WITH p_Matnr     =  ps_CreateArticleDatum-Article
        WITH p_MrchCt    =  ps_CreateArticleDatum-MerchCat
        WITH p_ArtTyp    =  ps_CreateArticleDatum-ArticleType
        WITH p_ArtCat    =  ps_CreateArticleDatum-ArticleCat
        WITH p_UOM       =  ps_CreateArticleDatum-UOM
        WITH p_ArtDsc    =  ps_CreateArticleDatum-ArticleDesc
        WITH p_ValCls    =  ps_CreateArticleDatum-ValueClass
        WITH p_PurGrp    =  ps_CreateArticleDatum-PurchGrp
        WITH p_StLsPr    =  ps_CreateArticleDatum-StoreListProc
        WITH p_DCLsPr    =  ps_CreateArticleDatum-DCListProc
        WITH s_RefStr    IN lr_RefStoresRange
        WITH p_BackGd    =  yartc_BooleanFalse
        WITH p_Test      =  yartc_BooleanFalse.
    But the o/p gets printed everytime I run the t.code.

  • How can i  change the column label text in a alv table display

    how can i change the column label text in a alv table display??
    A similar kinda of question was posted previuosly where the requirement was the label text was needed and following below code was given as solution :
    <i>*  declare column, settings, header object
    DATA: lr_column TYPE REF TO cl_salv_wd_column.
    DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    DATA: lr_column_header type ref to CL_SALV_WD_COLUMN_HEADER.
    get column by specifying column name.
    lr_column = lr_column_settings->get_column( 'COLUMN_NAME1' ).
    set Header Text as null
    lr_column_header = lr_column->get_header( ).
    lr_column_header->set_text( ' ' ).</i>
    My specific requirement is i have an input field on the screen and i want reflect that value as the column label for one of the column in the alv table. I have used he above code with slight modification in the MODIFYVIEW method of the view since it is a process after input. The component gets activated without any errors but while run time i get an error stating
    <i>"The following error text was processed in the system CDV : Access via 'NULL' object reference not possible."</i>
    i have checked in debugging and the error occured at the statement :
    <i>lr_column = lr_column_settings->get_column( 'CURRENT_YEAR' ).</i>Please can you provide me an alternative for my requirement or correct me if i have done it wrong.
    Thanks,
    Suri

    I found it myself how to do it. The error says that it is not able to find the reference object i.e  it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
      DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
             lr_if_controller  TYPE REF TO iwci_salv_wd_table,
             lr_cmdl   TYPE REF TO cl_salv_wd_config_table,
             lr_col    TYPE REF TO cl_salv_wd_column.
      DATA : node_year  TYPE REF TO if_wd_context_node,
             elem_year  TYPE REF TO if_wd_context_element,
             stru_year  TYPE if_alv_layout=>element_importing,
             item_year  LIKE stru_year-i_current_year,
             lf_string    TYPE char(x),
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    Get the entered value from the input field of the screen
    node_year  = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
    elem_year  = node_year->get_element( ).
      elem_year->get_attribute(
       EXPORTING
        name = 'IMPORT_NODE-PARAMETER'
       IMPORTING
        value = L_IMPORT_PARAM ).
      WRITE L_IMPORT_PARAM TO lf_string.
    Get the reference of the table
      lr_cmp_usage  =  wd_this->wd_cpuse_alv( ).
      IF lr_cmp_usage->has_active_component( ) IS INITIAL.
        lr_cmp_usage->create_component( ).
      ENDIF.
      lr_if_controller  = wd_this->wd_cpifc_alv( ).
      lr_column_settings = lr_if_controller->get_model( ).
    get column by specifying column name.
      IF lr_column_settings IS BOUND.
        lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
    set Header Text as null
        lr_column_header = lr_column->get_header( ).
        lr_column_header->set_text( lf_string ).
    endif.

  • How can I change the default web form names?

    I'm using the web forms in Business Catalyst, but our web site is in Norwegian, so I want the default FirstName and LastName values to be displayed in Norwegian in the error message when the field is not filled out.
    At the moment the user will get an error saying "Skriv inn First Name". "Skriv inn" is correctly translated from English to Norwegian, but the value "First Name" has to be changed. The same applies for "Cell Phone Number".
    Also, I don't really want two fields for the name, I want the form to have just one field that is called "Name" or "Navn" in Norwegian.
    I have tried deleting the name fields and replacing them by custom fields, but then I get an error message when the form is sent saying "ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page."
    Also, why does some of the "-" before the error have a space, and some not? I want all the errors to be displayed with a space between the dash and the error.
    The e-mail error is automatically translated into Norwegian for some reason, but it should be a dash in there, so it says "e-postadresse" and not "epostadresse".
    Is there anywhere I can customize these error messages? Or at least change the values of the English fields to Norwegian so the error messages display the Norwegian field names, and not the English?

    That is very helpful! Thank you!
    But how can I change the dashes that are shown before the error? It really annoys me that they are shown inconsistently with different spaces like this:
    - Error 1
    -Error 2
    - Error 3
    -Error 4
    And is there any way to change the automatic translation from English to Norwegian?

  • How can we change the purchasing group which it is maintained in R/3?

    Hello All.
    In case of MM, purchasing group is assigned to material master.
    It means purchasing group is maintained based on material code.
    But SRM has different maintenance level.
    As you know that purchasing group has the responsibility based on material group (Product category).
    So we should change the purchasing group from R/3, when end user create shopping cart.
    How can we change the purchasing group which it is maintained in material master?
    Thank you,
    Best regards,
    SH.

    Hello So Hee,
    I am not a technical guy.
    But for your requirement i am building a logic.
    I am not sure whether it will work.
    You need to check with your ABAPER.
    It is as below:
    When the SC is approved and the other configuration is correct ,
    PR is created in ECC by the virtue of BAPI.
    You want that the pur grp should be populated on the base of matl code and not on matl grp.
    Hence in SC you will not fill up pur grp.
    In the programme for BBPSC01 i.e. SC creation you will add modification that it will call a custom FM.
    This custom FM will get the matl code from SC and will find the value of pur grp from R/3 MM01i.e. matl master(you may get in MARA).
    Now in the BAPI you need to incorporate this additional value of yr pur grp field.
    So the desired pur grp as per yr R/3 matl master will be populated in yr R/3 PR.
    Again: this is all hypothesis.
    That's all I can help you.
    BR
    Dinesh
    <b>Reward if helps</b>

  • HOw can i change the color of a cell

    How can I change the color of a cell when it is selected. I select the cell by pressing enter, then I want the text in the cell to change color to red, but all the cells in the table change color. Please I would be grateful for some help

    Subclass DefaultTableCellRenderer.
    public class MyCellRenderer extends DefaultTableCellRenderer
    Override
    public Componet getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
    JLabel lab = new JLabel(String)value);
    lab.setOpaque(true);
    return lab;
    if(isSelected)
    lab.setBackground(Color.red);
    else
    lab.setBackground(Color.white);
    Set the columns in your table:
    table.getCoulumModel.getColumn(0).setCellRenderer(new myCellRenderer());
    table.getCoulumModel.getColumn(1).setCellRenderer(new myCellRenderer());
    etc. for each column in your table.

  • How can we get the value of the key field in a custom data model using governance API?

    Dear Team,
    How can we get the value of the key field in a custom data model, to be used for manipulation of the change request fields using governance API?
    Any kind of help would be sincerely appreciated.
    Thanks & Regards,
    Tushar.

    Hi Michael,
    Thanks for direction. Let me give more context on this as I'm interested to get more details..One of the issue was to read cross entity field values on UI based on user action and set other entity field behaviour...It is similar to what is being posted here.
    For ex: Reading MTART from Basic Data UIBB in MM MDG UI and set the field properties in some other custom entities say ZZETEST. This cannot be done using UI BADI as it only supports single entity at a time and not cross entity. So alternatively we found a solution where we can enhance existing PLMB feederclass cl_mdg_bs_mat_feeder_form by reading the model and the entity as needed as it it proved that it supports cross entity UI field behaviours and so business requirements.
    This is a workaround for now.
    So the question is How do we achive it using governance API for cross entity field behiaviours.?or what is the right way doing this.
    Can we do that using governance API and its' methods?
    In the Governance API doc you provided below has referring to below external model as part of gevernance API.
    The active or inactive data (before or during the derivation or the check) can be read
    with the external data model interface IF_USMD_MODEL_EXT with the method READ_CHAR_VALUE and
    the corresponding READ_MODE parameter. To avoid unnecessary flushes (derivations), the NO_FLUSH
    parameter should b
    e set to ‘X’.
    Thanks
    Praveen

Maybe you are looking for

  • APP-MRP-22075: An internal error has occurred (mrnspia, 2, 8170, )

    EBS 12.1.3 Database Version 11.2.0.2 APP-MRP-22075: An internal error has occurred (mrnspia, 2, 8170, ) @ERRORTEXT            Cause:        The current routine encountered the specified@ERRORTEXT  x        Action:        Contact your customer support

  • Mismatching the sequence /order  dates.

    Pl. help me selecting / finding the records which r not in Order. here i am putting sample data. ID     SEQ_NO     START_DATE     END_DATE 10     2     1/1/1994     1/1/1995 10     4     2/1/1995     1/1/1996 10     6     2/1/1996     1/1/1997 20    

  • Aperture syncs photos taken with iPT4 with smaller resolution

    Hello, I've got a problem. Currently, I'm using the newest version of Aperture to organize my photos. If I import my photos taken with my iPod touch 4th generation, I'll find them in my library with a resolution of 960x720 - exactly how it's supposed

  • Nokia 5530 wlan problem

    when I want to connect to a wlan it says that a connection is allready active and i need to close it to connect but no connection is active.I hard reseted it and puted the new softwere on but still the same problem,can you put a smile on my face?

  • Currency and quantity field allignment in smartforms

    hi experts    i am facing problem in smartforms allignment for currency and quantity fields. these fields are not coming exactly on the same line of the other fields with char types. please help me resolving it. Moved to Crrect Forum Edited by: Vijay