How to update TEXT in Sales order header

Hello ,
I have requirement in which I am creating SO via IDOC calling BAPI_SALESORDER_CREATEFROMDAT2.
Question: Can any one help me in finding a solution to update the TEXT in sales order header which is confogured IN TEXT CONTROL in SD.
I have tried various option using CREATE_TEXT but it is only updating STXH table , the text is not coming in the sales order.
If someone knows about this , <removed by moderator>.
Edited by: Thomas Zloch on Nov 15, 2010 4:20 PM - please do assign priorities > normal

Sounds like a text determination config issue - have you assigned the text in VOTXN?  Have you run the text determination analysis from VA02 in the document?

Similar Messages

  • Reading the block message or text from sales order header.

    Dear All,
    Please let me know how to read the block text which is present in the sales order header under texts tab.
    thanks in advance
    regards,
    Shoban

    HI
    Please look intothe follwoing code, which helps you to understand how to read the header slaetext.
      DATA: BEGIN OF text_head.
              INCLUDE STRUCTURE thead.
      DATA: END OF text_head.
    DATA: BEGIN OF TEXT_LINES1 OCCURS 10.
          INCLUDE STRUCTURE TLINE.
    DATA: END OF TEXT_LINES1 .
    DATA: text_id     LIKE thead-tdid     VALUE '0001'.
      DATA: text_spras  LIKE thead-tdspras   VALUE 'EN'.
      DATA: text_name   LIKE thead-tdname.
      DATA: text_object LIKE thead-tdobject VALUE 'VBBK'.
    CALL FUNCTION 'READ_TEXT'
          EXPORTING
            client                  = sy-mandt
            id                       = text_head-tdid
            language                = text_head-tdspras
            name                    = text_head-tdname
            object                  = text_head-tdobject
          TABLES
            lines                   = text_lines1
          EXCEPTIONS
            id                      = 1
            language                = 2
            name                    = 3
            object                  = 5
            reference_check         = 6
            wrong_access_to_archive = 7
            OTHERS                  = 8.
        CASE sy-subrc.
          WHEN 1. RAISE invalid_id.
          WHEN 2. RAISE invalid_language.
          WHEN 3. RAISE invalid_name.
           WHEN 4. RAISE NOT_FOUND.
        ENDCASE.

  • Marketing text in sales order header

    Hi All,
    Please let me know from where does the text gets reflected in sales order header. Header has a tab TEXTS, in which we have series of texts.
    Do we have option to save the texts in any table/structure
    Thanks in advance
    regards,
    satya

    Hi
    Go to SO10 and check the material text . Now go to VOTXN and check wheather the assignment is there for sales header or not
    Regards
    Srinath

  • Create the Header Text In Sales Order Header

    Hi All,
    I want to create a new header text in the sales order header level, Would you mind give me some manual to create this ?
    Regards,
    Luke

    Hi Luke,
    Please goto T-code VOTXN->Sales Document->Header->Text object     VBBK
    You could create Text ID and access sequence.
    Assign the access sequence to text ID.
    Assign the text ID to the procedure.
    Assign the procedure to sales order type.
    Please also refer the following online documentation:
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55f993545a11d1a7020000e829fd11/frameset.htm
    Hope it helps.
    Regards,
    Smile
    Edited by: Smile Zhang on Jul 3, 2008 7:22 AM

  • How to update UDF of sales order line of closed sales order header

    Hello experts,
    We are using SAP 8.81.313  PL 05  and we noticed that through SDK using businessobject SAPbobsCOM.BoObjectTypes.oOrders,  we can't update an user defined field on sales order line for a sales order with header closed.
    calling the method  Update()   it returns 0  but actually the table field  was not changed !
    Also we noticed that It's possible to make an update of UDF of delivery line for a delivery with header closed.
    I don't understand why.
    Is it a bug or the expected behavior ?
    Our customer needs to change some UDF of sales order line even when the order header is CLOSED.
    Please help me.
    Many thanks for your time.
    Best regards
    Andrea

    Hi Elio,
    Yes from UI it's the expected behavior but through DI API  I could update an user defined field of sales order line even if the LineStatus is equal to "C" (Closed) but only if the order header is not closed.
    Regards
    Andrea

  • Automated insertion of text into Sales order header

    Hi Guru's,
    we are recently working on specific request for automated creation of sales documents.
    On each sales order there is a need to update specific fields on header level with default values - no problem.
    There is also need to insert specific text into Header text: "Service reendered YYYY-MM-DD" into each single order generated by this automated way.
    Do you know any functionality that we can implement into our solution or any other solution which is coming to your mind?
    THANK YOU!!!

    Hi
    Please try with the following user exits.
    USEREXIT_MOVE_FIELD_TO_TVCOM_H
    You can use this user exit to influence text determination for header texts. For example, you can include new fields for text determination or fill fields that already exist with a new value.
    USEREXIT_MOVE_FIELD_TO_TVCOM_I
    You can use this user exit to influence text determination for item texts. For example, you can include new fields for text determination or fill fields that already exist with a new value.
    Regards,
    P Gomatheeswaran.

  • How to update attributes of sales order?

    can anyone explain me this?
    Edited by: user9024076 on Jan 21, 2010 12:30 AM

    Hi Elio,
    Yes from UI it's the expected behavior but through DI API  I could update an user defined field of sales order line even if the LineStatus is equal to "C" (Closed) but only if the order header is not closed.
    Regards
    Andrea

  • How to get a Deleted Sales Order Header Data ?

    Hi Guys,
                   I need to get KNUMV field of deleted sales order to track the deleted entries in KONV table.
    But when I check in CDPOS, I am getting only the sales order NO. but not full header data of the deleted sales order or
    is there is any history table maintained for KONV ?
    My requirement is to update a custom defined table having same entries like KONV, which is used to update Data warehouse system.
    Thanks
    AJ

    Whenever any condition record is deleted then there is a deletion indicator at the Condition record level which get activated and through this field you can track then the condition record which are deleted. At this moment, i don't have access to SAP system and i unable to highlight the exact table name, please check the SAP standard table KONV for deletion indicator.
    thanks
    chaitanya

  • How to update VBFA while sales order creation using BAPI

    Hi,
    I am trying to create sales orders for each schedule line items while inquiry creation.
    This I have done in the user exit in the VA11 program MV45AFF using BAPI "BAPI_SALESORDER_CREATEFROMDAT2".
    along with the Inquiry, Sales orders are also getting created. But I am facing 2 problems.
    1) BAPI is not returning the sales order number to the program but when checked from SE37 it is returning the sales order   
        number.
    2) It is not updating the VBFA (SD flow) table.
    Regards,
    Krishna.

    Hello,
    1) BAPI is not returning the sales order number to the program but when checked from SE37 it is returning the sales order
    number.
    - are you passing simulation parameter (TESTRUN) as 'X'
    2) It is not updating the VBFA (SD flow) table.
    - Please use BAPI_SALESDOCUMENT_COPY for copying and updating VBFA table
    Thanks
    Krish

  • Problem to update delivery block (sales order header level)

    hi all,
    after few tries, we got message "Field 'LIFSK' cannot be changed, VBAKKOM 0001279765 ready for input".
    this message come when we try to update the delivery block with some value when the delivery block in the sales document is blank (no block).
    please advise how to solve the problem. thanks.

    Well, you said that only some orders are failing - try to find what's so different about them. Also check if there are any other messages in the RETURN table.
    Sometimes these errors might be difficult to catch because the field might not be available for input only at the moment when your BAPI runs, but later, when you go to VA02, it is available. Here is an example. We were trying to update the reason for rejection field. It becomes available, for example, when the delivery line item has been confirmed, but for the lower amount. The program with BAPI was running at the background. Sometimes there was an error in the delivery, which was corrected by a user. So when later in the day we went to research this, we couldn't figure out what's wrong. You might want to check the Changes log on the order and on the delivery.
    And, of course, there is always the debugger - set the whatchpoint for where this message occurs.

  • How to update VBEP-AESKD (sales order-schedule lines) through a BAPI?

    Hello experts,
    I have the rquirement to change the fields AESKD and *SERNR *in VBEP. BAPI_SALESORDER_CHANGE seems not to provide the facility to deal with this field.
    Question is: How do I update fields that are not availabe in the BAPI (SCHEDULE_LINES--> BAPISCHDL).
    Is there another way?
    Any suggestion is welcome!
    C.N.

    Hi Sara,
    well, I ended up doing it in MV45AFZZ in FORM userexit_save_document_prepare.
    There you have access to the full VBEP before it is saved. The best point of entry might differ for you depending on your requirements.
    The values have been previously saved in a Z-function group memory using two Z-functions - one to save the values to the FM memory and one to retrieve them. The Z-functions/function group were/was created just for this purpose.
    They are just used to 'transfer' data from the point when I call the BAPI to the point 'in' the BAPI.
    In this specific case 'BAPI_SALESORDER_CHANGE' is used. The FM that 'remembers' the value is called right before the call of the BAPI.
    But this has to be used w/ extreme caution as there is no good validation done by SAP at this point etc.!
    Did you find another way?
    How did you solve this matter?
    Cheers,
    Chris
    Edited by: Chris N. on Jan 15, 2010 10:45 AM

  • How the sales order header status update?

    Hello,
    In the sales order header "STATUS" tab is there, under this status tab we can find OBJECT status if we click that object status it shows the Object number,Object category,status profile and status with status no. on which bases this status will update in the sales order header?
    my case is Status "10-xxxx" set automatically for some orders.
    Could you plz let me know on which bases, the status will be updated in the sales order?
    Regards|KS

    Hi
    SAPu2019S GENERAL STATUS MANAGEMENT FUNCTIONALITY
    General Status Management replaced order status management functionality in recent SAP releases (4.6C).  This discussion will address general status management, as this is how SAP allows user statuses for controlling objects in this and future releases.
    General Status Management applies to internal orders, project definitions, WBS elements, production orders and many other objects in SAP.  For the purposes of this discussion we will concentrate on status management for internal orders and WBS elements.  A list of all objects relevant for status management will be made available upon request.
    A status is an indicator that fulfills two functions.  First, it informs you that a particular status has been reached.  For example, an internal order has been created and released; a settlement rule has been entered; a particular business transaction has been executed, etc.  Second, it influences the business transactions you can perform for a particular status.  A status can allow a business transaction; allow a business transaction but issue a warning message; or prohibit a business transaction altogether.  If a warning message is issued it is up to the user whether the business transaction is carried out or not.
    Statuses can be used to control and communicate.  Statuses can be used in reporting (show me a report of all internal orders with a status of TECO, or technically complete).  Statuses can be used as selection criteria (select all internal orders with a status of CLSD, or closed).  Statuses can communicate the state of an object (ready for archiving, not ready for settlement execution).
    There are SAP standard delivered statuses that apply to all object types.  These are known as SYSTEM STATUSES.  CRTD, REL, SETC, TECO are examples of SAP standard system statuses.  SAP standard system statuses cannot be removed from use.  You cannot override the SAP system status with a user status.  You cannot change the behavior of an SAP system status.
    User statuses (or user defined statuses) exist in addition to SAP standard statuses.  User statuses are intended to augment or refine SAP standard statuses, not replace them.  There is no limitation to the number of user statuses that can be created.  Both system and user statuses influence business transactions in the same way.
    An object can have multiple statuses active at the same time.  A plant maintenance order can have released, preliminarily costed, work order printed and confirmed statuses all at the same time.  For SAP display purposes only one status can be displayed on the status line in master data screens, but it is possible to see all active statuses for an object at one time by drilling down into the master data screens.
    A STATUS PROFILE, or user status profile, contains individual user statuses and the business transaction rules defined for those statuses.  There is no limit to the number of user status profiles that can be maintained in SAP.  A user status profile is assigned to an order type or a project profile in configuration.  This user status profile is then defaulted into all objects that reference that order type or project profile.  A users status profile can be overwritten (or deleted) in an individual object (via native master data screens), but only if a user status has yet to be activated for that particular object.  Once a user status has been activated for that object the user status profile cannot be changed.
    HOW STATUS MANAGEMENT WORKS
    When an object (internal order, WBS element, production order) is created SAP assigns the system status CRTD.  MIT automatically releases the order, so the system status REL is also activated.  If there is a user status profile defined in the order type (or project profile) this is carried over into the internal order (or WBS element).  If not, only the SAP system statuses will apply to this object.
    When a user executes a business transaction for this object, SAP checks the user status to see if that business transaction can be executed without any additional influence from a user status, can be executed but with a warning message being issued, or cannot be executed at all.  SAP also checks whether the business transaction sets or deletes any other user statuses within the user status profile.
    A user status may also be maintained directly in the object master data.  Accessing the master data screens allows a user to manually maintain user statuses.  If necessary, an authorization code can be assigned to a user status to ensure that no unauthorized persons can change the status of an object.  Once changed, the new user status is fully active and acts no differently than if a business transaction set the user status.
    Status management and business transaction control only work with standard SAP transactions.  Z transactions will not show up on the business transaction list for an object.  The business transaction table is configurable, but SAP strongly recommends not changing that table.  SAP directly updates that table via support packs and it is often impacted during upgrades.
    Authorization codes / keys are available in user statuses.  The authorization code is checked only when user statuses are being set manually, from within the objectu2019s master data screens.  This ensures the user has the proper authorization to set that status for that particular object.  However, it is important to understand that SAP sets a user status in reaction to a business transaction it does not perform an authorization check.

  • How to update the sales order header & item data in TM system

    Hi Experts,
    Greetings!
    I need your help,I have a one requirement sales order data came from ECC these sales order data need to update in TM Sales order header table as well as item table also these fields are additional fields.
    Can anyone please guide me I am very new in TLM .
    Thanks in advance.
    Thanks&Regards,
    Siva.

    Hi Siva
      "/SCMTMS/TRQ~ROOT" is for sales order header and "/SCMTMS/TRQ~ITEM" is for details.
      I assume you need to
    enhance the structures for these nodes to hold your add. fields;
    and do the same for the input parameter of service TransportationRequestRequest_In (which is used to create OTR) from PI side;
    Pass the add. fields during service call (impelment in ERP system);
    Map the fields from service paremeter to node attribute (implement in TM system, BAdI   /SCMTMS/TRQ_SE_TPNRQ_REQ~CHANGE_MODIFICATION create modification table for the input parameter).
    I cannot find source code for all of that; hope it helps.
    Sensen

  • Transfer of Header text from Sales Order to Delivery

    Hi Experts,
    I had a requirement to populate Terms of delivery text in Sales Order Header text with some predefined value which I have accomplished using MV45AFZB - User Exit USEREXIT_CHECK_VBAP which transfers the text on save of the document to sales order header (terms of Delivery Text ) .
    Now the issue is the same text is required to be copied to delivery - Terms of Delivery header Text. But this is not happening/Its occuring one out of 4 times . I am not able to find out the reason for this.
    Please help in this regard.
    Thanks

    This can be set in conifugration. Transaction VOTXN. The delivery header text can be set to be referenced from the sales order.

  • Sales Order Header Text....

    Hi All,
    I have given some text in sales order header. I want a field and table name of text entered in sales order header.
    Yusuf.

    Hi,
    Try this table STXH ( SAP script text file header)
    For more details on tables in sd go to link given below
    http://www.erpgenie.com/abap/tables_sd.htm
    Award points if helpful
    Regards,
    Amrish Purohit

Maybe you are looking for