Sales Order Header Data. Texts

Hy All Experts.
I wnt to put Filed Sales Order Header data. i go to transaction va02. ->> disp Doc. header Deatils.
select Tab Texts. --> Notes .
I wnt to put a notes in a sales order report. so hw to identify. that field.
Please guide me above matter.
Thnks
Bhavesh Panchal.

Hi Bhavesh Panchal,
              Use read text function module and get data from header text for ur sales report.
get object, id, en from text area. Double click the text area and click Goto menu and choose header.
for ex
     TDNAME = IT_ORDER-VBELN.
      OBJECT = 'VBBK'.
      ID = '0001'.
      EN = 'EN'.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          CLIENT                  = SY-MANDT
          ID                      = ID
          LANGUAGE                = EN
          NAME                    = TDNAME
          OBJECT                  = OBJECT
        TABLES
          LINES                   = LINES
        EXCEPTIONS
          ID                      = 1
          LANGUAGE                = 2
          NAME                    = 3
          NOT_FOUND               = 4
          OBJECT                  = 5
          REFERENCE_CHECK         = 6
          WRONG_ACCESS_TO_ARCHIVE = 7
          OTHERS                  = 8.
      DELETE LINES WHERE TDLINE IS INITIAL.
LOOP AT LINES.
  IT_ORDER-MSG1 = LINES-TDLINE.
  EXIT.
  ENDLOOP.

