Header text changing automatically in the BADI

Hi,
I am using a class in the BADI
IF lt_item[] IS NOT INITIAL AND lt_partner[] IS NOT INITIAL AND it_account[] IS NOT INITIAL.
   zcl_sc=>set_location_detail(
     CHANGING
       sc_items    = lt_item
       sc_partners = lt_partner
       sc_accounts = lt_account
    zcl_sc=>set_gl_acc(
      EXPORTING
        sc_items    = lt_item
        sc_partners = lt_partner
      CHANGING
        sc_accounts = lt_account
  ENDIF.
It is changing the value in the it_item.
Can anyone please help on this.

Hi,
In transaction VOTXN please ensure that the Reference/duplication     
indicator (V_TTXER_N-REDUP) is flagged for the text ID. This will mean
that this text ID will be copied instead of being referenced.                                                                               
Please flag this field and retest. Note 817101 should help to explain 
this functionality further.                                           
Balazs

Similar Messages

  • How to restrict header text changes in sales order level

    Dear Experts,
    how to restrict header text changes in sales order level change mode
    thanks

    Hello Chandu,
    how to restrict header text changes in sales order level change mode
    In order to restrict changes to Sales Order Header Text, the appropriate User Exit would be USEREXIT_MOVE_FIELD_TO_TVCOM_H. With the help of ABAPer, you can include the simple logic on the basis of Header Text type such that whenever any changes are incurred on the Sales Order header text, updates would be prevented.
    Please try out this approach and let us know your latest observation on this issue.
    Regards,
    Sarthak

  • Generate a new version for PO header text change

    Hi,
    Could you pls instruct me the configuration settings to generate a new version for PO header text change? I secceeded in other fields, e.g. Inco Term, Order Qty, Delivery date, but failed in header and Item  Text.
    I added STXH_TDNAME but it doesn't work. Thanks!
    Regards
    Jully

    Hi,
    Thank you very for the feedback.
    The 4th point of note 664928 says "This is not a change to print-relevant texts". I assume there is a way to configure the text as a "print-relevant text" and I confirmed my texted is configured for printing for operation 1 & 2 (create and change order) in:
    MM > Purchasing > Messages > Texts for Messages > Define Texts for Purchase Order.
    Still not working. Any idea? Do I miss anything? Thanks!
    QUOTE of note 664928 :
    Question:
    You change the texts in a purchase requisition or a purchasing document. Why does the system not generate a new version?
    Answer:
    This is not a change to print-relevant texts.
    Regards,
    Jully

  • Why the hyperlink's text change position when the website is online?

    Why the hyperlink's text change position when the website is online?

    Are these hyperlinks in the navigation menu or the text of the site?
    Are you using a web safe font?
    http://www.iwebformusicians.com/iWeb/Fonts-Colors.html
    Can you publish the URL to a page of the site?

  • ALV heading should change based on the input

    Hi Experts,
    how to change the column heading in my ALV report with respect to the input
    fields.....based on my inputs the column's heading should change....
    also , I need to display the values fetched from dbtab as
    heading in my ALV o/p. Please advice is it possible ( please don't advice in OOPS )
    and below this heading I need to display its corresponding values.
    My functional has asked me to refer t-code IE03.
    Thanks
    Karthik

    Hi there Karthik , Try something like  these .
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name       = 'ZSTPASSOS'
          i_client_never_display = 'X'
        CHANGING
          ct_fieldcat            = field_catalog.
      LOOP AT field_catalog INTO wa_catalog.
        CLEAR wa_cat_batch.
        CASE wa_catalog-fieldname.
          WHEN 'TIPOCONSTR'.
            wa_cat_batch-text_fieldname  = 'Tipo de constr. Red' .
            wa_catalog-outputlen = '20'.
            MOVE: text-005 TO wa_catalog-coltext,
                  text-005 TO wa_catalog-reptext.
            wa_cat_batch-reptext_ddic = text-005.
          WHEN 'LONGPREVRED '.
            wa_catalog-outputlen = '20'.
            MOVE: text-006 TO wa_catalog-coltext,
                  text-006  TO wa_catalog-reptext.
            wa_cat_batch-reptext_ddic =  text-006.
          WHEN 'NOACOMASOC'.
            wa_catalog-outputlen = '20'.
            MOVE: text-007 TO wa_catalog-coltext,
                  text-007 TO wa_catalog-scrtext_s.
            wa_cat_batch-reptext_ddic = text-007.
          WHEN 'TIPORAMAL'.
            wa_catalog-outputlen = '20'.
            MOVE: text-009  TO wa_catalog-coltext,
                  text-009  TO wa_catalog-reptext.
            wa_cat_batch-reptext_ddic = text-009.
          WHEN 'TIPOACOM'.
            wa_catalog-outputlen = '20'.
            MOVE:  text-008 TO wa_catalog-coltext,
                   text-008 TO wa_catalog-reptext.
            wa_cat_batch-reptext_ddic = text-008.
          WHEN 'LONGPREVACOM'.
            wa_catalog-outputlen = '20'.
            MOVE: text-010  TO wa_catalog-coltext,
                  text-010   TO wa_catalog-reptext.
            wa_cat_batch-reptext_ddic = text-010.
        ENDCASE.
        MODIFY field_catalog FROM wa_catalog
                             TRANSPORTING  outputlen  coltext reptext scrtext_l scrtext_m scrtext_s .

  • KE30 report header text change

    Hi All,
    Kindly note that we have requirement in KE30(profitability report) where the client wants to see the posting date  and period for which the report is ran in the header.Right now we can see the current data i.e the date on which report is generated.
    in brief:
    Currently
    header data: the date on which the report is ran.(report run date)
    Expected
    Header: posting period and date for which report is run.
    Please provide some information as to how do we move with the changes.
    Regards
    Pranay

    Hi
    Char PERIO is available in KE30 reports which is in the format MMM.YYYY
    In your header text, use "Selection Parameters" and insert PERIO... you can write the header text as below
    You have executed this report for period from "Per1" to "Per 2" for the company code "BUKRS1"
    Where Per1 and Per 2 and BUKRS1 are the variables taht you used in your report definition
    Regards
    Ajay M

  • Sales document header-- head text changes not working in VA01 if we rasie with reference to quotation

    Hi,
    Greetings!!
    We have raised a quotation, in this quotation we have manually updated Job number (1234) and project number (9876) in header--> header text and saved the quotation.
    With reference to this Quotation we raised a sales order(VA01)  and here we have changed job number from 1234 to ABCD and project number  from 876 to EFGHIJ and saved the sales document but system by default takes quotation  job and project number only. If we go to change mode of sales document (VA02) our changes working fine.
                    ould you please let us know how we can overcome this issue?  Or this is standard  behavior or what?
    Regards,
    Sree

    Hi,
    Text determination configuration is done in VOTXN
    check VOTXN for your text determination procedure and under access sequence check if there is any routine added

  • Header text change in End User Logon page

    Hello All,
    Could you please let me know where can i change the Header text of End User logon page which is SAP GRC Access Control, 10 to an different description.
    Thanks in advance.

    Hi Abhi,
    Go to SE80
    Go to Package GRAC_ACCESS_REQUEST -> Web Dynpro -> Web Dynpro Application -> GRAC_UIBB_END_USER_LOGIN
    Open the webdynpro in Admin mode and then right click on the page and you can Edit whatever text you want in End User Logon page as well as can enable and disable fields according to your requirement.
    Regards,
    Madhu

  • Header text on top of the result set

    hi ,
    i am working with a query and the users requirement is to see a header value on top of the result.for example i am working with a sales multi provider which gives sales for this year and sales for curent year1,2,+3.soi have 4 key figures (for 4 years). the user wants to see the year on top of the key figure.
    in some cases they need to see a standard text on top of 2 key figures.
       2005       2006
    sales  tax   sales  tax
    100$    10$  250$   23$
    in this case 2005 and 2006 should be generated
    cash budget                 commitment budget
    sales  projected sales      sales  projected sales
    100     150                 159   200
    in this case cash budget and commitment budget are constants.
    i am concerned how we can acheive the values 2005 and 2006 and standarsd texts cash budget and commitment budget.
    thanks in advance
    sri

    You need to create text Variables for each column(KF).
    Right Click / Edit on key figure / beside description choose text variables / create a text variable from calendar year field if you using restricted key figures as they restricted on calendar year.
    If you have 4 basic key figures for 4 years , you may have to write ABAP for this using customer Exit.
    Cheers
    Martin

  • UOM changes automatically inside the system

    Hi All,
       The UOM is changed automatically inside our system when it sends the PO,
    It is sent 1 box=12 pieces but it gets changed to 1 box=36 pieces in the system,
    Please help how does this happen  and what to do to rectify this.
    thanks in advance.

    Check you mateial master
    additional data- UOM tab that the conversion defined as per your requirements or not?
    if every thing is correct here than check the mateirla master change log if some one changed and change back to original or not?
    all looks fine than check for the OSS note for you system version.

  • Sales order header data change by using the ORDERS05 IDOC

    Hello Team
    I am getting sales order number and some code value from the legacy system. i need to check whether the sales order is avialable in SAP or not. if it is there, i need to update the CODE value (ie for example ABC100) in sales order header data> order data> your reference field.  For doing this i am using the IDOC type ORDERS05 and message type ORDCHG message type.
    Now i want to know what are the mandatory fields which i need to do the mapping for the IDOC ORDERS05, to change the sales order header data. please check and suggest me the required fields of the IDOC to be mapped, so that i can change the sales order header data.
    Please correct me if i am doing something wrong here.
    Regards
    Rj

    Hello chirag
    Thanks for your reply. My requirement is to change the sales order which is already avialable in SAP. Just i need to change the header data of the sales order, for example if i am getting the sales order as 1000 and CODE as ABC100. i need to change the Sales document number 1000 and put the code ABC100 in sales order header data>orders data>your reference field.
    So now i want to know the below points
    1. what are the mandatory fields for which i need to pass the values for the IDOC ORDERS05.
    2. what is the user-exit used for picking up those values from SAP because i am getting only sales order number and CODE values from legacy system.
    Please check and suggest me accordingly.
    Regards
    Rj

  • Material is changing automatically in the sales order at the time of replac

    Hi experts
    In a sales order I am changing the 100054447 with material 100054445 after changing the material to 100054445 it is taking me to availability check with 100054447 instead of 100054445 and changing at the item level also I want to know why
    Please help me with this?
    Thanks
    In advance

    Hi
    So, the problem is only with one material. Though you are changing the material, the system is not allowing to change. If yes, then try to change that material with another material(other than the earlier one).
    Are you creating this order with reference to any contract or quotation?
    Thanks,
    Ravi

  • Change or create header text in purchase requisition

    Hi to all experts,
    I have requirement to change *header note* label or create a another note in pr.

    Hi,
    If you want you can proceed using the BADI implementation for BADI ME_PROCESS_REQ_CUST in SE19.
    Goto Interface tab and code in method PROCESS_HEADER.
    To check the parameters for this method, double click on the interface name above. I guess that would be IF_EX_ME_PROCESS_REQ_CUST
    Click over PROCESS_HEADER and click parameters button above, for this method you have a parameter IM_HEADER whose assciated type is IF_PURCHASE_REQUISITION.
    Double click on this associated type and use method IF_LONGTEXTS_MM~SET_TEXT so set the header text.
    To pass the text refer the parameters of method IF_LONGTEXTS_MM~SET_TEXT.
    Call this method in coding as:-
    DATA: lv_tdid TYPE tdid.
    DATA: lt_text TYPE mmpur_t_textlines .
    DATA: wa_text TYPE mmpur_textlines.
    CALL METHOD im_header->if_longtexts_mm~set_text
      EXPORTING
        im_tdid      = lv_tdid
        im_textlines = lt_text.
    Hope this helps you.
    Regards,
    Tarun

  • Header Text PO from Vendor master automatically

    Dear Friends
    This is regarding automatically adoption of header text in PO from vendor master. I am following these steps
    - Maintained customizing as MM>purchasing > PO>texts for PO >define copying rules for header texts .
    in this , select the text type ( this is the PO header text ) and click on text linkage and maintain source obj as vendor master and maintain the fixing as blank ( ie text automatically adopt in the target obj)
    -Then I wrote text (needed in FR lanugage) to respective vendor in purchasing view
    Now When I create a PO, system does not propose any thing under header text
    Did I miss anything.
    Please respond
    Regards
    SG

    Hi,
    1. First I assume the configuration settings are correct
    MM- Purchasing -- PO --Texts for PO --Define Copying rules for header text
    Here the target text type (in this case the PO text type ) i.e. sequence no. is assigned to the correct source object and text (in this case the vendor text type)
    2.If you logon to the system using the language option. i.e. logon id, password and language you get the SAP screens in that language. Now if you try to maintain vendor text in FR and create a PO, the FR Text would get copied to the PO. Now if you go back to the EN logon you ll still find the vendor text in FR. So it is definitely linked to the logon language.
    There should be another way for this too.
    This is an observation and may help you resolve your issue.

  • Default Header text comes in PO at the time of creation

    Hi Friends,
                   my problem is that a default Header text must come on the PO based on the user or purchasing group at the time Creation (In Transaction ME21N).
    Is there any user exits or badi for it. I have already searched for them but i have not got any thing. Please help me.
    Thanks for ur valuable answers

    yes i know that through copy control we can get default text but it is item level text instead of the header text.and other thing it does not depend on the user or purchasing group. I default header text that is populated imediately when user call ME21N. So is there any BADI or user exit for that.Please reply.
    Thanks for ur reply and valuable answers
    null

Maybe you are looking for

  • Re: To obtain values from fields in a web page.

    Pamella -- Thank you for the detailed response. In order to solve your problem, you must do two things: 1) convert your field widgets to HTML elements via WindowConverter::FieldToElement( ... ) 2) grab the information you want from the incoming reque

  • ActiveX to open and close application

    I am new to LV (have 6.1).  What I want to do is open up an external application when a certain LV action is performed (like a boolean button, or something similar), minimize the LV application (will use Application Builder here), and close it when a

  • Compare two records column by column in same table

    Hi All, I have an address table with ID as the PK but there can be more than one ID. I need to take the latest address record and first see if that same ID has a previous address record and if so, compare each column to see if the data has changed. I

  • Route Patter para 2 oficinas en la misma ciudad

    Tengo una pregunta para ver si me puedes ayudar, digamos que hay una oficina principal y una sede pequeña en la misma ciudad...y un solo callmanager en la oficina principal. La oficina principal tiene un e1 y la sede tiene una linea fxo. Resulta q l

  • When i plug in the usb guitar cable the audio in my headphones goes away

    when i input the guitar to usb interface it asks to connect but calls it a headphone. it was working but now the sound doesnt come out of the computer or headphones