Production order text

Dear Experts,
We have a process setup to flow STO demand from comapny A, Plant
1 to Company B, plant 2. When MRP runs in the manufacturing
plant2 from company B, it generates a planned order and can be
converted to production order. However we want to link the STO
and production order. so that we can identify against which STO
we are produced the goods. We dont want to use account
assignment in STO as it could lead to production settlement
problems. So is there a way that we can copy STO number into my
production order text field and then we should be able to get it
onto shopfloor docs and labels. Please advice
Thanks

Hi,
Why do you think that the text is required for production order..???
What is the requirement to have material text in production order..???
You can maintain the text for production order in "long text" tab in production order screen.If u want bring the material text to production order it has to be done through either user exit or some BAPI.
Prakash

Similar Messages

  • Copy purchase order text to production order text

    Hello,
    purchase order text should be copied to production order text so that the end user can see and edit the text before saving the production order. I'm trying to do it with exit PPCO0006. I can read the purchase order text with read_text but cannot show it on prod order long text tab page. And cannot save it because the production order does not have a number yet.
    How should this be done? If I copy the text to clipboard can it be pasted to production order long text somehow? Or is there a long text object in production order which I could call and insert the text in it? Or what?

    Hi,
    The problem is solved.
    In SD side, there's a transaction VOTXN. Change the configuration for Sales Order Item.
    Add a Text ID 0006 (Production Memo) in Textprocedure with Access Sequence 21 (Material Sales).
    In Access Sequence 21, map Text Object VBBP (Sales Order Item Text) to ID 0006 (Production Memo).
    Save it.
    When you create your sales order, in the item text level, you'll be able to see an additional text type of Production Memo. Enter your text here and save the sales order. When production order for this Sales Order is created, Production Memo tab will automatically appear (as mentioned by Peter earlier).
    Thanks.

  • Sales Order Text to Production Order Text

    Dear Experts,
    When creating a sales order in VA01, I added in some comments in the item level Texts tab.
    How can I configure the system so that when a production order is created from this sales order, the comments entered in the sales order will be automatically populated in the Long Text tab of Production Order header.
    This is because during the creation of sales order, there may be certain comments and/or instructions that need to be passed to the production line. We want the texts to flow through to the production order automatically.
    Any ideas?
    Thanks in advance.

    Hi,
    The problem is solved.
    In SD side, there's a transaction VOTXN. Change the configuration for Sales Order Item.
    Add a Text ID 0006 (Production Memo) in Textprocedure with Access Sequence 21 (Material Sales).
    In Access Sequence 21, map Text Object VBBP (Sales Order Item Text) to ID 0006 (Production Memo).
    Save it.
    When you create your sales order, in the item text level, you'll be able to see an additional text type of Production Memo. Enter your text here and save the sales order. When production order for this Sales Order is created, Production Memo tab will automatically appear (as mentioned by Peter earlier).
    Thanks.

  • Production Order Component long text

    I'm an ABAPer trying to find the long text of a production order component.
    I'd expect to find it as a text with object "AUFK" id "MATK" but that's not the case. I can't find it anywhere in table STXH where it would show up if it were kept like any other text. So where is it kept?

    Whenever you maintain a Production Order Text in CO03, system generate a unique HEADER details for that particular text with unique values of fields-Text Name, Language, Text ID & Text Object.
    You can see 4 unique values by first double clicking on Production Order Long Text and then Goto --> Header.
    Once you've these values, run FM- READ_TEXT (transaction-SE37) and put Text Name, Language, Text ID & Text Object at required places and execute, you will get desired Accounting Text.
    Regards,
    Anup

  • Add new tab of long text to production order

    Hi all
    i need to add new tab of long text to production order, which will be blocked for changes.
    anyone can help with this?
    thanks.

    Yossi,
    The purpose of long text is so that business users can add additional information while processing the order so that everyone can check the text.
    Please tell us why do you want to block the production order text? Also why do you need a new tab for long text? and where do you want that information to be stored?
    -Swapnil

  • How to create long text in production order?

    Hi,
    i have found that i could only change long text in the
    production order by 'SAVE_TEXT'.
    but i want to create long text and any advice?

    DATA:TEXT_HEADER LIKE THEAD.
    DATA:TEXT_LINES LIKE TLINE OCCURS 0 WITH HEADER LINE.
    data: t_ponum  like BAPI_ORDER_KEY-ORDER_NUMBER.
    t_ponum = '000040000068'.
    TEXT_HEADER-TDID ='KOPF'.
    TEXT_HEADER-TDOBJECT = 'AUFK'.
    TEXT_HEADER-TDSPRAS = sy-LANGU .
    CONCATENATE SY-MANDT t_ponum INTO TEXT_HEADER-TDNAME.
    clear text_lines.
    refresh text_lines.
    text_lines-TDFORMAT = '*'.
    text_lines-TDLINE = '12567'.
    append text_lines.
    text_lines-TDFORMAT = '*'.
    text_lines-TDLINE = 'lg'.
    append text_lines.
    text_lines-TDFORMAT = '*'.
    text_lines-TDLINE = 'prh'.
    append text_lines.
    text_lines-TDFORMAT = '*'.
    text_lines-TDLINE = 'ueue'.
    append text_lines.
    CALL FUNCTION 'CREATE_TEXT'
      EXPORTING
        FID               = TEXT_HEADER-TDID
        FLANGUAGE         = sy-LANGU
        FNAME             = TEXT_HEADER-TDNAME
        FOBJECT           = TEXT_HEADER-TDOBJECT
                     SAVE_DIRECT       = 'X'
                     FFORMAT           = '*'
      TABLES
        FLINES            = text_lines
    CALL FUNCTION 'SAVE_TEXT'
      EXPORTING
        CLIENT          = SY-MANDT
        HEADER          = TEXT_HEADER
        INSERT          = ' '
        SAVEMODE_DIRECT = 'X'
      TABLES
        LINES           = text_lines.
    CALL FUNCTION 'COMMIT_TEXT'
      EXPORTING
        OBJECT          = TEXT_HEADER-TDOBJECT
        NAME            = TEXT_HEADER-TDNAME
        ID              = TEXT_HEADER-TDID
        LANGUAGE        = sy-LANGU
        SAVEMODE_DIRECT = 'X'.

  • How to add the long text in Production order through FM

    Hi,
    Iam having custom program which has BAPI (BAPI_PRODORD_CREATE) inside it and this program is used to create Production orders with the details of Sales order Number,Line item,Plant,Order type,Quantity and Start date. This program is scheduled in Background.
    Now client wants to add the Long text (seperate TAB in production order and they want to update the VC details of Sales order in the Long text area).
    One option is after creation of Production order, through BDC(calling CO02 and update the long text) we  can update the long text and client doesn't want this option.
    Another option is after creation of Production order, using Function module SAVE_TEXT, Update the Long text in Production Order and this is not working in Production order (already my ABAP consultant checked it ).
    If any one of you came across this requirement, pl share with me how you addressed it.
    Regards
    A.Sureshbabu

    Hi,
    The method is quite simple, i presume you're quite well versed with doing recording, so the key thing to keep in mind is how to prepare the input file.
    At my end i had about 5 lines of data which needed to be uploaded, hence i had a tab-delimited file with the order nos. in the first column & the five lines of text in five different columns (Refer format below)
    Order No.
    Line - 1
    Line - 2
    Line - 3
    Line - 4
    Line - 5
    12345
    txt - 1
    txt - 2
    txt - 3
    txt - 4
    txt - 5
    67890
    txt - a
    txt - b
    txt - c
    txt - d
    txt - e
    Now provide this input file for your lsmw or bdc program & it will work. You can work with your abaper if you're not so comfortable with LSMW or BDC programming he / she should be able to easily make it work for you.
    Regards,
    Vivek

  • Getting a runtime error in reading long text from production order

    Hi all,
    I am trying to read production order long text and the code is not showing any syntax error but if i execute it i am getting a runtime error as "Text object aufk is not available".
    But i did check for the text object , text id enties in TTXOB and TTXID tables. Also i am able to see the relevant text in tables STXH and STXL, dont know why i am getting this runtime error and unable to debug.
    I tried a lot searching in forums, but they all ask me to write the code in the way i did, so dont know what is the problem.
    Data Declarations
    data: xaufk  type aufk.
    data: l_name type thead-tdname.
    data: ilines type table of tline with header line.
    Parameters
    parameters: p_aufnr type aufk-aufnr.
    concatenate sy-mandt p_aufnr into l_name.
    condense l_name no-gaps.
              CALL FUNCTION 'READ_TEXT'
                EXPORTING
                 CLIENT                         = SY-MANDT
                  ID                                =  'kopf'
                  LANGUAGE                 =  sy-langu
                  NAME                          = l_name
                  OBJECT                       = 'aufk'
                TABLES
                  LINES                         =  ilines
              write : ilines.
    Regards
    Jessica

    Hey Vijay,
    Thanks for you reply, It worked, i am not getting the runtime error, but also not getting the output.
    am i missing anywrite statements?
    Please check the code and suggest changes if required. i want to see the long text in the production order in the output. should i say write: ilines.?
    Data Declarations
    data: xaufk  type aufk.
    data: l_name type thead-tdname.
    data: ilines type table of tline with header line.
    Parameters
    parameters: p_aufnr type aufk-aufnr.
    concatenate sy-mandt p_aufnr into l_name.
    condense l_name no-gaps.
              CALL FUNCTION 'READ_TEXT'
                EXPORTING
                 CLIENT                         = SY-MANDT
                  ID                            = 'KOPF'
                  LANGUAGE                      =  sy-langu
                  NAME                          = l_name
                  OBJECT                        = 'AUFK'
                TABLES
                  LINES                         =  ilines
                 write : ilines.
    Regards,
    Jessica.

  • Intercompany Text-Based Standard Purchase Order from Production Order

    We have a business scenario where a material is made in a plant and then another plant performs a service on that material.  The customer wants the purchase requisition that is created from the production order from the producing plant to apply a vendor that is an intercompany vendor.
    The issue is, these purchase orders are text based purchase orders.  This process works perfectly when there is a material master.
    Scenario:
    Plant X = Production Order to make Material A
    Plant X = Production Order creates a purchase requisition in Plant X; Intercompany Vendor is assigned
    Buyer = Creates the purchase order from the purchase requisition
    Error Message: SAP issues an error message that this vendor cannot be used.
    We are looking for a way to create a text based purchase order (that represents a service) and assign to a intercompany vendor.

    The exact error message we receive is:
    Diagnosis
    You are entering an ordering transaction involving a vendor to whom a plant has been assigned. Normally, materials would be supplied by one plant to another in such a transaction.
    This process involves a delivery and billing document in the SD system. The PO for this appears directly in the delivery due list of the issuing plant (vendor) and therefore does not need to be transmitted.
    However, items without a material master record cannot appear in the delivery due list.
    Procedure
    Items without a material master record can only be ordered from vendors without a plant assignment.
    The point is if we create a vendor without a plant assignment, how can the inter-company posting be accommodated.

  • How to copy long text from production order to automatically created P.R

    Hello experts,
    I want to add some text to the long text , in the production order and save it.
    There is an external process in our routing, in which when the order is saved and released, there is a P.R created automatically.
    My requirement :-  The text in the long text tab of the Production order should flow to one of the text types {Item text} in the P.R item created.
    I checked in SPRO [ IMG-> MM->Purchasing -> P.R-Texts for PR-> define copying rules].
    For text type ,  'Item text' already has  the text linkages : Order/network, with source texts "component text' and 'transaction text'.
    However, the text being maintained in the order is not flowing on its own anywhere into the P.R created.
    Is there any other config that needs to be done to achieve this?
    Regards
    P.R

    Hi, A production order long text exists at a header level and a Purchase req gets triggered at an operation level of a production order during external processing.
      So if you expect a mapping of a header text to operation level text, it should not be definitely possible in the SAP standard. (May be an enhancement would still work but you need to decide on it).
    If you maintain a long text at the same operation where you trigger a pur.req (a text on your own or via a standard text key-CA10 tcode), you would see that populated, at the item-level text tab of the generated pur req automatically, as a standard behaviour.
    Hope you would go with the standard system behaviour.

  • User Exit: Saving data in Production Order Header Long Text

    Hi PP Gurus,
    Can any one let me know which user exit can be used to save some data in the Long Text of Production Order Header.
    We try PPCO0007, it works well on ECC, but my client's system version is 4.7, it does not work.
    In 4.7 version, is there any other User Exit or BADI can be used to comply with this requirement?
    It's quite common requirement, hope someone can help me. Thanks.
    Best regards,
    Sun Qiang

    Hi All,
    Thank for your reply.
    After saving the text using 'SAVE_TEXT' function module and commiting it you need to update the 'ltext' field in AUFK table.
    SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.
    wa_aufk-ltext = 'D'.
    MODIFY aufk FROM wa_aufk.
    It works in Enhancement PPCO0007.
    This call can be closed. Thanks.
    BR
    Qiang

  • How to read Production Order Long Text data in ABAP program

    Hi friends,
      I have the issue in reading the ' Long Text '  tab view data of production order
    in CO03 transaction.Please can some body help me out to get this in ABAP program.
    Regards,
    Rajesh Akarte

    ok goto the long text, double click it, or use the small pencil, so that you proceed to the text editor.
    Once you are there, use the menu: goto->head
    a small popup will come up, stating the information you need.
    what you need is OBJECT, ID, Language and NAME.
    with those information you can feed the FM READ_TEXT.
    and woooohooo there you go

  • Update Long Text of Production Order

    Hi ABAP Gurus,
    We want to update some information in long text automatically while releasing production order.
    We try PPCO0007
    We found that we must update AUFK-LTEXT as 'E' then we can see long text via CO02, CO03.
    Without updating AUFK-LTEXT, even if the long text value saved in SXTL, but it can not be displayed via CO02, CO03.
    After saving the text using 'SAVE_TEXT' function module and commiting it we update the 'ltext' field in AUFK table.
    SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.
    wa_aufk-ltext = 'D'.
    MODIFY aufk FROM wa_aufk.
    However, it only works when we go to CO02 and press 'Save' button without changing anything.
    If we press 'release' button, AUFK-LTEXT will be overwritten by system. >_<
    What we expect system to do is that when we release production order, AUFK-LTEXT can be changed to 'E', so that we can display long text via CO02, CO03.
    Please help.
    Cheers,
    Qiang

    There is no standard SAP enhancement we can use for this purpose.
    We have developed another program to maintian the long text in production order.
    This call can be closed.
    Cheers,
    Qiang

  • Long text in production order

    Hi All,
    I have enter some text in all my production order. Based on that txt can i pulled the orders in the report(in std report). Is there any report like this.
    Thanks and Regard,
    D.Dutta

    Hi,
    Check in COOIS report by adding executing at header level & adding the header text field.
    If this does not give you the desired result, then you can get the same from STXH table.
    pass the field value as below:
    TDOBJECT = AUFK
    TDID = KOPF
    TDSPRAS = EN
    TDNAME = (client nos + 12 digit order nos)
    The same can also be read from the FM - READ_TEXT.
    Hope the above answers your query.
    If helpful award points
    Regards,
    Vivek

  • Production order long text

    Hi,
                       I am using save_text function module to store long text in production order. The function module is returning sy-subrc as zero but the text is not displayed in the order. But when I use read_text function module to read the long text it is returning the value which I have passed in save_text. The problem is getting saved in the databas but it is not displayed in the order. Can anyone help in this regard?
    with regards,
    usha.

    Hello everybody,
    I finally found a solution that does work in deed!
    After executing the function module "SAVE_TEXT", you have to execute "COMMIT_TEXT" AND do a commit work afterwards. In the end, the field LTEXT in table AUFK needs to be updated with the language key.
    Please see sample code below, where 12345678 represents the number of your production order.
    DATA: es_header TYPE thead,
          es_lines TYPE tline,
          et_lines LIKE TABLE OF es_lines,
          wa_aufk TYPE aufk.
    CONCATENATE sy-mandt '000012345678' INTO es_header-tdname.
    es_header-tdobject = 'AUFK'.
    es_header-tdid = 'KOPF'.
    es_header-tdspras = sy-langu.
    es_lines-tdformat = '*'.
    es_lines-tdline = 'Sample text line one'.
    APPEND es_lines TO et_lines.
    es_lines-tdformat = '*'.
    es_lines-tdline = 'Sample text line two'.
    APPEND es_lines TO et_lines.
    CALL FUNCTION 'SAVE_TEXT'
      EXPORTING
    *   CLIENT                = SY-MANDT
        header                = es_header
    *   insert                = ''
       savemode_direct       = ' '
    *   OWNER_SPECIFIED       = ' '
    *   LOCAL_CAT             = ' '
    * IMPORTING
    *   FUNCTION              =
    *   NEWHEADER             =
      TABLES
        lines                 = et_lines
    * EXCEPTIONS
    *   ID                    = 1
    *   LANGUAGE              = 2
    *   NAME                  = 3
    *   OBJECT                = 4
    *   OTHERS                = 5
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'COMMIT_TEXT'
      EXPORTING
        object                = es_header-tdobject
        name                  = es_header-tdname
        id                    = es_header-tdid
        language              = es_header-tdspras
        savemode_direct       = ' '
    *   KEEP                  = ' '
    *   LOCAL_CAT             = ' '
    * IMPORTING
    *   COMMIT_COUNT          =
    * TABLE
    *   T_OBJECT              =
    *   T_NAME                =
    *   T_ID                  =
    *   T_LANGUAGE            =
    COMMIT WORK AND WAIT.
    SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.
    wa_aufk-ltext = 'D'.
    MODIFY aufk FROM wa_aufk.