Similar Messages

  • 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

  • I have to load sales order header data 2lis_11_vahdr

    I have to load sales order header data 2lis_11_vahdr  but i dont know which starndard dso and cubes which use for this data souce.
    please give me list of dso and cube for 2lis_11_Vahdr, 2lis_11_vaitm,2lis_11_vasch for this data sources and also give the standard quaries..
    Thanks in Advance....

    Hi Praveen,
    follow documentation about BI Content available on help.sap.com:
    BI Content & BI Content Extensions -> Supply Chain Management -> Order Fulfillment
    -> DSO objects
    -> InfoCubes
    as per your requirements you need to study available objects DSO/cubes to see what covers it.
    cheers
    m./

  • *Credit Control Data reome form sale order header data*

    Hi
    have any option for remove credit data from sale order header (VBAK-KKBER)?
    Thanks
    L.C

    Hi Lalith,
    Its not possible to delete KKBER Data from Sales Order.
    because it carries out from customer master XD01 and FD32
    if you want remove, if the sales order is open status delete the same and delete it from customer master and again raise the sales order and check the same,
    Thanks and Best Regards,
    Muralidharan S

  • Copying sales order header data into delivery line item

    Hi
    In copy control from sales order to delivery I want to copy value in sales order header to all the items in delivery, can I achieve this in the header level data transfer routine (Source sales document type to target delivery doc type i.e TVCPL-GRUAK)  or I have to do the changes in item level data transfer routine (TVCPL-GRUAP)
    The requirement is to copy a value from VBAK into LIPS during delivery creation
    Thanks
    Javed

    Dear Javed,
    Your requirement sounds interesting.
    If possible can you explain the scenario where we have to transfer the header data form order to item data in delivery?
    Also if you have found the solution, can you please update the same.
    Thanks & Regards,
    Hegal K Charles

  • Fill the Profit Segment in Sales order Header data

    Hello Gurus,
    In my project, we have sales orders with a lot of line items, more than 300, sometimes. In each line item, the user must fill profit segment field (CO-PA) (in account assignment tab) with a user-defined characteristic, the same data for all items.
    I'm looking for a standard functionality, or development functionality, that allows me to fill the profit segment field (the user defined characteristic) at header sales order, and transfer it to new line items created next.
    i dont know if any enhancements (SMOD) that begin with COPA* can help me.
    Thanks a lot. rew points will be assigned, sure

    Hi manuel
    Generally the profit center is assigned in MMR in MRP view. .But before that if you want to assign manually create the profit center in SPRO which configured by FI consultants.
    Regards
    Srinath

  • Sales order Header data require mandatory to fill Name of individual Who fo

    Hello,
    While creating OR sales order, it require to fill "Name" of Orderer & can not save order.
    I believe it is due to Incompletion log Header data Procedure 11Field "Name" assigned Status 01-->Which is general
    If I want to remove this, what is procedure?
    Or SAP standard requires this? Please suggest input.

    Hi Experts,
    I set Free Goods determination Inclusive Calculation Rule 1=Pro Rata and Cal Rule 2=Unit reference both are working fine.
    When trying for cal Rule 3 it gives error message "The system determined free goods with quantity 0 for item 000010
    Means for 10Ton of A product 10% means 2To are free. If I apply quantity in multiple of 10 i.e.10, 20 30 free goods are determined, delivery & billing is working well.
    But if I apply 25Ton or 38ton, it is not even giving minimum discounts say for 25ton, it should give atleast 20ton equivalent fre goods.  I checked in rounding rule OB90 where my company code3000 is giving 10 2 digit for USD currency. I set like this. When I checked pricing for condition type R100 it says requirement 055 not fulfilled. However I have maintained Req 055 & BaseType 28 in pricing procedure.
    For cal rule 3 what else setting I should check.
    Early reply with detail steps shall be highly appreciated.
    Thanks

  • Trigger delta on sales order header/item text change

    Hi,
    I need to create an trigger delta when header or item text on sales order is changed.
    Any pointers to this will be helpful.
    <REMOVED BY MODERATOR>
    Thanks a lot.
    Edited by: Alvaro Tejada Galindo on Feb 6, 2008 4:03 PM

    In Mv45afzz u will find save document prepare ..once the document is saved it will trigger if executed from VA02 Transaction create your delta.

  • 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

  • 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.

  • Sales tab in Sales order header

    Hello Gurus
    When i create a sales order and delivery number for my warehouse. the the 'Delivery status' field of Sales tab in the sales order header data is automatically getting updated 'Fully delivered' .If i create a sales order with out saving the entry and if i go to 'Delivery status' field to check for the delivery status it says 'Not delivered'
    Can you please let me know how this field is getting updated .Is there a config where i can control this .
    Thanks

    Hi,
    Once you create a delivery for the respective line item for same qty  the delivery status will be change to fully delivered.
    But when you create a sales order in VA01 and before saving you see the status its " Not delivered" because the line item deliver has not been donr ( delivery document not created). Its an standard SAP behavior.
    Also check the copy control in VTFA  in update document flow field at item category level
    Hope this will help you to resolve your query!!
    Regards,
    Krishna O
    Edited by: Krishna O on May 28, 2010 7:16 AM

  • Archived Data - Sales Order Header Text

    We have archived the object SD_VBAK and I notice that some of the sales order header text also been archived. Now, the question is from where I retrieve back those header text. I am building the info structure but I need to know the object name for the header text.
    Please help.

    The texts are archived using the class TEXT, and as such cannot be added as a object into the infostructure.
    I would suggest you try building a new fieldcatalog, in which you could try introducing the field TDLINE from table TLINE. I dont know if this would work, but you could try.
    Otherwise, I think the only way to read the text would be by writing a program to do so.
    Hope this helps.
    Sudha

  • Update Sale Order Header Text through Enhancement

    Hi Experts,
             I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved.
    Here in I tried using edit_text, it updates sale order header text  directly in DB during run time even before the save action is completed.
    But I need to just fill the header text and that has to be saved during the save action only.
    I tried coding the same in the user exit (userexit_save_document) but this user exit gets triggered only when there is some changes made to the document when opened in VA02 & Saved.
    Is there any  user exist to pass sale Order Header text and save when save button is clicked irrespective of the document been changed or not.
    Thanks in advance
    Sathish

    Hi Brad Bohn,
        My actual requirement is to trigger an Idoc when the user goes to VA02 transaction and clicks save.
    IDoc gets triggered only when there is some changes to that document, that is through NAST table entry based on the output configurations in NACE transaction.
    Now that the user wants to trigger an IDoc even if there is no change (ie. to reprocess the IDoc) when he just opens a sale order in VA02 and click save.
    It is not possible to trigger an IDoc through configurations when there is no actual change in VA02 and saved.
    So it has to be forcefully sent by making some additions to the Order through coding, so I choose that Text box to fill some additional data and save .
    Kindly Let me Know any thing could be done for this scenario.
    Thanks in advance
    Sathish

  • Which table stores the Sales Order--Header--Texts--EDI Text?

    Hi Experts,
    I hv a requirenment regarding the Sales Order -> HEADER -> TEXTs -> EDI Text-Int, so, I need to hv some Orders(#). which does hv this text on them, for as test data.
    So, I am looking which table stores, this text for my_sales_oders_12345678.
    [ actually, i got some info from sdn, like,
    Table TTXOB -> stores Texts: application object for Sales order header it is always VBBK i.e. field TDOBJECT = VBBK.
    Now all the text types i.e. text ids are stored in table TTXID
    So fetch all text ids(TDID) from this table based on TDOBJECT = VBBK. And its descriptions are stored in TTXIT table.
    but, no use this ]
    thanq
    Edited by: Srinivas on Jul 10, 2008 11:06 PM

    Hi Srinivas,
    Generally to access the text we use READ_TEXT function Module.
    we need to pass the four parameters
    ID
    LANGUAGE
    NAME
    OBJECT
    You can find these parameters in the sales order it self.
    Goto ---> Header ---> Texts
    Now double click on the text it takes you to the Text Editor. You can find the screen Display Form Header . In this goto Menu Path Goto ---> Header. You get a screen Text header. Here you can find the these parameters.
    Text Name
    Language
    Text ID
    Text Object
    You need to pass these parameters to the function Module to text the text.
    You can also fins the text in Table STXH
    Best regards,
    raam

  • Bdc for sales order header text

    we need to write a bdc program for va01. In that we need to
    upload header text also .
    So please kindly tell me how to upload flat file to va01 along with
    header text.And how we need to declare the flat file.
    if it is not possible through bdc then tell me how to do with bapi.
    thank you so much for all the replies

    Hi,
      Using BDC, You can not uplaod sales order header text. You can upload the header text using FM
    CREATE_TEXT.
    Here giving sample code. This code is written for Material master text. You change this code according to your requirement
    REPORT ZMM_INSERT_LONGTEXT.
    *Internal table to hold long text...
    DATA:
      BEGIN OF T_UPLOAD OCCURS 0,
        MATNR LIKE MARA-MATNR,             " Material number
        ID(2) TYPE C,                      " Identification
        LTEXT LIKE TLINE-TDLINE,           " Long text
      END OF T_UPLOAD,*Internal table to hold long text....
      T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.DATA:
       W_GRUN LIKE THEAD-TDID ,            " To hold id
       W_OBJECT LIKE THEAD-TDOBJECT VALUE 'MATERIAL',
                                           " To hold object id
       LV_VALUE(70).                       " Value to hold material number
    START-OF-SELECTION.* This perform is used to upload the file
      PERFORM UPLOAD_FILE.* This perform is used to place the text in MM02 transaction
      PERFORM PLACE_LONGTEXT.
    *&      Form  create_text
    *  This routine used to create text in MM02 transaction
    *  Passed the parameter w_grun to P_C_GRUN
    *                 and lv_value to P_LV_VALUE
    FORM CREATE_TEXT  USING    P_C_GRUN
                               P_LV_VALUE.  DATA:
        L_ID LIKE THEAD-TDID,
        L_NAME(70).  MOVE : P_C_GRUN TO L_ID,
             P_LV_VALUE TO L_NAME.  CALL FUNCTION 'CREATE_TEXT'
           EXPORTING
             FID               = L_ID
             FLANGUAGE         = SY-LANGU
             FNAME             = L_NAME
             FOBJECT           = W_OBJECT
    *      SAVE_DIRECT       = 'X'
    *      FFORMAT           = '*'
           TABLES
             FLINES            = T_LINE
          EXCEPTIONS
            NO_INIT           = 1
            NO_SAVE           = 2
            OTHERS            = 3
      IF SY-SUBRC <> 0.
        CLEAR LV_VALUE.
      ELSE.
        DELETE T_LINE INDEX 1.
      ENDIF.ENDFORM.                    " create_text*&---------------------------------------------------------------------*
    *&      Form  upload_file
    *  This routine is used to upload file
    *  No interface parameters are passed
    FORM UPLOAD_FILE .  CALL FUNCTION 'UPLOAD'
       EXPORTING
    *     CODEPAGE                      = ' '
    *     FILENAME                      = ' '
          FILETYPE                      = 'DAT'
    *     ITEM                          = ' '
    *     FILEMASK_MASK                 = ' '
    *     FILEMASK_TEXT                 = ' '
    *     FILETYPE_NO_CHANGE            = ' '
    *     FILEMASK_ALL                  = ' '
    *     FILETYPE_NO_SHOW              = ' '
    *     LINE_EXIT                     = ' '
    *     USER_FORM                     = ' '
    *     USER_PROG                     = ' '
    *     SILENT                        = 'S'
    *   IMPORTING
    *     FILESIZE                      =
    *     CANCEL                        =
    *     ACT_FILENAME                  =
    *     ACT_FILETYPE                  =
        TABLES
          DATA_TAB                      = T_UPLOAD
         EXCEPTIONS
           CONVERSION_ERROR              = 1
           INVALID_TABLE_WIDTH           = 2
           INVALID_TYPE                  = 3
           NO_BATCH                      = 4
           UNKNOWN_ERROR                 = 5
           GUI_REFUSE_FILETRANSFER       = 6
           OTHERS                        = 7
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.  SORT T_UPLOAD BY MATNR ID.
    ENDFORM.                    " upload_file
    *&      Form  place_longtext
    *  This routine places the text in MM02 transaction
    *  No interface parameters are passed
    FORM PLACE_LONGTEXT .  LOOP AT T_UPLOAD.    T_LINE-TDFORMAT = 'ST'.
        T_LINE-TDLINE = T_UPLOAD-LTEXT.
        APPEND T_LINE.    IF T_UPLOAD-ID EQ 'BT'.
          MOVE T_UPLOAD-MATNR TO LV_VALUE.
          MOVE 'GRUN' TO W_GRUN.                   "Test ID for Basic data text
          PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
        ENDIF.    IF T_UPLOAD-ID EQ 'IT'.
          CLEAR W_GRUN.
          MOVE T_UPLOAD-MATNR TO LV_VALUE.
          MOVE 'PRUE' TO W_GRUN.                      "Test ID for Inspection text
          PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
        ENDIF.    IF T_UPLOAD-ID EQ 'IC'.
          CLEAR W_GRUN.
          MOVE : T_UPLOAD-MATNR TO LV_VALUE,
                 'IVER' TO W_GRUN.                    
                                                      "Test ID for Internal comment
          PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
        ENDIF.
      ENDLOOP.ENDFORM.                    " place_longtext

Maybe you are looking for

  • Issue in Implementing OR Logic in Security Filter for Essbase in OBIEE

    I am implementing OBIEE using Essbase as the data source. The requirement is to implement OR logic in the security filter. And I got error message from the MDX query generated by OBIEE. Below is the details. Anyone knows how to solve this issue? Than

  • Connect G4 to a macbook

    Hello everyone, I have a Mac G4 (like this one: http://www.nceita.org/wp-content/picture/g4.jpg) but I don't have a display for it - the display broke. So I wanted to know if there's a way I can connect it to my MacBook Pro to download the files that

  • Cannot create PDF in Internet Explorer 10

    Using Acrobat 10.1.7.27.  Upgraded Internet Explorer to Ver 10.  Now cannot use the Printer function to create a PDF (print web page to PDF)  doing so causes IE to freeze and must be closed using tax manager

  • Another "sound doesn't play out of right side of headphones" topic.

    I don't know why this happens. My friend, who knows a crapload more about audio and electronics than I do doesn't know the exact reason why this is happening. Nothing in the headphones port has been badly damaged, yet I've only had my video iPod for

  • Trouble with FAX of Macmini

    Hello, With Macmini and OS X.3.9, Printer EPSON Stylus 760 I do not manage to send a fax. This situation started with OS X 3.7. When I try to fax, I see arriving 2 windows at the same time : - the first : Treatment of page 1 - the second : Error at t