Printing sales order VA02

Hello Guru's,
     I need to send the sales order in PDF format through email when i click va02-> sales document -> Issue to output.
    How can i know where this form is getting triggered from for this particular sales order.
    Please give as much as information as possible.
Thanks
  Mind

Hi
Use NACE transaction to findout which program/layout is assigned to the output.
Also, you might need to code for getting the output to spool and then get the data from spool and generate a PDF file from it and then send it as attachment in a mail.
Function Modules:
<b>CONVERT_ABAPSPOOLJOB_2_PDF</b> convert abap spool output to PDF
<b>CONVERT_OTFSPOOLJOB_2_PDF </b>
<b> SO_NEW_DOCUMENT_ATT_SEND_API1 </b>
Regards,
Raj

Similar Messages

  • Mass Print Sales Orders

    Hello,
    I need to mass print sales orders.
    Upon trying to use program SD70AV1A using the following settings:
    Output Type                       Z***
    Transmission Medium         1
    Sort order                           01
    Processing mode                1           (I have tried 2 and 3 also)
    Sales Document                 *****
    Sales Organization              ***
    I receive a status saying that there are no messages to be printed.
    I have read that this method will not work if the output type is not already defined in the sales order.
    How can I mass populate the output type in the sales order so I can use this program?
    I have also read that the program RSNAST00 may be used in this instance using output application 'V1' (for sales).
    In trying to use this program I also receive a status saying that there are 0 outputs processed.
    I have tried variations on the object key (Sales order number, Sales order number with leading zeros, sales order number concatenated with item number, sales order number concatenated with item number with leading zeroes) all to no avail.
    What am I doing wrong? How can I mass print sales orders?
    Thanks.
    N.B. Processing them one by one in VA02 works as it should.

    The trouble with using LSMW is that I need the process to be as simple as possible for end users who won't have access to LSMW.
    If it is a standard SAP report that can be used to mass print sales orders, we can always create a custom tcode for it, which would satisfy the requirement for an end user to be able to use it.
    I'd also like to point out that I realise there have been a fair few discussions started and closed on the same topic in this forum but I have not been able to find a solution in any of them that works.
    Message was edited by: Benjamin Allsopp

  • All the Pages are Printed - Document Printing Sales Orders

    When using the Document Printing option for Sales Orders, if I select multiple documents and select print I get a message after each document that says "All the Pages are Printed", then the next document comes for printing. I also get a prompt each time whether or not to print Sales Order only or Sales Order and Pick List.
    I don't have the same issue if printing Invoices from Document Printing. It asks what to print and prints all records without additional prompts between each record. I don't see anything in Print Preferences that would cause the Order to act differently from the Invoice.
    We are using B1 9.0 PL 06.
    Alan

    Hello there, linafrompereira.
    The following portion of the online Pages Help for Mac provides information on grouping items in Pages:
    Layer, group, and lock objects - Pages Help for Mac
    http://help.apple.com/pages/mac/5.2/#/tan5eab46568
    Group and ungroup objects
    Shift-click to select multiple objects.
    In the Arrange pane of the Format inspector, click Group (or choose Arrange > Group from the Arrange menu at the top of your computer screen).
    To ungroup an object, select it, then click Ungroup or choose Arrange > Ungroup.
    Tip: You can Control-click objects, then choose Group or Ungroup from the shortcut menu. You can also add these buttons to the toolbar: Group and Ungroup.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How to print sales order acknowledgement while printing purchase order

    how to print sales order acknowledgement while printing corresponding purchase order
    in me22n

    in print program of Purchase order.. try to trigger output for Order Ack. as well...
    Order acknowledgement

  • Splitting line item in Sales Order-VA02

    Hello All,
            I got struck with the below requirement, Can someone share their ideas, if any one come across such case.
    Requirement : If ordered material obsolete then system has to propose follow up material ( which will be maintained in MMR-MRP4 view - Followup material field) based on stock availability.
    We have done the same by using USEREXIT in Sales order creation & working fine without any issues.
    But, If stock partially exists for entered material, then new line item has to add/insert with the follow up material.
    Eg;
    M1- stock -30 ea
    M2- No stock ( Follow up material)
    *In Sales Order Creation- VA01,*
    Line Item -- Material - Ordered Qty
    M1 - 50 Qty (ordered qty)
    Result;
    Line Item -- Material - Ordered Qty - Item Cat
    10----M1-----30 ea  -  TAN
    11----M2--
    20 ea  - TAB ( MTO)
    Working fine-
    We are able to do it during Sale Order creation (VA01).
    *Change mode of Sales order - VA02;*
    Line Item -- Material - Ordered Qty - Item Cat
    10----M1-----30 ea  -  TAN
    11----M2--
    20 ea  - TAB ( MTO)
    if  user increases the M1 qtty to 10 Ea, then system should behave as shown in below eg,
    Line Item -- Material - Ordered Qty - Item Cat
    10----M1-----30 ea  -  TAN
    11----M2--
    20 ea  - TAB ( MTO)
    12----M2--10 ea -- TAB(MTO)
    But We are facing problem during Change mode .
    in VA01-  (Sale order Creation), the logic was written in exit : USEREXIT_MOVE_FIELD_TO_VBAK - which is working fine
    During Change(VA02), above exit will not be useful. Hence tried to use exit : USEREXIT_MOVE_FIELD_TO_VBEP.
    But not able to add new item at this level.
    All useful ideal will be appreciated.

    Thanks for attempting this thread.
    Material determination will not suffice our requirement, because it will not substitute the follow up material, when entered material have partial stock. In VB12 - MRP indicator will active only when stock is not available for entered material & results according to the substitution reason
    In our case,
    if entered material doesnt have stock, then follow up material should replace with complete ordered qty,
    if entered material have partial stock exists, then system confirms for available qtty & create new line item with balance qtty, item cat-TAB----
    that is the reason we didnt go for material determination. ( you cant have 2 substitution reasons for one record in VB12)
    VBAK has to be used to check the overall document qtty. the above explained scenario working fine with our development in create mode.
    But in change mode, if user tries to increase the qtty in entered material, then this one more new line item has to create for folloup material with excess qty - is our requirement .
    Hope its clear now, still if any queries let me know

  • Print Sale Order Number In PLD of A/R Invoice in SAP B1

    Dear support team,
    How to print Sale Order Number In PLD of A/R Invoice in SAP B1
    Thanking you
    Pradnya

    Hi Pradnya......
    You can do one thing.
    Create a UDF at SO header level and via FMS pull Document No. to that UDF.
    for this FMS please try this...
    Select $[ORDR.DocNum.0]
    Save above FMS to UDF at SO level.
    When you copy SO to Delivery and then to Invoice the SO no. gets copied to Invoice...
    from this fiedl you can pick in PLD....
    Hope this will help you......
    Regards,
    Rahul

  • Printing Sales order

    When i print sales order, in column next to description of material, it is written sa LOOSE, as that material is sent as loose one. But now our process has changed and uesr want to sent it in pack of 2 clled as BOX. So instead of LOOSE word I want there BOX. but m really not getting from where that LOOSE description is coming. Is it like that abaper has drawn it in Sales order?
    So can u please guide to change that LOOSE to BOX?
    Regards

    Hi,
    Please follow the below steps for the solution to your problem.
    Open the Sales Order which you are printing and Navigate to Extras > Output > Header > edit.
    On this Screen Check the Output Type which has got determined in your Sales Order.
    Navigate to V/30 and Select the Output Type which was found above.
    Select the Output Type and Click on Processing Routines on the Left.
    Now select the SmartForm Name on the right and ask your Abapper to Change this SmartForm and remove the HardCoding from LOOSE to make it BOX.
    Hope this info helps you.
    Madhukar.

  • FM to get Text in Sales Orders - VA02

    Dear all,
    I'am looking for a Function modul, which get all text in HEADER and ITEM for a document number in Sales Orders=> VA02.
    Is there any one who can help?
    Best regards
    Edited by: Rob Burbank on Feb 17, 2010 11:35 AM

    Dear  handeglo ,
    use the function module READ_TEXT this is helpful in getting the long texts from the database and will work for the VA02
    header and item texts retrival .Eg.
    CALL FUNCTION 'READ_TEXT'
              EXPORTING
    *           CLIENT                        = SY-MANDT                   Field:
                id                                 =          "put here the id of thr text type"     TDID
                language                     = 'D'    "language in which the text exists.    TDSPARS
                name                           =      "put here the name of the text AS in     TDONAME
                           for item texts its sales order number+item number
                object                          = 'VBBP'    "object type for item texts       TDOBJ
    *           ARCHIVE_HANDLE                = 0
    *           LOCAL_CAT                     = ' '
    *         IMPORTING
    *           HEADER                        =
              TABLES
                lines                         = i_lines
             EXCEPTIONS
               id                            = 1
               language                      = 2
               name                          = 3
               not_found                     = 4
               object                        = 5
               reference_check               = 6
               wrong_access_to_archive       = 7
               OTHERS                        = 8
    also refer the tables stxh and stxl these tables contain all the header and item texts data respectively
    Edited by: abhi_014u on Feb 17, 2010 3:44 PM
    Edited by: abhi_014u on Feb 17, 2010 3:46 PM
    Edited by: Rob Burbank on Feb 17, 2010 11:35 AM

  • Report on deleted sales orders ( va02)

    hi,
    i got one requirement to write a program to display the list of deleted sales orders (through VA02 Tcode).
    to my knowledge when a sales order is deleted through VA02 the order will be deleted from the database itself and will be deleted from all the SAP tables.
    if that is correct, is there any possibility that we can create a Ztable and update the data before deletion or any other solution for the above requirement?
    thanks in advance,
    Rajani yeluri

    hi rajani,
    u will get deleted data from using tables CDHDR,CDPOS,CDRED and function module '  CHANGEDOCUMENT_READ'.
    i am sending u some sample code, i hope it will helps u
    DATA: it_editpos    LIKE cdred OCCURS 0 WITH HEADER LINE,
                                     "Change documents, display structure
          it_editpos1   LIKE cdred OCCURS 0 WITH HEADER LINE,
                                     "Change documents, display structure
          x_editpos1    LIKE cdred,  "Change documents, display structure
            x_editpos     LIKE it_editpos,
                                     "Change documents,display structure
    *-----Calling FM to populate the structure 'EDITPOS'
      CLEAR it_editpos.
      CALL FUNCTION 'CHANGEDOCUMENT_READ'
           EXPORTING
              objectclass                = ' ' 
           TABLES
                editpos                    = it_editpos
           EXCEPTIONS
                no_position_found          = 1
                wrong_access_to_archive    = 2
                time_zone_conversion_error = 3
                OTHERS                     = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CLEAR: x_editpos,
             it_editpos1.
      LOOP AT it_editpos
        INTO  x_editpos
        WHERE tcode = 'ME21N' OR  "Here u have 2 pass 'VA02'
              tcode = 'ME22N' OR
              tcode = 'ME23N'.
        APPEND x_editpos TO it_editpos1.
        CLEAR x_editpos.
      ENDLOOP.
    now it_edipos1 has all CHANGENR numbers, so now u have to fetch data from F_NEW and F_OLD Fields
    i hope this will helps u
    Regards,
    prasad

  • How to Customize Preview and Print / Sales Order Acknowledgement

    Hi,
    Our client needs some additional attributes on a sales order acknowledgement print ( Preview and Print ) output.
    The current layout is based on ONTORDDFFN.xml and ONTORDDFN.xsd
    How to customize the same to include additional attributes like Territory and Shipping instructions etc.These new fields are not there in xsd or the xml.
    Appreciate your great help.
    Regards,
    Raju

    Per Oracle you need to implement the method "getPrintExtensionXMLFragment" of  PrintExtensionObject.java. Oracle has given the flexibility that getPrintExtensionXMLFragment can either return a XMLFragement or a sql query.. If the code in getPrintExtensionXMLFragment returns a string which starts with "select" Applications code will execute that query and the corresponding XML will be appended to the main XML. This needs to be written in a CustomClass and then set to the Profile " OM: Printed Document Extension Class Name".
    I would like to know if somebody has extensively added columns at the different levels (header, lines, Addresses, Line Discounts, Charges) and the same additional cols. were implemented in the CustomClass. Let me know.
    Regards,
    Rajesh.

  • Error message when printing Sales Order

    Hi,
    I get following error message when printing out a sales order just created.
    No matching records found 'Document' (RDOC) (ODBC-2028) (Message 131-183)
    Logged in as super-user, posting periods is unlocked. It is a new company just created. With sand-box company no errors-it prints properly to same printer.
    What could be the problem?
    Thanks,
    Ajay Audich

    Have you tried with system PLD?
    Thanks,
    Gordon

  • Is it possible to change pricing procedure in sales order VA02

    Hi,
    My client need to change the pricing procedure in their RETURN order because they implemented a new pricing procedure for the specific distribution channel.  However, since the return order was created with reference to invoice, the old pricing procedure was copied instead of the new that was implemented.  Is there a way that they can still change the pricing procedure in the return order?  Here is the scenario for better understanding.
    1. Sub-distributor sales order created (distribution channel = 60) on 5/24/2014.  The pricing procedure maintained was ZRVB01.
    2. Delivery and Billing was created on the same date with pricing procedure ZRVB01.
    3. A new pricing procedure ZRVB12 was created for distribution channel 60 on 6/2/2014.
    3. Return order was created with reference to the billing document in step 2 on 6/24/2014.  The pricing procedure of the return order was still ZRVB01, instead of ZRVB12.
    4. In VA02, the field pricing procedure is not modifiable.
    Need advice how my client can proceed in correcting the pricing procedure on their return order.
    Appreciate your response.
    Thank you.
    Emil

    Since your requirement is to calculate the different price for the returned qty, please check for the return order if you can make any manually change the price as required.
    Please note you can not change the pricing procedure in document, but you can change the price of the material as suggested above.
    I assume you already knew the pricing procedure determination, how it is determined.(Sales area+DPP+CPP).
    If you want to have different pricing procedure to be determined for the same customer in return sales , you must have the following determination so that it would be determined the 2nd pricing procedure during return order.
    Example :
    For standard sales : Sales area + DPP in OR(A- standard)+ CPP( 1 standard) =ZRVB01
    For return Sales : Sales area + Dpp in RE (B- return)+CPP(1 standard) =ZRVB12.
    thanks,
    Srinu.

  • Print sales order

    Hi Experts
    I have configured an output for sales order.
    When I go to VA03 -> Sales document -> Issue Output To
    I can see the printout in print preview, but when I click "print", no printout is generated even though I got a message "Output was successfully issued". I also can't find any spool request in SP01.
    Does any one have idea? Points will be awarded for useful answers.

    Hi,
    You might have given a remote communication method... It might have gone to separate destination where the printer is maintained... Please check the communication method which should address your printer at your place (it should be your local printer) ... for that you can goto SPAD transaction where you can set printer settings....
    Spool should be activated please check it properly..
    Reward if helpful...
    Regards
    Bageerath

  • Printing sales order confirmation if order changes

    Hi all,
    I have to implement some changes in output control to achieve a particular requirement.
    Business wants sales order confirmations to get re-printed if and only if some changes in the sales order were cought.
    For example if the quanity of  a position changes then, the sales order confirmation must be re-printed.
    I was thinking to use requirement routine for sales order confirmation but in the structure komkbv1 and kompbv1 there are not all the fields i need to understands if in the sales order, any changes have been performed.
    Another way would be the user exit save_document_prepare in which i can use xvbak and yvbak in order to gather info about the changes in the sales order, but i am not sure this is the right way to achieve what business has asked to me.
    Do you have any ideas? Please, any suggestion is welcome!
    Regards,
    Fabrizio

    Hi gurus,
    My idea is:
    -user exit save_document_prepare: check chenges in SO using xvbak, yvbak etc.. If a change occurs i will set a particular parameter using "SET PARAMETER".
    -user exit USEREXIT_KOMKBV1_FILL: i will fill the communication structure with respect of the instruction of "GET PARAMETER"
    - requirement routine for sales order (vofm): checking of the communication structure to understand if sales order confirmation has to be re-processed or not.
    What do you think about this solution?
    Thanks,
    Fabrizio

  • Sales order VA02 & delivery issue VL01N

    Hi team!!
    your assistance will be highly appreciated
    I have a sales order with 2 materials and when I want to do the delivery I can only do for item 110. (material type: ZPRD)
    even this item is related to item 100 ( material type: Kmat) , i need to deliver this too, but is not possible since i get the following logs:
    *No schedule lines due for delivery up to the selected date
    order item 0000 -00100 , with incomplete delivery group 001
    I made some changes and got:
    Delivery group 001: Item 000100 contains no confirmed schedule lines - Message no. V1298
    Could you please help me identify what is happening?
    Thanks in advance.

    go into VA02, go into detail of your item, goto the schedule tab
    make sure you have a confirmed quantity there.
    you see there as well the delivery date.
    Make sure that the selection date in VL02N not smaller than your delivery date for your confirmed schedule line

