Sales order texts - only printed correctly on repeat print out

Hi all,
We have an issue, where on the first printout through VF31 of a sundry billing document, the material sales text maintained in French is not printed, even though the language in the customer's master data is French, the material sales text in the sales document is maintained in French and in VOTXN the access sequences are maintained for all languages.
I first checked this post Sales order text determination which unfortunately didn't resolve the issue (although a very interesting discussion).
The strange part is, when we do a repeat print out through VF31 selecting procession mode 2 (Repeat Processing) the document is printed WITH the material sales texts correctly. For me even stranger is that the repeat printout uses the same output type as the initial printout. I am now officially lost. Would any of you have any idea, where the issue lies here?
I would try to change some setup in VOTXN, but knowing that the repeat print out does print the texts correctly, let's me think there might be a different issue.
Any idea are very welcome.
Thank you in advance!
Alexis
Edit: when we copy the text and make it "Dutch", for some reason it's printed out correctly on the first printout. Although I cannot find any restriction, where Dutch is specified specifically, nor do I see where French is excepted specifically.

Guys --
Thanks for the help! 
Suda -- will try out your suggestion.  Gordon - in answer to your question, we actually go from Sales Order to A/R Invoice (Draft) to A/R Invoice. 
We use the A/R Invoice (Draft) as our packing slip and skip Delivery module altogether.
I realize this is a bit unconventional but seems to work best for our business practice.
Thanks!
Mike

