In the sales order text is not redetermined

Hello
while creating the sales order user enters the sold to party and ship to party after executing the text the user changed the ship to party but the text is not redetermined in the order according to the ship to party it is same as previous ship to party text only. how this text will be redetermined in the order.
Regards,
Kishore

Hi
The sales order might be incomplete.
Go to Transaction VA02, Edit->Incomplete Log.
Complete the details and then try to create the delivery.
Also, check the Delivery block option in the Sales Tab.
If it has entries, remove the entries.
Save the Sales order and then try to create the delivery.
kindly reward points if it helps!
best regards,
Thangesh

Similar Messages

  • Get the sales order text from ITS and save it in SAP.

    Hi,
    I have created an application to create sales order from ITS. In this app i'm having a text field to fet the header text for the order. & after that I'm calling an RFC which has a BAPI to create the sales order.
    Now, when i enter the text for header texts in frontend (separated by ENTER), then it saves only the first line of the text.
    I've tried using :
    SPLIT ordernotes AT cl_abap_char_utilities=>cr_lf INTO TABLE t_ordnotes.
    and using FM: CREATE_TEXT,
    but still, it is saving only the first line.
    Can anyone please help me with this ?????
    Its urgent.
    Thanks in advance,
    Hemant.

    Hi
    See the sample BDC program that is used to upload the Material LONG Texts into SAP using MM01 Tcode
    check this may be helpful
    REPORT zmm_longtext
           NO STANDARD PAGE HEADING
           LINE-SIZE 255.
    Internal Table for Upload of Long Texts Data
    DATA: BEGIN OF itab1 OCCURS 0,
            matnr    LIKE mara-matnr,    " Material
            text     LIKE tline-tdline,  " Long Text
          END OF itab1.
    Internal Table for Upload of Long Texts Data
    DATA: BEGIN OF itab OCCURS 0,
            matnr LIKE mara-matnr,    " Material
            text  LIKE tline-tdline,  " Long Text
          END OF itab.
    To create Long Text lines for CREATE_TEXT function module
    DATA:BEGIN OF dt_lines OCCURS 0.
            INCLUDE STRUCTURE tline.   " Long Text
    DATA:END OF dt_lines.
    Variable declarations for CREATE_TEXT function module
    DATA : dl_name TYPE thead-tdname,   " Object Name
           dl_lan TYPE thead-tdspras,   " Language
           gv_matnr TYPE matnr.
    Constants
    CONSTANTS:
    Object ID for Long Text of Material Basic Data 1
      c_best     TYPE thead-tdid VALUE 'GRUN',
      c_material TYPE thead-tdobject VALUE 'MATERIAL'. " Object
    Parameters
    PARAMETERS p_file LIKE rlgrap-filename.
    At selection-screen on Value Request for file Name
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Get the F4 Values for the File
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_file.
    Start Of Selection
    START-OF-SELECTION.
    *To Upload Flat file
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
        TABLES
          data_tab                = itab1
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
      SORT itab1 BY matnr.
      LOOP AT itab1.
        CLEAR gv_matnr.
        SELECT SINGLE matnr INTO gv_matnr
           FROM mara WHERE bismt = itab1-matnr.
        IF itab1-text NE ' '.
          itab-matnr = gv_matnr.
          itab-text  = itab1-text.
          APPEND itab.
        ENDIF.
        CLEAR itab.
      ENDLOOP.
      DELETE itab WHERE matnr EQ ' '.
    Upload the Texts
      SORT itab BY matnr.
      LOOP AT itab.
        dt_lines-tdformat = 'ST'.
        dt_lines-tdline = itab-text.
        APPEND dt_lines.
        dl_lan = sy-langu.
        dl_name = itab-matnr.
    Call the Function Module to Create Text
        CALL FUNCTION 'CREATE_TEXT'
          EXPORTING
            fid         = c_best
            flanguage   = dl_lan
            fname       = dl_name
            fobject     = c_material
            save_direct = 'X'
            fformat     = '*'
          TABLES
            flines      = dt_lines
          EXCEPTIONS
            no_init     = 1
            no_save     = 2
            OTHERS      = 3.
        IF sy-subrc <> 0.
          WRITE:/ 'Long Text Creation failed for Material'(001),
                 itab-matnr.
        ELSE.
          WRITE:/ 'Long Text Created Successfully for Material'(002),
                 itab-matnr.
        ENDIF.
        AT END OF matnr.
          REFRESH dt_lines.
        ENDAT.
      ENDLOOP.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Sales order text is not updating

    Hi All,
      call function 'SD_SALESDOCUMENT_CHANGE'
        exporting
          salesdocument    = salesdocument
          order_header_inx = w_order_header_inx
          simulation       = testrun
          business_object  = 'BUS2032'
          call_from_bapi   = 'X'
        tables
          return           = return
          sales_text       = order_text
          textlines_ex     = text_lines.
      COMMIT WORK.
    I am using above FM for updating Sales order test .I am Passing test in the Prameters      textlines_ex     = text_lines.
    I am Unable to dig what the issue is .Can anyone help me out in this .
    salesdocument  = Sales Document number
    Moderator Message: Even we cant help you, with a question like that. Put more effort into framing your questions.
    Edited by: kishan P on Jan 9, 2011 6:56 PM

    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?

  • Creating Sales order texts while using BDC session method is not working

    Hi All,
    I have an existing program which creates sales order using BDC session method.( Actual program uses BAPI to create sales order and in case if any error occurs during creation of sales order BDC session is generated so that user can process it later and i am facing issues in this part of code where it uses BDC)
    I wanted to modify this BDC sesion  to update the sales order text also. I tried recording VA01 for creationg sales order text unfortunatly it is not capturing the data i am entering in the text fields.
    Please suggest if there is any way to create sales order using BDC.
    Regards
    Sheeba

    Hi Madhu,
    '=TP_CREATE' is the OK code i am getting for creating TEXTS. But the text entered are not captured in BDC.
    Part of BDC program generated for cretaing sales order texts.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=%_GC 128 22'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TP_CREATE'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=%_GC 128 22'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TP_CREATE'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBACK'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    Regards,
    Sheeba

  • Any way to hide the Option CLASS in the sales order line

    Any way to hide the Option CLASSes in the sales order line ? Not thru personalization .and also is there a way to explode the model automatically when we open the sales order form and line details ,rather than going to Tool--Show details everytime

    1) Don't know.
    2) Set "OM: Show Line Details" profile option to Yes.
    Hope this helps,
    Sandeep Gandhi

  • Sales order quantities are not copied to Delivery

    Hi Friends,
    The sales order quantities are not copied to the delivery document. The order type is OR & delivery type is LF.
    We are using the BoM, for which a dwelivery group is created in the sales order. The schedulelines are confirmed as there is ample stock in storage location. The scenario is MTS.
    The copy control in VTLA is :
    At Header level
    order req : 001
    combination req : 051
    header req : 001
    header data ext sys : 0
    At Item Level for TAP
    order req : 102
    item data : 101
    item data ext sys : 0
    business data : 2
    update doc flow ( X ) 
    positive/negative : +
    At Item Level for TAN
    order req : 101
    item data : 101
    item data ext sys : 0
    business data : 2
    update doc flow ( X )
    positive/negative : +
    Please tell the solution
    regards,
    Yuvaraj.

    Hi,
    When you do the setting for item category, you need to maintain that the item is relevant for delivery. Kindly check.
    Regards,
    Jn

  • Sales order stock is not valuated

    hi
       the sales order stock is not coming valuated as i m using make to order startegy in finished goods can anybody suggest me as i have checked the account assignment cateogary for different goods movement but still the cost is missing plz suggest me the path to follow to get the sales order stock valuated
    thanks and regards
    surendra choudhary

    The reason is,
    COR3 - Open your Production or Process Order
    Go to Goods Receipt Tab
    'Goods Receipt, Non-Valuated' tick mark will be there.
    Go to 'Header' dropdown > Select 'Settlement Rule' > Category will be 'SDI'
    GR Non valuated seems to be default behavior of the system.
    If above tick & Settlement rule 'MAT' can be set then this problem can be solved.
    Regards,
    Chintan

  • No condition update from the sales orders exist - VK322 Message

    Hello All,
    I have activated " Condition Index" & " Condition Update" flag for one of my discount condition type and then created it's condition record along with scales on three levels. The condition type which I mentioned above is set as " Value Scale" in Scale Basis for checking the document value and apply the applicable discount percentage.
    I have created three sales orders wherein the discount percentage is getting applied as per my condition record ( so, the document value is getting accumulated and compared with the condition record correctly )  but when I try to check the cumulative values ( ctrl +shift + F4 ) from the condition record, I get information message " VK322" mentioned in the subject.
    VK322 -
    No condition update from the sales orders exist
    Message no. VK322
    Diagnosis
    The following causes are possible:
    1. There are no sales orders for the condition record that you selected.
    2. Updating condition records in the sales order entry is not active.
    Procedure
    Concerning 1:
    Check the sales orders created for the condition record that you selected.
    Concerning 2:
    Activate the updating for condition records in the sales order entry.
    I have checked everything in SPRO for this but could not find anything which can give me a clue to resolve this problem, especially " Concerning 2" part of this message.
    My requirement > To be able to see the cumulative values from condition record.
    Also, in which table the accumulated values get stored?
    Appreciate your expert advise on this issue.
    Regards,
    Hrishi
    Edited by: Hrishikesh Bhalwankar on Sep 13, 2011 1:59 AM

    Hello Everyone,
    I would like to thank each one of you for giving valuable inputs in regard to my requirement and I would like to let you know that I am able to achieve the results as per the expectation.
    I would also like to share some key things which I did ( with the help of all your expert inputs ) due to which the requirement is met:-
    1. Activation of ' Condition Index, Condition Update' in V/06 for the discount condition type.
    2. Maintained ' B - Value Scale' in Scale Basis for the said condition type in V/06 - my requirement was to check against a value to apply the necessary scale base percentage.
    3. Activation of ' S071' info structure via OM01
    4. Condition record maintenance as per the required scales.
    4. Written a new routine to check the accumulated condition base value from S071 along with the current document condition base value.
    5. Put this routine in ' Scale Formula' in V/06.
    This is giving me the perfect results for the correct application of the discount.
    Just last question - How to re-organize the S071 info structure as I tried to re-organize it with Standard Program ' RV15F001' but it is not re-organizing this info structure... Any idea on this?
    Thanks a lot friends for all your advice...
    Regards,
    Hrishi
    Edited by: Hrishikesh Bhalwankar on Oct 11, 2011 2:11 AM

  • Retrieve Sale Order Text

    Hi,
      How can i retrieve the sale order text?? Any FM / BAPI available?? OR which table should  i use??  I want to display the fields in the delivery sap script.
    Regards,
    Kit

    Hello Kit,
    There is a function Module called READ_TEXT to get the sales order text.
    you can see the example program in the folowing thread given by Anji Reddy Vangala.
    https://forums.sdn.sap.com/click.jspa?searchID=6591847&messageID=3274740
    He wrote like:
    You have to fetch it useing the fun module READ_TEXT
    double click on that text in SO, it goes to text editor,
    from the menu GOTO -> header
    displays the OBJECT, ID< OBJECT NAME and the Language
    pass them to the fun module and fetch it
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = TEXT_ID
    LANGUAGE = SY-LANGU
    NAME = Same as TDNAME in Save_text
    OBJECT = TEXT_OBJECT
    TABLES
    LINES = LI_LINE
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    NOT_FOUND = 4
    OBJECT = 5
    REFERENCE_CHECK = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS = 8.
    Genrally text are stored in STXH tables.
    Regards
    Sasidhar Reddy Matli.
    Message was edited by:
            Sasidhar Reddy Matli

  • Erroneous Shipping Header Text in the Sales Order

    Hi ,
    We are facing one problem.Can you please help us..
    We seemed to have a recurring issue in SAP Production wherein an erroneous shipping text and supply location header text
    suddenly appears on the sales order header text.   As of this stage, our interim solution is to manually clear the erroneous text via invoking
    the SAVE_TEXT command directly in Production to clear out the text.   The problem with this approach is that we are "reactive"
    to the event meaning we only get to know of the issue after the National Order Centre reports the issue and by the time it reach
    IT it already affected quite a few sales and stock transport orders.  
    I
    a) an investigation to be conducted as to identify the root cause of this issue 
    b) permanent solution to be put in place to rectify the issue
    here's the text ID that got affected
    Text ID = Z022  (Shipping Text)
    Text ID = Z029  (Supply Location)
    Language = EN
    Text Name = XXXXXXXXXX
    Text Object = VBBK
    a list of programs that calls SAVE_TEXT and updates
    the above-mentioned text ID.  We have gone through the SD user-exit MV45AFZZ.
    The sample you see below is an STO.  As you know the STO is created inside the sales user-exit and uses the
    shipping instruction default from the originating sales order to pass on the text to the STO shipping text.
    We are unable to re-create this issue so this sorts of adds a layer of complexity.
    I found SAPLSTXD memory id..It is importing from this id..But there is no export in the program..
    Can you please help us where the text is exporting ..We need to find out the root cause of this issue and solution..
    Thanks in advance.
    Satish kumar.

    I found SAPLSTXD memory id..It is importing from this id..But there is no export in the program..
    Chances are it is set and exported at some point, then abandoned after processing for that document...it needs to be cleared probably, since your user is remaining in the same user context and therefore when another import is executed, the text stored there is brought in, even though not for that order/document....believe you'll find this is a programming error, need to export space or clear the ID after it is used...
    Check the other MV45AFZ* objects also...MV45AFZZ is not the only SD user exit...look at the inlcudes (named like mv45afz* )  in SE80 for program SAPMV45A.  I can't see SD (don't run at my employer), but you might also check copy requirements in transaction VOFM entries?  Some of the SD wizards can advise on that part.
    Try ABAP Scan program RSRSCAN1, probably as background job, if you don't find in MV45AFZ* members.  Sorry, that's the old program (but it might find for you).  Current version is program RPR_ABAP_SOURCE_SCAN.
    Edited by: BreakPoint on Sep 22, 2010 4:16 PM

  • Copying text from CMIR (KNMT) to the Sales Order Line Item

    We need to copy text from the CMIR (KNMT) to the Sales Order Line Item with two steps in the access sequence. First to look up by the Ship to Partner Function.  If doesn't exist, then look up by Sold to Partner Function.  Have setup a new text id (ZPRN), a new access seq (9011).  The access seq has one seq =5 for KNMT, ZPRN, all languages and that saves fine.  When I set the Partner Function to be SH.  I get the following error msg:
    "The Language does not come from the partner function AG for MVKE".
    Any ideas?  This access seq does not reference MVKE. It only references KNMT.
    Thanks!

    Hi Lisa,
    Just stumbled on this post, as I am searching for something similar.
    What you are attempting to do isn't possible in config.
    This is because as standard Customer Material Info Records are not even considered for ship-to party in the sales order.
    They work for sold-to only.
    Therefore, this funny error message is SAP's way of saying, "Why are you trying to enter a partner here, because the data is determined for sold to only?"
    You can change this with development for other fields (ie, to determine delivery plant, tolerances etc at ship-to) by using
    the exit MV45AFZB with the USEREXIT_CUST_MATERIAL_READ form.
    However, even if you do this, Text Determination is still sold-to only and still doesn't behave.
    I am currently looking myself for a solution for this problem and I will let you know what I find.
    Cheers
    Chris

  • Sales order number in not coming as a text in Accounting Document

    Hi Friends,
    Sales order number in not coming as a text in Accounting Document in INSTALLMENT BILLING PROCESS
    is there any config missing for this doc number
    Pl advise me
    Raju

    HI Prem,
    Please understand my query.
    In VF01 in accounting document we can see the text document field.
    Here i need the Sales order number as a Text field.
    But it is not coming over here
    Pl advise me
    Raju

  • Sales Order Text not getting copied after configed with tcode VOTNX

    Hi All ,
    We have configed  one of  sales order texts to be copied from customer master text at sales org level  .
    It works fine for some sales org , But for some it does not and says "Text could not be structured " in log .
    I tried to debug while creating sales order , But unable to reach the point where the texts are copied .
    Any help would be appriciated .
    Thanks
    Vinay

    Wanted to add more thing ,
    The log Says that the error is recogized by the sapscript FM INIT_TEXT.
    Thanks
    Vinay kolla

  • TEXTS in Sales Order - Text types used or not ?

    Hi experts,
    We have 8 text types in sales orders line items. Some of them are used to enter text and some are not. Is there a table from where we can find out if for all orders any particular text type is used or not ?
    In STXH and STXL, how can we find out if a particular order # has an entry of texts in it or not.
    How can we get a text i.d. from the sales order. OR find a link between sales Order and tables STXH/STXL........ how can we search these tables ?
    I really need some help on this mysterious Text storage strategy of SAP.
    Thanks a LOT
    Ron

    Yes I am aware of the fact that text is accessed thru read_text FM .....
    My question is what parameters/ field values can we plug in STXH/STXL to get info that a particular "text" entry exists in this table. I have a sales order which has few texts, I want to know if they have an entry in STXH and STXL about their text i.d.s....
    Let me put it this way - What ever entry exists in STXH for this sales Order I want to see that. What parameters of this sales order do I pass in this Table STXH to see that entry ??
    I hope this is clear now

  • Header text to be copied from the sales order to delivery

    Hi Gurus,
    I have a requirement in which  header text "Customer order text " needs to be copied from the sales order to the delivery.After copying the text we need to print on the packing slip.
    Can anyone advise me as how to copy the text from the sales order header to delivery  and then print on the packing slip.
    Thanks ,
    Smitha.

    Maintain the Text ID @ Sales Documnet Header level and add it to your Text Procedure. Also ensure you assign the access sequence to your Text ID in your procedure.
    Access Seuquence should have VBBK and the text ID number and check All Languages and use Requirement 1.
    Then in the Delivery Header Text Procudure add this text ID and assign the same access sequence as above.
    This will copy the Text ID from Sales Order to Delivery Order Header.
    You can configure the output for packing slipduring the delivery process  and in the output program read this Text ID and print it.
    Note" Copy Controls do not copy text from preceeding documents to succeeding documents. Only the Access Sequences used in the Text Procedure will do that with the help of the reuqirement assigned in the same.
    Thanks and Hope this helps.
    Sai

