Re:How to change the RBKP-BKTXT field after MIRO invoice is saved

Hi ALL
i forgot to fill doc header text for several invoices. Is there any way to edit RBKP-BKTXT field.
Thanks
Steve

Daer Anup,
Check the below link where you can capture the current transaction in MIRO.
http://forums.sdn.sap.com/thread.jspa?threadID=1416227&tstart=0
CONSTANTS: c_vorgang(23) TYPE c VALUE '(SAPLMR1M)RM08M-VORGANG'.
  FIELD-SYMBOLS: <fs_vorgang> TYPE ANY.
  ASSIGN (c_vorgang) TO <fs_vorgang>.
CASE <fs_vorgang>.
  WHEN '1'.
  WHEN '3'.
  WHEN OTHERS.
ENDCASE.
Based on the value of field symbol you can differentiate.
Thanks to Pablo who has given this solution in the above mentioned thread.
The BADI you can use is INVOICE_UPDATE and method AT SAVE .
Regards,
Deepak.

Similar Messages

  • Outbound Plain HTML Adapter how to change the html-header field "host"?

    Hello,
    I'm using XI 3.0 SP11 and want to transmit a message to a business partner using the Plain HTML Adapter.
    My problem is now that I need to change the default Html-Header field "host" because it seems that the adapter engine is converting it to lower case and is attaching the port-number which is causing trouble with the loadbalancer/applicationserver of our business partner.
    I tried to set the appropriate http-header value in the communication channel configuration, but the adapter engine is ignoring this value.
    Thanks in advance for any ideas.
    Sascha Fuchs
    Message was edited by: Sascha Fuchs

    Hi Sascha,
    unfortunately the Plain HTTP adapter is not running in the J2EE, therefore you cannot extend the functionality with an adapter module.
    I am not sure to understand the problem right. Why do you need to change the HTTP header? What is in it in your case and what should be?
    Regards
    Stefan

  • How to disable the tax calculation field in MIRO screen only for CreditMemo

    Dear Expert
    user want to create credit memo by MIRO transaction .But in table RBKP there no field to trace document ,that is invoice or credit memo document .i want to validate during credit memo, tax & with holding tax cannot calculate .I tried a lot badi but no badi or user exit is controlling at the time selection transaction & validating before save MIRO .
    please help me.
    Regards
    Girish.

    Daer Anup,
    Check the below link where you can capture the current transaction in MIRO.
    http://forums.sdn.sap.com/thread.jspa?threadID=1416227&tstart=0
    CONSTANTS: c_vorgang(23) TYPE c VALUE '(SAPLMR1M)RM08M-VORGANG'.
      FIELD-SYMBOLS: <fs_vorgang> TYPE ANY.
      ASSIGN (c_vorgang) TO <fs_vorgang>.
    CASE <fs_vorgang>.
      WHEN '1'.
      WHEN '3'.
      WHEN OTHERS.
    ENDCASE.
    Based on the value of field symbol you can differentiate.
    Thanks to Pablo who has given this solution in the above mentioned thread.
    The BADI you can use is INVOICE_UPDATE and method AT SAVE .
    Regards,
    Deepak.

  • How to change the select-options fields length to long

    Dear friends:
       I had develop a program for sent email,and it have a field for fill mail address as below:
       data: lmail like adr6-smtp_addr.
       select-options: mailadd for lmail no intervals.
       my customer complain that the field is too short,but I can not change it to longer,the select-options component limit the visible length , how can i do for this problem!

    Dear All:
      I had realized this function.
      I defined a parameter and a pushbutton to replace the select-option componet,
    the code share as below.
    data: lmail like adr6-smtp_addr.
    SELECTION-SCREEN BEGIN OF LINE.
    parameters: mailCopy like lmail.
    selection-screen:pushbutton 64(5) pubu user-command mailButt.
    SELECTION-SCREEN END OF LINE.
    select-options: mailadd for lmail NO INTERVALS no-display.
    at selection-screen output.
      CLEAR l_count.
      DESCRIBE TABLE mailadd LINES l_count.
      IF l_count > 1.
        write ICON_DISPLAY_MORE as icon to pubu.
      ELSE.
        write ICON_ENTER_MORE  as icon to pubu.
      ENDIF.
    at selection-screen.
      CLEAR l_count.
      DESCRIBE TABLE mailadd LINES l_count.
      IF NOT mailCopy IS INITIAL AND mailadd[] IS INITIAL.
        MailAdd-low = mailCopy.
        Append mailadd.
      ENDIF.
      IF l_count = 1 and mailCopy IS INITIAL.
        refresh mailadd.
        clear mailadd.
      endif.
      if sy-ucomm = 'MAILBUTT'.
        perform show_box.
      endif.
    *       FORM show_box                                                 *
    FORM show_box.
      TYPE-POOLS aqadh .
      DATA: tab_and_field TYPE  rstabfield.
      tab_and_field-tablename = 'ADR6'.
      tab_and_field-fieldname = 'SMTP_ADDR'.
      CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
           EXPORTING
                TEXT           = 'SET E-Mail To '
                tab_and_field  = tab_and_field
           TABLES
                range          = MAILADD
           EXCEPTIONS
                no_range_tab   = 1
                cancelled      = 2
                internal_error = 3
                OTHERS         = 4.
      IF NOT MAILADD[] IS INITIAL.
        READ TABLE MAILADD INDEX 1.
        MAILCopy = MAILADD-LOW.
      ELSE.
        CLEAR MAILCopy.
      ENDIF.
    ENDFORM.

  • How to change the order of fields when exported to csv

    I am using LiveCycle Designer 8 and have created a great form with the correct tab order.
    However, when the form is filled in and returned to me, the fields in the CSV file are all over the place. How can I make sure the fields in the CSV file are displayed in the same order as the tab order?

    The actual requirment is to re-arrange the elements of the queryoutput node, to look more organised
    say for ex.
    Seq 1:
    c code                            company name                          g/l ac                g/l ac description  
    Seq2 :
    g/l ac description             c code                                       g/l ac                company name  
    Seq 1 way of representation is more organised that Seq2. How can we achieve this re-arranging of ordering in the queryoutputnode.

  • Report Painter-How to change the order of fields on selectn screen.

    I have a custom Report Painter report that has 2 fiscal years 1 current FY and 1 Comparison FY.  This also includes 2 sets of periods.  I want the period fields to group together by Fiscal Year and Comparison Year. As shown below.
    Fiscal Year From Period___
    Fiscal Year To Period____
    Comparison Year From Period____
    Comparison Year To Period____
    Instead it  displays as follows:
    Fiscal Year From Period___
    Comparison Year From Period____
    Fiscal Year To Period____
    Comparison Year To Period____
    Any assistance would be greatly appreciated.

    I have a custom Report Painter report that has 2 fiscal years 1 current FY and 1 Comparison FY.  This also includes 2 sets of periods.  I want the period fields to group together by Fiscal Year and Comparison Year. As shown below.
    Fiscal Year From Period___
    Fiscal Year To Period____
    Comparison Year From Period____
    Comparison Year To Period____
    Instead it  displays as follows:
    Fiscal Year From Period___
    Comparison Year From Period____
    Fiscal Year To Period____
    Comparison Year To Period____
    Any assistance would be greatly appreciated.

  • How to change the replication group information after db files are created

    Since group information is persisted in the database, I am wondering if there is a way to update the information.
    We want to implement some kind of Berkeley DB master relay mechanism for our two data centers, which has slow link in between. Basically have one master populating a database file and launch another two node as master to replay that to other nodes of its own group. It will be much efficient this way so we don't have to copy the data multiple times over the slow link.
    We periodically (once a day) update the Berkeley DB content from customer's feed on a backend node and upload (rsync) the Berkeley DB File to two the data centers. We would like to have a master node in each data center to read the pre-populated data file, replicate the changes to the web node (read only) while they are still running. I simulated local and if I trick the nodeName and nodeHostPort setting, it should work (basically, fake the replication node on the backend node using tampered hostfile so they get registerred). However, it is not very convenient and definitely a dangerous hack on the production servers.
    If there is a way, after the creation, to update the group information (for example, change all the nodes information) without corrupt the log file/replication stream, it will be much easier for us. Basically, we would like to have the node/group information and data file de-coupled?
    Any ideas how to do that, or is there a better way to design such a replay of data using Berkeley DB?
    Thanks in advance!

    2. You mentioned to not clean up the log file. Is there a point where I can safely call clean up on the environment when BDB is still online as I can imagine we will run out of space very soon if we don't clean up.The approach outlined above (steps 1 to 5) will ensure that no log files are deleted on A while you are updating B and C. The use of DbBackup ensures this. For more information on how this works, see the DbBackup javadoc.
    Whether this causes you to run out of disk space on A is something you'll have to evaluate for yourself. It depends on the write rate on A and how long it takes to do the copy to B and C. If this is a problem, you could make a quick local copy of the environment on A, and then transfer that copy to B/C. But you must prohibit log file deletion during the copy, using DbBackup, or the copy will be invalid.
    You should perform explicit JE log cleaning (including a checkpoint) before doing the copy to B/C. This will reduce the number of files that are copied to B/C, and will reduce the likelihood that you'll fill the disk on A. See the javadoc for Environment.cleanLog for details on how to do an explicit log cleaning.
    In your earlier post, it sounded like the updates to A were in batch mode -- done all at once at a specific time of day. If so, you can do the copy to B/C after the update to A. In that case, I don't understand why you are afraid of filling the disk on A, since updates would not be occurring during the copy to B/C.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • HT4889 How do change the ownership of files after using the migration assistant?

    After I copied all of my files across using the migration assistant, the tool is nice enough to assume that I want to use the same ID that I had on my PC.  This is not my case as I am using a different name on the mac.  How do I get the files from the other user name?  I have already set the sharing permissions so that I can see them on both user ids, however the only way I can see to update is to copy them all.  As I have about 1TB of files, this is a little inconvenient.  Any thoughts?

    Thanks.  It got me on the right track.  At the end, I copied the 1TB over and just deleted the other profile.  I tried to set the ownership to my regular ID by removing the lock from "Get Info" but I still had to move them out of the other "user" folder.

  • How to change the result status "Failed" after the test to "Passed"

    We make a picture of a LCD screen and look if its all working. Sometimes the LCD screen is working propper but the Step Failed. In case automatic LCD test fails we show the picture from the camera to the user and he can decide if the LCD screen passed or failed. So when the user decide that the screen is working propper we should overwrite the status of the automatic test that in the report and database shows lcd screen test passed. I tried with 
    RunState.SequenceFile.Data.Seq["Check_LCD_V3-0"].M​ain["154 Execute - All Horizontal Segments On"].Result.Status="Passed",
    RunState.SequenceFile.Data.Seq["Check_LCD_V3-0"].M​ain["154 Execute - All Horizontal Segments On"].Result.PassFail="True",
    But in the database the Status of this step is still "Failed"
    What i do wrong?
    Thanks
    Solved!
    Go to Solution.

    Alteschwed wrote:
    We make a picture of a LCD screen and look if its all working. Sometimes the LCD screen is working propper but the Step Failed. In case automatic LCD test fails we show the picture from the camera to the user and he can decide if the LCD screen passed or failed. So when the user decide that the screen is working propper we should overwrite the status of the automatic test that in the report and database shows lcd screen test passed. I tried with 
    RunState.SequenceFile.Data.Seq["Check_LCD_V3-0"].M​ain["154 Execute - All Horizontal Segments On"].Result.Status="Passed",
    RunState.SequenceFile.Data.Seq["Check_LCD_V3-0"].M​ain["154 Execute - All Horizontal Segments On"].Result.PassFail="True",
    But in the database the Status of this step is still "Failed"
    What i do wrong?
    Thanks
    I recommend the following:
    1) Make the automated LCD test an Action step rather than a Pass/Fail step and instead set a local variable to whether the automatic LCD test failed (e.g. Locals.AutomatedLCDFailed).
    2) Create a new Pass/Fail test (using the none adapter) that takes both the local variable and the user's input into account to determine it's pass/fail status (e.g. Set the step's data source to an expression like: !(Locals.AutomatedLCDTestFailed && Locals.UserLCDTestFailed)
    As an alternative to making 1) an Action step you could leave it a pass/fail step and uncheck the step setting on it for "Step failure causes sequence failure". Then you could use the status of that step instead of Locals.AutomatedLCDTestFailed. The one difference is that the automated test will still show up as failed in your report even though the sequence can still be passed. It's somewhat a matter of preference.
    Hope this helps,
    -Doug

  • How to change the text of a field in organisational assignment.

    hi gurus,
    how to change the text of field MSTBR (super visor) to a differnt name in info type pa0001.
    i have changed the field name in cmod , changed name appears in table.but it is not appearing in the info type screen 0001.
    how to resolve this pls help me..

    hi,
    The Field showing in the infotype 1 is FORPR.
    Change the text of this Field in CMOD.
    CMOD ->Go to ->tect Enhancements->keywords-> Change ->FORPR
    Change the text and check again.
    Regards,
    Manoj.

  • How to change the fields order by pushing the TAB button?

    Hello.
    I have 4 input fields on a screen that i have build.
    When i'm running the screen, I can move from one field to
    another by the TAB button.
    I need to set a different moving order that is performed by the TAB button.
    For example: the fields are 1,2,3,4. if I use the TAB button to move from one field to another- the order is 1->2->3->4.
    I want it to be 1->3->2->4.
    Is it possible??
    Thanks, Barak.

    Hi Barak Sahar,
    a) set the initial cursor at dynpro level
    b) set the cursor positions dynamically using codeSET CURSOR[/code]
    Here are the online help links I found:
    http://help.sap.com/saphelp_470/helpdata/EN/9f/dbac0b35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_470/helpdata/EN/9f/dba47e35c111d1829f0000e829fbfe/frameset.htm
    Go through below thread...
    How to change the sequence of fields accessed with the tab key on a dynpro;&#56907;
    Hope it will solve your problem
    <REMOVED BY MODERATOR>
    Thanks & Regards
    ilesh 24x7
    Edited by: Alvaro Tejada Galindo on Dec 25, 2007 9:13 AM

  • How to change of NAME and IP after RAC installation.

    Hi Friends,
    I have a challenge here...Would appreciate if anyone can help me..
    I have to install 10.2.0.3 Oracle RAC on windows 2003 server 64 bit.
    My issue is now the server names and ips are set and I am going to install the RAC.
    But the client need is that after one month, they need to change the names and ips of the servers (a one time change).
    Because according to their server naming standards, current production servers are having the acceptable names and ips.
    The installation was on a 32 bit OS, so they are facing out of process memory errors. Thats why they are going to 64 bit OS on new servers.
    After the new servers are ready, the data will be migrated to new server. After a month, they need to change the names of new servers to that of the old (current production) servers.
    Could anybody help me by giving me information about how to change the NAME and IP after a RAC installation ?
    Any metalink notes or commands as it is........
    Thank you,
    Mahesh.

    Hi,
    You can change the IP later but you can not change the hostname of the system.
    You have to install CRS freah if you want to change the hostname of the system.
    Please let us know which IP you want to change.
    You can see the metalink Note.276434.1 for VIP or VIP hostname change.
    Regards,
    KK

  • How to change the text of a user defined field in dynamic selections?

    Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
    Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
    Found an OSS note - 86980 - that tells that this is not possible.
    But when we read the documentation on the user field (CJI3 - dynamic selections  - double click on user field - F1), it shows the following text:
    User-defined field in which you can enter general information with a length of up to 20 characters.
    Dependencies
    The names (key words) for  user-defined fields depend on the field key.
    Now the question is where to change the field key..
    Thanks,
    Ven

    Madhu - you did not get the question I think.
    Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
    Thanks,

  • How to change the lenth of existing field in sap standard table

    Hi all,
    can anybody help,my requirement is, how to change the length of existing field in sap standard table....
    thanks in advance..

    Which field are you thinking of in particular?  Are you wanting to increase or decrease the length?
    Some fields are used so extensively that a change to their length will mean adjusting many tables, some of them potentially very large, and hence taking a long time to adjust.
    Some standard SAP programs expect certain fields to be of specific lengths and won't work if the length is changed.
    Some screens could cease to work.
    If you decrease length, then you could lose data.
    matt

  • How to change the Field Symbol, so Adobe Forms takes it as a Table?

    Hi guys,
    I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
    But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
    What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
    I looked at Adobe Form, and found this:
    The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
    Does someone have any idea?

    Hello Taly,
    To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
    You have done it correct partially. I have replicated your scenario and steps are below -
    1) Create a Z structure
    2) Create Z Table Type
    3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
    4) Design Form as -
    5) Code driver as -
    *& Report  ZR_AF_FS_1
    REPORT  zr_af_fs_1.
    DATA: fm_name           TYPE rs38l_fnam,
           fp_docparams      TYPE sfpdocparams,
           fp_outputparams   TYPE sfpoutputparams,
           it_kna1           TYPE ztt_fs_1.
    * Sets the output parameters and opens the spool job
    CALL FUNCTION 'FP_JOB_OPEN'                   "& Form Processing: Call Form
       CHANGING
         ie_outputparams = fp_outputparams
       EXCEPTIONS
         cancel          = 1
         usage_error     = 2
         system_error    = 3
         internal_error  = 4
         OTHERS          = 5.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    *&---- Get the name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'           "& Form Processing Generation
       EXPORTING
         i_name     = 'ZAF_FS_1'
       IMPORTING
         e_funcname = fm_name.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *-- Fetch the Data and store it in the Internal Table
    SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
    * Language and country setting (here US as an example)
    fp_docparams-langu   = 'E'.
    fp_docparams-country = 'US'.
    *&--- Call the generated function module
    CALL FUNCTION fm_name
       EXPORTING
         /1bcdwb/docparams        = fp_docparams
          it_data                   = it_kna1
    *    IMPORTING
    *     /1BCDWB/FORMOUTPUT       =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error           = 3.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *&---- Close the spool job
    CALL FUNCTION 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error        = 3
         OTHERS               = 4.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    6) Output -
    BR.

Maybe you are looking for

  • I am trying to figure out what the wifi password is for the printer

    When i open up my settings on my galaxy s5 and scan for the wifi connections the printer shows up but its asking for a password. How do i find out what the password is. Can you please help me out i  would appreciate it. Thanks also it's an android ph

  • Open dialog box prefs for geany and gnumeric

    I did a reinstall so that /usr/ would no longer have its own partition.   Rearranging the partitions was just going to take too long. I use geany and gnumeric.  File -> Open, in either program, brings up the open dialog box.  It is titled Select a fi

  • PDF is bad on web site

    I created several PDFs from InDesign CS5 and checked them in Acrobat 9 on my system; all fine.  I uploaded them to my publisher's FTP server and they put the PDFs on the web site that accompanies my book.  When I open the versions on the web, there a

  • Gmail started pushing mail on iPhone?

    Hi, I noticed a very strange thing yesterday. All of a sudden my Gmail account on my iPhone has started receiving push emails (this is a good thing). I found a bit strange that nowhere I read about it. I have push on (for Gmail calendars) and fetch '

  • Contact Sheet Printing

    Why are my contact sheet printing darker than my normal print files? I am in CS4 on am Mac OS X. Any and all Help appreciated.