Similar Messages

  • Sales order Text Line (Type)  Add

    Hi,
    I look into
    ..\Program Files\SAP\SAP Business One SDK\Samples\COM DI\CSharp\19.SpecialLines
    But it Update SpecialLines into existing order.
    I am building Order Line and SpecialLines, Order Line and SpecialLines, etc.
    So I used Add instead of update, without success.
    I write my Order Line = OK, then not OK
    oDocument_SalesOrder.SpecialLines.LineType = SAPbobsCOM.BoDocSpecialLineType.dslt_Text;
    oDocument_SalesOrder.SpecialLines.LineText = "My Text Here" ;
    oDocument_SalesOrder.SpecialLines.Add();
    In SDK Help Center
    oDocument_SalesOrder.SpecialLines.Add();
    oDocument_SalesOrder.SpecialLines.LineType = SAPbobsCOM.BoDocSpecialLineType.dslt_Text;
    oDocument_SalesOrder.SpecialLines.LineText = "No Text here...Hello?? ";
    I manage to add SpecialLines after I had created my Sales Order:
    oDocument_SalesOrder.SpecialLines.LineType = SAPbobsCOM.BoDocSpecialLineType.dslt_Text;
    oDocument_SalesOrder.SpecialLines.LineText = "Hello 2";
    oDocument_SalesOrder.SpecialLines.AfterLineNumber = 0;
    resultMessage = oDocument_SalesOrderP3.Update();
    if ( resultMessage != 0 ) // Check the result
    oCompany.GetLastError(out resultMessage, out ErrMsg);
    But I did not manage to add more then 1 SpecialLines:
    I tried to Add, Update, change AfterLineNumber, etc without success.
    I need Help Here...
    (David, where are you? don't tell me yo open the bottle you bought...:)
    Thank you,
    Rune
    Edited by: Rune Brattas on May 8, 2008 5:01 PM

    Hi
    The code below create 1 Special Line.
    I like to create 1,2,...,n Special Lines.
    You are right I do not manage to create Special Lines when I create the Sales Order. I have to create special line after the Sales Order is created.
    I have repeated the same code twice without success of creating the second Special Line...
    I cannot be the first person to create Special Line in SDK?
    Thank you,
    Rune
    CODE - Add a Special Line to existing Sales Order
    oDocument_SalesOrder.SpecialLines.LineType = SAPbobsCOM.BoDocSpecialLineType.dslt_Text;
    oDocument_SalesOrder.SpecialLines.LineText = "Specual Line YES :)) ";
    oDocument_SalesOrder.SpecialLines.AfterLineNumber = 0; // Sales Order Line 0
    resultMessage = oDocument_SalesOrder.Update();
    if ( resultMessage != 0 )          // Check the result
    oCompany.GetLastError(out resultMessage, out ErrMsg);
    If I repeat the code:
    oDocument_SalesOrder.SpecialLines.LineType = SAPbobsCOM.BoDocSpecialLineType.dslt_Text;
    oDocument_SalesOrder.SpecialLines.LineText = "Specual Line YES, but I lose my first Special Line:)) ";
    oDocument_SalesOrder.SpecialLines.AfterLineNumber = 1; // Sales Order Line 1; I lose my Special Line 0; I only get 1 Special Line
    resultMessage = oDocument_SalesOrder.Update();
    if ( resultMessage != 0 )          // Check the result
    oCompany.GetLastError(out resultMessage, out ErrMsg);
    Edited by: Rune Brattas on May 12, 2008 7:03 AM

  • Mass Update for Purchase Order & Sales Order Text

    Hi,
    Can be change the Purchase Order & Sales Order Text using MASS.
    Regards,

    Hi,
    I am also surprised by the behaviour of the BDC.
    This is first time when I am facing the problem since I have been using SAP.
    I am able to update the PO Text manually , but BDC is giving the problem for only few Materials.
    It does sound stupid, but this is the fact here with me.
    Regards,
    Edited by: PK on Nov 5, 2009 12:58 PM

  • Restrict Sales order text based on Sales group

    Hi,
       My requirement is currently 12 different text ID's showing in my sales order text.But I want to restrict certain sales order text ID's based on sales group entered in the sales order header. Is there is any user exit or routines available to restrict sales order text ID's.
    Regards,
    Palani

    Hi,
    This is actually a configuration item.  Transaction VOTXN (VOTX in 4.6C) can be used to configure the text types, text procedures, and access sequences for sales order texts as well as other types of texts.  Part of the configuration procedure allows for some ABAP control over the copying requirements. 
    This is from the online help for data element COPNR (on the VOTXN screen SAPMV80T 800, field TTXZI-COPNR) :
    You can create your own routines for text determination. For example, if you want to send different messages to particular groups of customers, you can create routines that automatically assign different messages to different groups (e.g. wholesalers, retailers).
    Note
    The fields available for determining texts are defined in structure TVCOM, which can be found in the routine under FTVCOM. Generally, however, the fields filled in the structure are only those which are used or recognised for text determination by the caller. Other fields can, for example, be filled during sales document processing via user exits USEREXIT_MOVE_FIELD_TO_TVCOM_H and USEREXIT_MOVE_FIELD_TO_TVCOM_I. The user exits are described in the IMG under Sales and Distribution -> System Modification -> User exits.
    I'm not sure if filtering by sales group is possible, but I don't see why not.
    Regards,
    Jamie

  • List of sales order with only open qty

    Hello sap gurus,I am working in a support project for a leading cement manufacturer,I am facing a issue related to list of sales order only with remaining open quantities.In va05 transaction it gives the list of open sales orders,but if none of the line items is delivered,but according to the clients reqiurement they want the list of open sales order ,means say if a sales order has 5 line items and 3 are delivered but 2 are remaining, the list should give the list in such a way that the sales order with only 2 open items should also appear.
    please guide me if there is any t-code for the same other than va05,else any developement work needs to be done.
    Regards,
    Anshuman

    Dear Anshuman,
    T. Code: VL10C
    This is the Best-suited Report, for your requirement.
    Best Regards,
    Amit

  • How 2 read all the line of a sales order text ID plz

    Dear all
    I have the following to read sales order text of single line of limited char(40)
      TIDNO = '0003'.
        CONCATENATE SSORD
                    LIPS-POSNR
        INTO        TNAME.
        TOBJT = 'VBBP'.
        PERFORM FINDTEXT.
        LOOP AT MSLINES.
          WA_ITEM-PACKTYP = mslines-tdline(40).
          EXIT.
        ENDLOOP.
      How do i read mutiple lines plz tell me ?
    Thnx
    Moni
    Message was edited by: md monirujjaman

    Hi Md,
    sorry I don't understand your question, can you explain more ?
    Regards
    Frédéric

  • 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

  • Sales order error - Only 0 EA of material 24 is available

    Hi friends,
    I got this message during sales order creation 'Only 0 EA of material 24 is available'.
    I checked for solutions for similar problem in this forum by search button. Could get hold of two unanswered question. I tried possibilities listed there but problem still persists.
    Any solutions to resolve this
    Thanks

    Dear Robert
    The reasons could be
    - non availability of stock of the material for which you are trying to create sale order
    - Already delivery is created and saved without doing PGI for the same material
    If the reason is first cited above, then you can create stock via MB1C with movement type 561.  If the reason is second cited above, then run VL21 where you can see if any delivery is created and saved without doing PGI.
    thanks
    G. Lakshmipathi

  • 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

  • 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

  • Can we add Delivery texts/Sales order text in VL10 report

    Hi,
    Is it possible to have delivery texts/sales order texts on VL10 report.
    Please let me know if there is a way to do it.I've looked at the note198137.
    Thanks in advance.
    Regards,
    Rekha

    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

  • Sales order Text need to copy in to PR or PO

    Hi All
    I am trying to copy Sales orde header text and item text in to Purshase Requisition or Purchase order. I have configured settings in VOTXN. But still i am unable to copy sale order text in to PR or PO. plz help on these.  (this is Third party scenario i am copying text.)

    Hi,
    You can use the functuion READ_TEXT to read the SO Text.
    Then refer to function SAVE_TEXT, you need to fill the structure THEAD with all PO Values and the fill lines directly.
    The text will be updated.

  • SD Order confirmation. PRinting sales order texts.

    Hi,
    I am Developing a smartform for sd order confirmation.
    I have a requirement to print the sales order header texts(header text and ship/fwd inst).I have included them as an include text but i also need to print the phrase 'header info' before header text like,
    header text:
    xxxxxx
    xxxxxx
    is there any way i could do it, if anyone knows please help me....
    Thanks,
    xavier.

    one way is:
    Create a global v_flg variable of character with length 1.
    Create a program  node, and call <b>READ_TEXT</b> function module by passing the text name, text id etc. This will return the text in the table it_lines.
    check for entries in it_lines.
    if it_lines[] is initial.
      v_flag = 'X'.
    endif.
    For the text node printing the label, on the condition tab check for v_flag <> 'X'.
    The label will print only if there is any text.

  • Sales Order text for Variant Configuration

    Hello
    I have researched my issue and also have asked other peers for guidance.  I feel that I am really close to getting my issue to work but I am not sure what I am missing, so I am hoping that someone can give me some advice as to what to check please.  See below for the description. 
    My issue is in reference to SD Variant Configuration and is outlined below.
    Overview
    Main Unit is a radio test set
    Test set can have an upgraded software
    Example
    Model 6015 u2013 standard test set
    Model 6015T u2013 Upgraded software test set
    Model 6015V u2013 Upgraded Software + test Set
    Requirement
    Use same Material Number using Variant Configuration for the upgrades
    Price is to default to the Upgraded price
    NOTE:
    Our materials are already established and are set up as material type Finished Goods; ERLA item category; sales order item category is a copy of TAC.   I am using a Configurable Material type KMAT, item category 0002 and linking to the FG material item category ERLA in the material master.
    I have created the Material Variant (KMAT) in MM01
    Created the characteristic in CT04
    Created Classification in MM02 for material FG
    Created Super BOM for Configurable Material in CS01 and added the upgrades as Alt Bom 2 for upgrade  and 3 for Upgrade+.  Also added the Alt BOM text
    Created Profile of configurable material in CU41
    For the Material I added the configurable material to MRP 3 screen in MM02
    Created the BOM link in CS40
    I simulate the material in CU50.  I enter my material; select the icon for configuration, I can see the characteristic Value Assignment nad see my characteristics Description.  I go to the value and use the drop down I then see the pop up of all the different values. 
    I have created Characteristic Reference VCSD_UPDATE_ARKTX with table VCSD_UPDATE and field ARKTX - no values
    I have created a characteristic Test_Choice with the 2 values one is Test Upgrade 1 and the other is Test Upgrade 2.  Both of these have the description as well.
    For Material Text:
    I have set up a reference characteristic using 30 character format (named VCSD_UPDATE_ARKTX),
    with table name VCSD_UPDATE and field name ARKTX.
    Then in the Configuration Profile(CU42) for configurable material,  added a procedure(named PR_PRODUCT_DESCRIPTION) to the dependencies which contains code that sets the description
    $self.VCSD_UPDATE_ARKTX = ''Test Upgrade 1u201D
      If $self.TEST_CHOICE = Test_Upgrade_1,
    $self.VCSD_UPDATE_ARKTX = ''Test Upgrade 2u201D
      If $self.TEST_CHOICE = Test_Upgrade_2,
    When Entering the sales order for Material Number XXXXXX, I receive a pop up that I can select which Alternate BOM (from CS02) I would like.  I select my line item and then select the configuration icon at the bottom of the sales order.  I see again my characterestics values (the same as CU50) but am unable to select the radio button.  Not sure if this part is standard.  Still no change in the sales order line item.  I have validated that I am using a copy of the standard TAC item category.  How does the text change to the correct value?  Am I missing a seeting somewhere.  Please provide any guidance with this as I have been trying to get this to work for over a month.
    Thank you for your time.  It is greatly appreciated.

    I have figured out that this will work if I go to the standard material (it is not KMAT but it is a FERT material type) and set the flag in the Material Master Basic Data 2 tab that this is a configurable material and not use KMAT material type for a super BOM.   The text changes for this scenario so it give me hope.
    This is not ideal, as I want to use the Super BOM because there are different variations (non stock items) that I need to pull through on the picking list in order to tell the end user which option needs to be loaded in the standard material.  At least I know the text can change on the sales order; but I am still struggling with the use of the super BOM and changing the sales text when there is use of a super bom as you tie that to the MRP 3 screen of the FERT material type.  I can set everything up, but the text will not change if I set up the material master this way.  Guidance is appreciated.
    Example
    Material 72433 (FERT)
    on sales order I enter 72433, my alternate BOM comes up with different Options.  Alternate BOM 1 is standard configuration;  My Alternate BOM 2 has Option 3 and 4 while alternate BOM 3 has option 5 and 6.  Alternate BOM 2 is a 6015T and Alternate BOM 3 is a 6015V.
    I want my sales order to pull through the text of 6015T or 6015V, whichever is chosen.  I want my picklist to print out the option that was selected.

  • Sales Order Text Lines in SAP Query

    I have a requirement to output several text lines into a SAP query based around sales orders.
    I have included some code to read the details into my query and get no syntax errors, however the report gives a blank output for each of the text fields included, despite there definitely being some text with the specified attribute ID and text object in the table STXL.
    Where am I going wrong?
    Please find the coding below for one of the text field I'm trying to extract:
    TABLES:STXL.
    DATA:
        VBELN LIKE VBAP-VBELN,
        POSNR LIKE VBAP-POSNR,
        TDNAME LIKE STXL-TDNAME,
        MYLINE LIKE TLINE-TDLINE,
        ZE18_LINE(1200) TYPE C.
    DATA:BEGIN OF LINES OCCURS 0.
            INCLUDE STRUCTURE TLINE.
    DATA:END OF LINES.
    DATA:BEGIN OF MYHEADER.
            INCLUDE STRUCTURE THEAD.
    DATA:END OF MYHEADER.
    CLEAR TDNAME.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      INPUT = VBAP-VBELN
    IMPORTING
      OUTPUT = VBELN.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      INPUT = VBAP-POSNR
    IMPORTING
      OUTPUT = POSNR.
      CONCATENATE VBELN POSNR INTO TDNAME.
    CALL FUNCTION 'READ_TEXT'
        EXPORTING
            ID = 'ZAT2'
            LANGUAGE = SY-LANGU
            NAME = TDNAME
            OBJECT = 'VBBP'
         IMPORTING
            HEADER = MYHEADER
         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.
    IF SY-SUBRC = 0.
      LOOP AT LINES.
        MOVE LINES-TDLINE TO TEXT.
        ENDLOOP.
    ENDIF.

    Hi -
    Please check in debuging.
    check the value of TDNAME correctly populated with sales order no and sales order item.
    You can cross check with the table STXH with TDNAME and see if any entries is available for TDID 'ZAT2' as your case.
    Here are sample code.
    DATA :    lv_tdname TYPE tdobname,
                     lw_line TYPE tline,
                    li_line TYPE STANDARD TABLE OF tline.
    CLEAR : lv_tdname , li_line[],
    cocatenate w_vbak-vbeln w_vbap-posnr into lv_tdname.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        id                      = 'ZAT2'
        language                = 'E'
        name                    = lv_tdname
        object                  = 'VBBP'
      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.
    IF sy-subrc = 0.
      CLEAR lw_line.
      loop at li_line INTO lw_line .
    * Put your logic
      endloop.
    ENDIF.

Maybe you are looking for

  • At a loss for a solution

    I've been at this since Wednesday. Five days now, for about 4-8 hours a day. The low-down- -on Wed. I updated to iTunes 5 from 4.9. When 5 started up I connected my iPod and was told that I needed to update my iPod software, so I did from v2.2 to v2.

  • User Defined Field as a Link

    Hi All. I have an issue I need clearing up with. We have created a user defined field in the Item Master data.. This field is a link to an image. the location/path is different from the default image folder specified under the genreal settings window

  • Password for ms exchange emails and wd my cloud not accepted

    Please help When setting up my new mac air, my passwords for ms exchange (office 365) for mail and wdmycloud for time machine are not being accepted. Any ideas?  Thank you

  • How to re-install a provisioned package?

    Hi, I have installed an app using the command   Add-AppXProvisionedPackage -Online -PackagePath C:\Temp\ABC\XYZ\***.appxbundle -SkipLicense Due to some reason I uninstalled the app by using the method  - On the Start screen, swipe down on or right-cl

  • Xcode for Mac OS X 10.6.8

    Hi! I need to download the xcode for my system version (Mac OS X 10.6.8) and I can´t... CXcould anybody help me please? Thanks!