Maybe you are looking for

  • Need suggestion for a topic in Oracle Call Interface

    Dear All, I am kiran working as a TSE for EAI project. I need a small clarification with respect to Oracle Call Interface. My problem is as follows: "I am doing a delete transaction in my application and not committing it, but when my program is kill

  • One table is missing in R/3 DDIC

    Hi Experts, While I am monitoring the db02 T-code, Under tables and indexes it is showing that one table is missing in R/3 DDIC. Tables Indexes Total number 68,514 82,026 Total size/kb 43,431,936 43,282,240 More than 1 extent 2,957 3,470 Missing in d

  • Invalid File Handle - Windows 7 clients talking to Mac OS 10.5.8  server

    Hello I have a file-sharing volume setup under 10.5.8 server - however with the addition of Window 7 clients i'm noticing lots of error whilst trying to copy to or from that volume {setup under SMB and AFP} via a windows machine... My Mac OS clients

  • Can't assign system to logical component

    Hello everybody, I try to configure my Maintenance Optimizer. I have created a system with main instance SAP ECC Server. In view Landscape components i can see my system in node systems->sap erp. When i try to assign a Logical component SAP ECC an a

  • Illustrator crash CS5!

    Illustrator has started crashing with the message 'illustrator has quit unexpectedly' I have had this happen before on the odd occasion but is regularly happening now. I dont think its caused by any particular task and is just happening randomly. I r