Copy function for sales order

I want to create a sales return, and use copy with reference to do that. But if the sales order items cate is TAB, then those items cannot be copied, I check the config dosen't find the TAB item for order type, even in the standard, RE to OR, I question that whehter is not make sense to copy TAB items. Anyone try add TAB item to copy function? Thanks!

Use T-Code - VTAF (IMG - Sales and Distribution - Sales - Maintain Copy Control for Sales Documents - Copying Control: Billing Document to Sales Document
Here select your Invoice Type & Sales Returns Documents type & double click in Item on left hand side. You will list of available items & you can also add new Items here.
Hope this helps...
Thanks,
Jignesh Mehta

Similar Messages

  • Create and Change functionality for Sales order

    Hii All,
                Can any one please suggest me any Standard program or BAPI or IDOC for Sales order, it should cover create as well as change fuctionality of Sales order.
    this is very urgent to me.
    Suitable Answer will be Rewarded.
    Thankyou,
    Shobha.

    For change you can use:
    BAPI_SALESORDER_CHANGE         Sales order: Change Sales Order
    For create you have the following choices:
    BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
    BAPI_SALESDOCU_CREATEFROMDATA with business object 'BUS2032'
    The difference between the create ones is the functionality you get e.g. create_from_data2 is the 'most powerful' but you also have to provide the most data. It just depends on what you want it to do.
    In terms of IDOCS:
    message type:
    SALESORDER_CREATEFROMDAT201 or
    SALESORDER_CREATEFROMDAT202 or
    ORDERS05
    Hope that helps,
    Michael
    Here is an example we use, you might want to populate additional fields or leave fields out in case you want different data to be transferred to the IDOC - however some fields are mandatory.
    create the order header structure
      ls_header-doc_type   = ls_screen-order_type.
      ls_header-sales_org  = gc_vkorg_aa01.
      ls_header-distr_chan = gc_distr_aa.
      ls_header-division   = gc_divis_aa.
      ls_header-purch_no   = ls_screen-po_num.
      ls_header-po_method  = ls_screen-po_source.
      ls_header-ship_cond  = ls_screen-ship_cond.
    create partner input table (sold to)
      ls_partner-partn_role = gc_role_sold.
      ls_partner-partn_numb = ls_screen-sold_to.
      APPEND ls_partner TO lt_partner.
    create partner input table (ship to)
      ls_partner-partn_role = gc_role_ship.
      ls_partner-partn_numb = ls_screen-ship_to.
      APPEND ls_partner TO lt_partner.
    items are added by looping at a table
        ls_item-material = <fs_upload>-matnr.
        ls_item-req_qty  = <fs_upload>-quantity.
      process the quantity, it needs to be three decimals, because it
      will be moved into a string in the BAPI and divided by 1000 before
      it is moved back into a number field (1.500 => 001500 => 1.5)
        ls_item-req_qty = ls_item-req_qty * 1000.
      truncate remaining decimal places if exist (1.2525 => 1252.5 => 1252 => 1.252)
        ls_item-req_qty = trunc( ls_item-req_qty ).
        price is taken from the file
          ls_item-cond_type = gc_cond_so_upld_price.
          ls_item-cond_val1 = <fs_upload>-price.
        condition one (price) is multiplied by 10 in the BAPI
          ls_item-cond_val1 = ls_item-cond_val1 / 10.
        no discount
          ls_item-cd_type2   = gc_cond_so_upld_disc.
          ls_item-cd_value2  = 0.
        ls_item-item_categ = ls_screen-item_cat.
          APPEND ls_item TO lt_item.
    then BAPI is called
      CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA'
        EXPORTING
          order_header_in           = ls_header
          business_object           = gc_bus_obj
        IMPORTING
          SALESDOCUMENT             = lv_vbeln
          RETURN                    = ls_return
        tables
          order_items_in            = lt_item
          order_partners            = lt_partner.
      IF ls_return-type NE gc_msgty_error AND
         ls_return-type NE gc_msgty_abend.
      No errors where found
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ELSE.
      There was an error or abend
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      ENDIF.

  • Copy functionality from sales order to PR to PO for text items

    Hey Gurus,
    There is a bit of standard functionality in SAP that if there are text fields populated in a sales order that are also available in the PR and PO, that you can copy this functionality over when you create the PR from the sales order, and then create the PO from the PR.  Can you guys steer me in the right direction as to where I can find information on how to set up this config?

    go to
    SPRO-MM-Purchasing-Purchase requisiton-Text for Purchase requisiton- define copying rule
    here you can define
    select the 06 adn click on text linkage
    same in PO config
    SPRO-MM-Purchasing-Purchase order-Text for Purchase order- define copying rule for item text

  • Automated mail function for sales order acknowledgement

    Hi Friends,
    We have a requirement for automated functionality for sending mail to the sold to customers when the order is first saved.
    We already have a customer program to convert into PDF and mail directly.
    But this is to automatically send the mail to sold to customer. I think for acknowledgement we have already a existing outputtype.
    I understand that we need to maintain the mail address over the customer master of the sold to.
    Apart from this, is there that we need to maintain to have this automated functionality of sending mails.
    I had tested with existing Z otuput type by changing the transmission medium to 5 and entering my own email id where it prompts to enter mail id. But it wont send any mails.
    Just wondering if we have any determined steps that i can follow.
    thanks in advance.
    Best Regards,
    Ram

    Hi:
    Order acknowlegement output BA00 or your copy of this one is capable of using medium 5 to send SMTP mail to an external address  ( even PDFs can be attached  is your want).  When you trigger the medium 5 output, did the output get process successfully and you get a green light in your output screen?   If not, have a look to see if a communication strategy is assigned.  If yes, your configuration is OK. What is missing is mostly likely that Basis have not set up SAPCONNECT to send SMTP mail externally for you.
    Frank

  • Copy Control for Sales Order

    If you want to copy one particular pricing type (say "H") to a limited number of sales order (say 10). How would you do it without letting it take effect on all the other sales orders ?
    Let me rephrase the question.
    In the copy control settings, there is a pricing type that you can define for Sales Document to Sales Document at the Item Category Level.
    Originally it would be at "A".
    So now you want to change the pricing type for 10 sales orders previously created without affecting any other. How would you do that?
    Thanks

    Hi Noel,
    You can control through copy control settings for the future documents not for the already created document.
    And you also mentioned that the specific pricing type only for ten orders that you can do it manually,you put the pricing type what you want in the copy control settings then create 10 sales orders then change that pricing type to standard one then it will continue the stanadrd process
    I hope it will help you
    Rwegards,
    Murali.

  • Similar Functionality as VF31 or VL71 for Sales Orders

    Hi Experts,
    VF31 and VL71 is for mass processing of outputs for Delivery & Billing documents. Is there similar functionality for sales orders?
    Regards
    Lawrence

    Hi Lawrence,
    There is no tcode, but you can mass process outputs for sales orders using the program SD70AV1A

  • Partner function for sales contract

    Hi
    I have to extract Sales related data from SAP R/3 to BW.
    Facing issue if someone just changes partner function for Sales contract as they are not captured in any of the standard extractors.
    If there is change in partner function for Sales order then it gets captured in 11 vascl but if its for contract then it doesnt get capture.
    Any solution ?
    Regards,
    monika

    Hi ! Ivy
    I guess there is a option.
    Try this out. Use the menu path IMG> Sales & Distribution> Sales> Lists> Set updating of partner index
    In the resulting screen, click on 'New Entries' make entries 0 - for sales orders and 4 - for contracts as transaction group. Under the column 'partner function' ener the partner function for which you want the report and save your entries.
    Now when you go for executing your report, click on the push button 'Partner functions' ( Say in VA05) , you will have the option for selecting the new partner functions , select and execute your report.
    Provide your feedback.
    Regards,
    PATHIK

  • F4 for Sales Order No

    Hi All
    I am trying to put in a F4 functionality for Sales Order Document No in my BSP application. I developed the custom BSP extension and element as per Thomas's weblogs. I am able to get it working for Material No  but not for Sales Order No.
    I am trying to use the business object BUS2032 and/or a reference to the data type VBUK-VBELN but neither of them is working.
    Has anyone got the F4 to work for sales orders?
    Any suggestions would be appreciated.
    Thanks in Advance
    Shawn

    What exactly isn't working?  I don't have a system with that BSP exentions running directly on ERP, so I can't test the direct data reference.  I did try the BUS2032 object remotely.  At first I got a not authorized message. This is common for many BAPIs.  They need an authorization function module. This must be configured in table BAPIF4T. I created a single generic function module to do authorization checks by data type and then just assign them to the object (in this case VBELN_VA) in this config table. 
    You may also find that it is easier to create your own custom BOR object.  I created one generic BOR object where I can add my own Key Fields and Attributes to, in order to quickly link to any Search Help I want.

  • Copy 0CO_OM_WBS_5 to get variances for Sale Order / Item

    Hi ,
    I copied the existing 0CO_OM_WBS_5 extractor and modified it with a logic to bring the Result Analysis numbers for Sales Orders. But when trying to create a normal generic datasource with the FM  it is not allowing and giving me an error "E_T_DATA is not present in the the Function Module " The same is not available in standard datasource FM as well for 0CO_OM_WBS_5  .Do we need to maintain any table for mapping the datasource with FM and Extract Structure specific to the CO-OM Extractors.
    Help will be greatly appreciated.
    Regards,
    VSK

    Thanks.

  • Function Module or BAPI to update Short text  for sales order item(vl02n)

    Hi All,
    I need to update the Short text for sales order item in vl02n transaction from an internal table with Delivery number and other relevant details .
    Does any body know any Function Module or BAPI which can accomplish this purpose .
    Or else writing BDC is the only option I have got ? .
    Please clarify .
    Thanking you in advance .
    With Regards,
    Suriya .

    Hi
    You can try using BAPI_SALESORDER_CHANGE if you want to change sales order
    Regards
    MD

  • Function module which uses both BAPI's for sales order create and change

    Please name the function module which uses both BAPI's for sales order create and change.
    BAPI_SALESORDER_CREATEFORMDAT2
    BAPI_SALESORDERCHANGE

    Yup.
    you must write a piece of code for this.
    with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
    logic somethig like this.
    Amit.

  • Need function module for Sales order overall status

    Dear Team,
    Our requriement is we need to capture sales orders overall status 'compleated' in header and item datat details.
    Could you please let me know what are function modules available for to get the over all status for sales orders, (header and item)
    Thanks & Regards,
    MK.

    Hi MK,
    Use any of this FMs.
    C1CE_VBUK_READ
    SD_VBUP_READ_WITH_VBELN
    WCB_VBUK_READ
    Note that the values are in table VBUK and you can do a select statement from that table to get what you need.
    Regards,
    Peter

  • Function module unit costing for sales order

    hello all!
    is there a way to create a unit costing for sales order using a function module? i found module K_UNITCOSTING_CREATE - has anyone used that before?
    best regards,
    matthias

    hello!
    i have no master data as basis for unit costing. instead i would like to use information from sales order conditions in unit costing.
    best regards,
    matthias

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

  • How can we identify what are all user exits are there for sales orders,deli

    Dear All,
    How can we identify what are all user exits are there for sales orders,deliverys and invoices
    thanks
    nitchel v

    Hi Nitchel
    There are many ways to find out the user exits..
    For example for VA01.
    Goto Transaction ie VA01:
    goto System-- Status
    doubleclick on the program name ie SAPMV45A
    SE38 -> Enter the program name and in the program( SAPMV45A) goto -- attributes
    get the package name from here ie VA
    note the package(VA) and get back to main screen
    goto SMOD tcode  and click on find button in the package spec giv the package name ie VA and execute it
    you will find list of exits available
    check out the exit that suits ur requirement
    goto cmod and create a new project and implement in that user exit.
    You will get the following exits in SMOD..
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly
    V45L0001  SD component supplier processing (customer enhancements
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing
    For Delivery you will get .. here the package name will be VL.
    V02V0001  Sales area determination for stock transport order
    V02V0002  User exit for storage location determination
    V02V0003  User exit for gate + matl staging area determination (h
    V02V0004  User Exit for Staging Area Determination (Item)
    V50PSTAT  Delivery: Item Status Calculation
    V50Q0001  Delivery Monitor: User Exits for Filling Display Fields
    V50R0001  Collective processing for delivery creation
    V50R0002  Collective processing for delivery creation
    V50R0004  Calculation of Stock for POs for Shipping Due Date List
    V50S0001  User Exits for Delivery Processing
    V53C0001  Rough workload calculation in time per item
    V53C0002  W&S: RWE enhancement - shipping material type/time slot
    V53W0001  User exits for creating picking waves
    VMDE0001  Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)
    For Billing VF01..Package is VF..
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference numbe
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedu
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lis
    V61A0001  Customer enhancement: Pricing
    Or another way is ..
    - Get the program name for that T-Code
    - Go to that program
    - In that program, search for word 'EXIT' or 'CUSTOMER-FUNCTION' by using where-used list which will give u the list of user exits for that program
    And also you can check in the tables in SE16 for user exits..
    MODSAP - Stores SAP Enhancements
    MODSAPT - Stores SAP Enhancements - Short Texts
    MODACT - Stores Modifications
    And there are other ways as well , pls check the forum for this ,
    Regards,
    Vvieks
    Note : If you have any specific requirement then pls let us know , we will guide you

Maybe you are looking for

  • Help! File in use problem when using Swing app

    Hi. I got a program that is pretty much a JFileChooser that prints to standard output the path of the file that I've chosen. If I invoke the DOS command: java JFileChooserDemo, I will get the following as expected from the program: "You chose a file

  • Manual login to Non Default DB with SSO enabled

    Hi, I logged the following through SAP Support, but was advised that Single Sign-On was functionining as designed.  The issue is that the non-default database does not have a manual login page, whereas the default database does.  This is an issue for

  • Can Send Mail, But Can't Receive Mail (Post Safari 3.1 & Security Update)

    Weird! I was able to receive mail when I first came in today, but since updating this morning to Safari 3.1 and Security Update, unable to receive messages. In "Activity Viewer", I can see Mail trying to get messages but stalls on "Fetching new mail.

  • Agree to terms

    I am trying to publish an adobe Captivate folder to Acrobat and get back a note that says "this bad ole person didn't agree to terms..... I want to agree to terms! Where do I do that?

  • IPad IOS 5 Bluetooth Pairing Problem

    I have iPad 1 with Brookstone Bluetooth Keyboard.  Since upgrading to IOS 5, every time I turn off the iPad it loses the pairing with the keyboard and I have to re-pair the device.  This worked fine before upgrading to IOS 5.  Does anyone have a solu