Maybe you are looking for

  • Finder crashes in 10.7.5 with sandisk ultra 16GB flash drive

    I have tried using 3 different 16GB SanDisk Ultra flash drives, and all 3 lead to a finder crash. When the drive is first put into a USB slot it will appear to mount and the contents are visible. I then eject the drive and put it back in. At that poi

  • Unable to add music from hard drive to iTunes

    I have recently upgraded to iTunes 7.01 add for some reason my music was missing from the itunes library. I cannot add any of the files from the hard drive to the itunes library. They are all files that I have copied over from CD and there was no iss

  • Hi.. urgent help neede reg the AVL display

    Im making use of ALV to dislay my report output. when my program is run in background , the ALV is getting displayed..but... there is another small table with information about<b> " the number of records passed "[ </b> .. i want to supress it... how

  • Formatting spry output

    Hi! So far with the great help of altruistic gramps, I managed to create a nice master/detail spry page connecting to a mysql database using linecraft's spry_utility. However, I still have a problem decoding the data coming from the database server.

  • Query Designer Formula Logic

    Hi I have the following data and the status of the formula should be 1 or 0. Cancel Date : 05/31/2011 Formula  : cancel date >=today's date                              Cancelled(Yes =1/No= 0) : 1 Cancel Date : # (no date assigned) Formula  : cancel