Item text from sales order to purchase requisition

Hi Experts,
I have below queries ,
1. What are the controls to generate/create a purchase requisition from a sales order.
Is this possible that a Pur. req generated from a sales order but sales order is not its account assignment.
How item text from the sales order can be copied to purchase Requisition, does settings in purchase requisition in SPRO (Purchasing Purchase req-text for purchase req----define copying rules) works only for automatically created Pur req.??
item text from sales order can be copied for PR created through MRP or planned orders converted to PR.??
I will appreciate if someone can provide me documentation on basics of sales and distribution at my email
[email protected]
Thanks in advance
anand

hello, friend.
i can only answer part of your question as i am not sure of the others.  however, yes... you can automatically create a purchase requisition from the sales order. 
one example is third party sales.  because of the item category group that you specified in the material master, the sales document determines an item category (and schedule line) that controls the creation of the purchase requisition.  here, the system knows that you must source the material from your vendor for delivery to your customer.
further, as in the above case, when your company creates the PO with reference to the PR, your company appears as the buying entity but the ship-to address is that of your customer.
i did not understand your question on account assignment.  please elaborate and we'll see if we can come up with the answer.
if you wish to see documentation, you could refer to SAP's article on Third Party Sales.  other scenarios such as just-in-time inventory for trading companies or make-to-order companies may also apply.
regards.