Maybe you are looking for

  • Bug CSCup27305 in ISE 1.2.1.198 patch3

    Hi guys, I´m hitting bug CSCup27305 in version ISE 1.2.1.198 patch3 but cant find a fix version. Do you know what version can be applied, so DACL can start with permit IP Host 2.2.2.2 Host 1.1.1.1 = is NOT ok! Thanks a lot for your help. Erick Flamen

  • MM and Fixed Asset

    Hi All, What is the MM and fixed asset Process? Thank You, Misbah

  • Cannot create chm output

    This is the output view showing the warning and fatal error: Warning: The size of stop file has to be limited in 512 bytes. C:\Documents and Settings\serboji\My Documents\BAMS\Help\BAMS UAS Help\BAMS UAS UPC Help\!SSL!\Microsoft_HTML_Help\!chm_tmp_fo

  • Software Licensing Agreement

    Hi - when I go to download Adobe Reader it says "By clicking the Download Now button, you acknowledge you have read and agree to the Software Licensing Agreement." but when I go to view the Software Licensing Agreement it's in PDF format - how do I v

  • Unexpected Growth of MDF file

    Hi,   How to find the reason and How to overcome unexpected growth of MDF file.User DB is 120GB,but today morning its reached 360GB suddenly.  What might be the reason and how to get back normal. Thanks Selva Thanks - SelvaKumarSubramaniam.Please MAR