Similar Messages

  • Copy control from Sales Order  to Purchase requisition

    Can any one guide me how to set this, which fields need to be copied from Sales order to Purchase requisition.
    Vasu

    I don't think so sap has provided this kind of control but you can configure certain things as item category level for thirdparty in SD
    SPRO-SD-sales-sales document-sales document item-define item categories
    here you can check for item category TAS or you can create your own

  • Data Transfer from Sales Order to Purchase Requisition

    We are trying to transfer data from Sales Order to purchase requisition in an individual purchase scenario.
    We want to copy value in KUWEV-KUNNR in Sales Order and paste in CMMDA-KUNNR on purchase requisiton.
    So in user-exit "USEREXIT_MOVE_FIELD_TO_ME_REQ" on include "MV45AFZB" we added the following code:
    FORM USEREXIT_MOVE_FIELD_TO_ME_REQ.
    DATA:   BEGIN OF IT_VBEP OCCURS 0,
            VBELN LIKE VBEP-VBELN,
            BANFN LIKE VBEP-BANFN,
            KUNWE LIKE VEPVG-KUNWE,
            END OF IT_VBEP.
    DATA: BEGIN OF TI_VBAK OCCURS 0.
            INCLUDE STRUCTURE IT_VBEP.
    DATA: END OF TI_VBAK.
        SELECT A~VBELN   B~KUNWE
          INTO CORRESPONDING FIELDS OF TABLE IT_VBEP
        FROM  VBAK AS A INNER JOIN VEPVG AS B
                              ON B~VBELN = A~VBELN
        WHERE A~AUART EQ 'PDIR'.
       LOOP AT EBKN.
           LOOP AT IT_VBEP.
                IF IT_VBEP-VBELN = EBKN-VBELN.
                  IT_VBEP-BANFN = EBKN-BANFN.
                ENDIF.
                MODIFY IT_VBEP.
           ENDLOOP.
       ENDLOOP.
    *Break-point.
    SORT IT_VBEP BY vbeln.
    LOOP AT IT_VBEP.
      IF EBAN-BANFN = IT_VBEP-BANFN.
        EBAN-KUNNR = IT_VBEP-kunwe.
        MODIFY EBAN.
      ENDIF.
    ENDLOOP.
    * Example
    * EBAN-LIFNR = zzfield1.
    * EBKN-KOSTL = zzfield2.
    ENDFORM.
    *eject
    Right now it turns random values on the purchase requisition field.
    Edited by: Carlos Salazar on Sep 15, 2010 5:19 PM
    Moderator message: please use more descriptive subject lines from now on.
    Edited by: Thomas Zloch on Sep 15, 2010 5:26 PM
    Edited by: Carlos Salazar on Sep 15, 2010 5:30 PM

    Hi,
    Why are you using only the following line to read the VBEP table?
    WHERE A~AUART EQ 'PDIR'.
    Shouldn't you be using a sales document number or something more specific than document type?
    Regards,    Andy

  • Passing text information from sales order to purchase requisition

    Hi
    My requirement is in third party processing. I want to pass line time text in sales order to the purchase requisition created in a third party processing.
    My question : is it possible in standard config setting?
    If not, Is there any user exit to address this
    please send us valuable inputs
    Thanks
    Sriram.

    Dear Sriram,
    Try this,
    Go through this IMG path do the required settings
    SPRO>IMG>Material Management>Purchasing>Purchase Requisition-->Texts for Purchase Requisitions.
    -->Define Text Types here you can define the Text type same as sales order Text type for Purchage requesition .
    -->Define Copying Rules -->Here you select the Text type(Newly defined) to which text type you want to copy the sales order text then click on Text Linkage -->New Entries in the New entries screen you enter
    Sequence
    Source Object as Sales order
    Source Text
    Fix as blank -Text automatically adopted in target object
                      Finally save the settings.
    Now you create third party sales order system will copy the sales order text to the Purchase requesition
    I hope this will help you,
    Regards,
    Murali.

  • Copy text from PM order to Purchase Requisition

    Hello
    In our current set-up we have configured so that PM Order component item text is copied to requisition item text.
    But we also have a need to fill in requisition item note directly from the PM Order.
    We see that there is a possibility to copy transaction text from PM order. 
    What is transaction text?
    Any other proposals?
    Best regards
    Tom

    Greetings Tom Saga,
    The Transaction text is in fact the Operation Long Text that may be copied to the PR Item-level text. To have it automatically copied, in SPRO > Materials Management > Purchasing > Purchase Requsition > Texts for Purchase Requisitions > Define Copying Rules 
    Please define for the Text Type "Item text" the Text Linkage to Source Object "Order/network" and Source Text "Transaction text". Then the externally processed Operation Long Text will automatically be copied to the PR Item Text 
    Greetings Pushpa,
    Apologies for attaching to an old thread, but could you elaborate on copying the Work Order Header Long Text into a PR Long Text? I have a requirement to copy into the PR Header Note, but can't find the Text types at the header level in the copying rules. Is that possible without development?

  • Re: Copying Header Text from Sales order to Purchase order

    Dear Friends,
    We have requirement to copy the "shipping instructions text"  maintained in the Sales Order to Purchase Order.
    Could some body guide to configuration settings needed to get this.
    Thanks,
    Krishna Redy

    Dear Suresh,
    We are creating the Purchase order with account assignment and in the PO we are giving the sales order number.
    When system is copying the Customer and order dedails to PO, same way we want to copy the Texts as it plays big role for the clients business process.
    SAP must have solution for this as it is genuine requirement. Hope someone call the right card.
    Thanks,
    Krishna Reddy

  • Reading line item text from sales order

    Hi,
    I have a sales order which has an item text, I need to get the value from the text. I want to test the READ_TEXT function and I am giving values as
      Import parameters               Value           
      CLIENT                          400             
      ID                                  0011            
      LANGUAGE                   EN              
      NAME                            0001171445000010
      OBJECT                         VBBP            
      ARCHIVE_HANDLE         0               
    LOCAL_CAT                               
    It is not giving me any value.  Am I giving any thing wrong? In the NAME I gave the value as sales ord num + item number, is this correct. Please help me.
    Thanks,
    Veni.

    Hi
    Name is the Concatenation of Order No and Item No.
    pass the 4 parameters ID,OBJECT,NAME and LANG
    use the correct declarations for the parameters and use
    ID  = '0011'
    LANGUAGE =  'EN'
    NAME = '0001171445000010'
    OBJECT  = 'VBBP'
    See the doc
    READ_TEXT
    READ_TEXT provides a text for the application program in the specified work areas.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    Function call:
    CALL FUNCTION 'READ_TEXT'
    EXPORTING CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters:
    CLIENT
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    Reward points if useful
    Regards
    Anji

  • Getting Item Text  from sale order items

    Hi All,
    I am trying to get sale order item text using Include text in smartforms.
    my text object  is VBBP and my text id is 0004.
    What should I pass in Text Name  ?.---Order Number or Item Nunmber or Both.
    If both can you guys explain how to pass both ?.
    will be REVARDED.

    Hi,
    When you see the texts in the line item of va03..
    Double click on the text..
    Then in the menu..Goto -> Header..
    There you can find the Text name..
    Generally if it is Item text..Then the text name will be
    order number + line item
    Thanks
    Naren

  • Item text from sales order to delivery

    Hi All,
    I have GTIN number in item texts and it has value to it, but in the delivery only text is comming as GTIN number, no value is comming for it. Can some one please help me how to check why it is not comming and how to resolve this.
    I have to show the same text with value in the Invoice also. I donot even see txt there, no value also.
    Please help me.
    Thanks,
    Veni.

    Hi Siva,
    VOTXN is not valid for me, so used VOTX only. I selected the radio button for sales document -> item, text types. Pressed 'All' push button. Here I see that checkbox for Billing document is not checked, these are disabled here, How should I check the billing document check box.
    Thanks,
    Veni.

  • Any user exit to copy text from sales order to PR

    Hi,
    Any user exits or bapi to copy text from Sales order to Purchase requisitions.
    Jack

    Hi
    In SPRO , please use the menu path Materials Management - Purchasing - Purchase Requisition- Texts for Purchase Requisitions - Define copying rules
    Here  select the text and double click on Text linkages. There you can define the source text from sales order to the target text in PR.
    Please try and let me know if you still have any queries.
    Please reward points if this helps you
    Rgds

  • Copy Control From Sales Order to Purchase Order

    Hi Experts,
    I want to ask how the copy control from Sales Order to Purchase Document can be done? Because they are instances that the users have some items in the Sales Orders not copied to Purchase Document.
    Thanks a lot!

    Hi Experts,
    I have seen the documentation for 3rd Party Sales, thanks to some suggestions. However, there is a report which does not work in our Test Environment, the program name is SDMFSTRP. As suggested by some forums, this is another way of connecting Sales Order to the created Purchase Requisition. So I'd like to ask if there are other ways to connect the 3rd Party Sales to the created Purchase Requisition.
    And also may I know your scenarios when there will be missing items from Sales Order to Purchase Requisition. There are some instances that from Indent Orders, some SO items are not copied to PR.
    Thanks a lot!

  • PO Text copy from Sales Order to Purchase Order

    Dear friends,
    Hope everyone is doing fine.
    I have the following business requirement for two situations
    Scenario 1) Purchase Order text from the Sales order has to be copied to the purchase order. Here sales order is converted to purchase requisition, and later the requisition is converted to the purchase Order.
    The standard SAP config is working absolutely fine for this.
    Scenario 2) Purchase Order text from the Sales Order has to be copied ot the purchase order. Here sales order is converted into a planned order, planned order is converted into purchase requisition, and later the requisition is converted to the purchase Order. For this situation, the text is not getting copied from Sales order to the requisition/purchase order.
    This is not working as of now with the configuration for the above scenario 1.
    Please throw some light to solve the scenario 2.
    Please let me know if there is a config or do we need to use any user exit or BADI to achieve this.
    Thanks in advance.
    Regards

    Hi Sam Matt ;
    You can benefit from MM:Define copy rules for PR texts .
    I checked , you can copy from sales order , like a belowed screens.
      Regards.
      M.Ozgur Unal

  • Link tables of Sales Order and Purchase Requisition

    Hi,
    thru which tables we can get the data of purchase requistion for a sales order.
    regards,
    balu

    Dear Balu,
    the fields VBEP-BANFN and VBEP-BNFPO are filled in the third-party process only. It means that there is 1:1 connection between the schedule line of the sales order and the purchase requisition. In the third-party process during saving the sales order the purchase requisition is created automatically and is linked to the order.
    If the fields are empty, it means, you have no third-party process and no 1:1 connection between the sales order and the purchase requisition. Probably the sales order created normal requirements, which generate purchase requisition(s) after MRP run. In this case you cannot see the purchase requisition from the sales order as there is no 1:1 connection. You have no chance to get the data from sales order to the purchase requisition.
    The only possibility which you (may be, it depends on the process) have, is to find sales order numbers from the purchase requisition: so to develop the process backwards. These data are stored in the database table EBKN: Purchase Requisition Account Assignment.
    Please use the following fields:
    EBKN-BANFN  - Purchase requisition number (key field)
    EBKN-BNFPO  - Item number of purchase requisition (key field)
    EBKN-LOEKZ  - Deletion indicator in purchasing document (key field, can be helpful)
    The corresponding sales orders are stored in:
    EBKN-VBELN  - Sales Document Number
    EBKN-VBELP  - Sales Document Item
    EBKN-VETEN  - Schedule line number
    I hope, this information will help you further and will solve your problem.
    Kind regards,
    Akmal Vakhidov
    Development Support SD, SAP, Walldorf/Germany

  • Copying Text From Sales order to Billing Document

    Hi all,
    I have searched all posts for my issue but found nothing so that i am posting this issue.
    I want to copy the Some text form sales order to billing document is there any cnfig to do this
    order is there any exit for billing in which i can write code to copy text from sales order to billing document.
    please provide me a solution.
    Thanks in adavnce.
    Vinod.

    Hi,
    Use the same t-code VOTXN to do access sequence assignment.
    When you choose text object Billing Doc (header/item), there is 3 folders in dialog structure:
    - Text procedure
    - Access sequence
    - text procedure assignment
    In the text procedure folder, select related text procedure, then assign the created access sequence to respective text id.
    Hope this help.
    Cheers,

  • Copying Profit Center from sales order to Purchase order

    Hi Champs,
    Please let me know if anyone has implemented this scenario of copying profit center from sales order to purchase order and then to goods receipt.
    Thanks
    Pirzada

    Hi,
    Profit center flows from material master to other documents such as PO,SA GRN and MIRO.Please let me know what are you looking for?

Maybe you are looking for

  • How can I use escaped-characters in an option

    I have the following code that is used to retrieve city-names including parent-child relations from a database and place them in an array: <%@ page contentType="application/x-javascript" %> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

  • Mark TODOs in ABAP code

    Hi, often I need to hardcode something in the code, so to test it fast and knowing that I will have to replace this after it is generally working. In Java I used @TODO comments, so Eclipse would show them. Does such thing exist in ABAP? My other idea

  • What is the cause of unpredictable and frequent crashing?

    My firefox is crashing quite frequently and I haven't been able to determine the cause or how to fix it. I've uninstalled and reinstalled, removed all the addons and plugins and updated them, and updated my graphics drivers. Below is the crash log fr

  • Why is my mac a lot slower after updating to 9.2. ?

    Hi! My Mac is so much slower after updating it to 9.2., I installed Java but I read at some forums I should delete it, but I dont know how. Can somebody help me? My system review in Etrecheck is: Hardware Information:           MacBook Pro (13-inch,

  • C4C Integration with ECC (popup in ECC during connection)

    Hi, can someone please help me, to find the issue when sending e.g. customer master from ECC to C4C via HCI. In ECC I receive the following popup asking about username/password on HCI.... I activated certificate based authentication.... ¨ Thank you!