Smartforms on production order

i am creating a smartforms for production order(co01).
in that there is a column 'status'.
in aufk table for a objnr field i have the following status...stat in jest table & txt04 in tj02t
STAT  lang  TXT04
I0001   E     CRTD
I0002   E     REL
I0016   E     PRC
I0028   E     SETC
I0076   E     DLFL
I0115   E     CSER
I0118   E     NTUP
I0215   E     SSAP
in my status box, i have to display as crtd rel prc setc dlfl cser ntup ssap
i.e in the below status box in smart forms i created.
Please suggest me
Thanks and regards,,
Dhivya N.

There is a function module available that returns the Status value exactly as in CS03. Google 'function module production order status'. This old post is from the top of the list and there are many more. I hope there is no explanation required on how to use an FM in a Smartform (otherwise I'm sure Google knows that too).
Kindly search before posting.
Thank you.

Similar Messages

  • Smartform for production order

    Hi *
    We have currently SAP ECC6 EHP3 installed and I'm looking for a preconfigured smartform for the production order. I know we can import country specific best practice templates, but this is too much for only the need of one smartform.
    Can anyone provide me the following data for the smartform "Production oder":
    - print programm
    - style
    - smartform
    Thanks a lot in advance for your help...
    Regards
    Juerg

    Hi Karthik
    Thanks for your reply, I already checked this before I posted this thread in this forum. We don't have such smartforms in our system. They will be imported with best practices packages.
    Regards
    Juerg

  • Configuring smartform for production order printout

    hi geeks,
    my requirement is that i need to replace the standard SAPscript with a new smartform for printing production orders for ca02.I would like to know if any one worked before on this and if yes please let me know the method of doing the same.

    Hi Sharma,
    You have to configure production order O/P through Config.
    Please use T/code "OPK8" > Select your Shop floor List> then assign Print program and form.
    I think you have to create a Zprogram for your smartforms.
    Hope this helps you.
    Lanka

  • Printing of Production Order related smartforms while creation of P.O

    Hi All,
    SCENARIO:  Production order related smartforms have to print as soon as we create the P.O. It is happening when I create the P.O in CO01 in front end.
    PROBLEM: I am calling CO01 transaction in BDC method and creating the P.O, I have used MODE 'E' UPDATE 'A' in call transaction method. Here it is not triggering the smartforms. First of all, it is not triggering my print program itself. But it is happening while in creation of P.O in front end.
    Can anyone tell and suggest me, how can we solve this problem.
    Thanks and Regards
    Ramesh mavilla.

    Hi Ramesh,
    Few screen would popup only in foreground but not in background. That could be the reason bcz of which you BDC is not working in background.
    Please pass the BDCMSGCOLL data into a spool using WRITE statement to check what is the error in executing BDC.
    Else debug the background job using JDBC in command prompt of SM37.
    Best regards,
    Prashant

  • Production order form.

    can a production order form be a smart form. if yes.
    what kind of functional  configuration  should be done.
    Edited by: deepu p on Nov 3, 2008 8:45 PM

    Deepu,
    According to my knowledge in older versions of SAP the production order form is a SAP Script. But the developer can do some trick and launch a smart form through the SAP script. We are running 4.6c at client location and we do have a SMARTFORM for the process order.
    Your developer should be able to do the research and do the needful.
    -Swapnil

  • Error in Production Order print

    Hi PP experts
    I am trying to print a production order using co02. It gives the following error.
    [Element_ROU_TEXT_SHORT window MAIN is not defined for form PSFC_PRINT_LAY]and
    I am using PSFCCOBJL program
    and using PSFC_PRINT_LAY form
    please suggest what can be done
    Thanks

    Dear Rajesh,
    Smartform PSFC_PRINT_LAY has error. It appears that Element ROUTEXT_SHORT has not been defined but is used.
    You can check this:
    Go to transaction SMARTFORMS -> enter SMARTFORM Name -> Choose execute -> It will take you to funciton builder with a function name (Smartforms generate a Function Module when activated) -> Execute -> Provide values -> Execute -> It will display the error.
    Regards,
    Naveen.

  • Barcodes in Production Order

    Dear Experts,
    My client is a mass production environment & they need barcode for production ordes in the following scenario
    1.  Barcodes for each order number
    2.  Barcodes for each operation
    3.  Confirmation using Barcodes (Just scan the operation & the operation gets confirmed)
    Please help.
    Regards
    Tom

    Dear
    You need to use smarat form for the purpose and need to select Bar Code option in OPK8 ( However , it will be set by default also in Forms )
    1.Bar Code in Operation/Production Order  :   Frist check the standard layout in SE17 .To Print the Barcode  at operation level , you need to use  Smartform or script(SAPD ZBARCODE ZNEU01 ) where you have to create the Character formt and specify the Name of the Barcode you want to use in Barcode format Example .:
    &LTAP-VLENR&,,
    &LTAP-VLENR&
    where BR is the Character Format created in script for barcode printing and VLENR is thr field which we want to print as barcode
    2.You need to develope a interface  which will  interlinked with SAP  and Handheld Device ( bar Code reader ) .In out case we have developed a Custom txn called ZCO11N which triggers the Confirmation and GR  with bar code reader through interface .
    3.It requres ABAPer's help and a clear functional spec from SAP PP Guy to accomodate the requirement .
    Regards
    JH

  • Relation between operation and component in Production order

    Hi All
    I am new to PP. I need to get the tables which gives relation between operation and components in Production Order. I need to display in smartform the components assigned.
    Thanks and regards
    Swetabh Shukla

    Hi,
    Try with AFVV Table.
    You need to get the Details of the Filed : AUFPL from AFKO.
    Hope this helps..
    Regards,
    Siva
    Hi,
    You can get the details from Table : RESB.
    Regards,
    Siva
    Edited by: Siva Kumar M on May 23, 2008 10:49 AM

  • Finding Soln. to initialise total number of pages for new production order

    Hi Experts,
    My internal table has details of Production Order which has to be printed in a smartform. The page numbers has to be initialised i.e both SFSY-PAGEand SFSY-FORMPAGES each time when it prints a new production Order.
    Example :
    Say Production Order 1 is populating in 4 Pages it should display
    1 of 4
    2 of 4
    3 of 4
    4 of 4
    and for the 2nd Production Order say it Occupies 2 pages page number should be initialized and displayed as
    1 of 2
    2 of 2
    One solution i found is having the smartform inside a loop and passing details of one production order at a time but i dont want to use it as i might be lead to performance issue.
    Kindly suggest me a Solution where i passed my internal table once to the smartform and get the output.

    Hi Experts,
    My internal table has details of Production Order which has to be printed in a smartform. The page numbers has to be initialised i.e both SFSY-PAGEand SFSY-FORMPAGES each time when it prints a new production Order.
    Example :
    Say Production Order 1 is populating in 4 Pages it should display
    1 of 4
    2 of 4
    3 of 4
    4 of 4
    and for the 2nd Production Order say it Occupies 2 pages page number should be initialized and displayed as
    1 of 2
    2 of 2
    One solution i found is having the smartform inside a loop and passing details of one production order at a time but i dont want to use it as i might be lead to performance issue.
    Kindly suggest me a Solution where i passed my internal table once to the smartform and get the output.

  • Open Production Order

    Hi have to create a report that has open sales order , open po , open pur req , open planned order and open Production order.
    I need the logic for OPEN PRODUCTION ORDERS.
    The status of the production orders are maintained in JEST Table .
      I need logic to elimate the completed production orders during my selcet . Since JEST Table has multiple entries and for some orders that are released the 'DELV'  status wil not be maintained at all at that time.
    I wil really appreciate your help , if you can tell me how to emliminate the completed production orders during my select query to get the open prod orders.
    Is there any fun moduel or bapi that wil give the Open prod orders ?? or any std report that gives open PO??
    Thanks

    for this you can use the Function STATUS_TEXT_EDIT , for this pass Objnr (get the objnr from AUFK table using the production order) it will give you the status in the LINE exporting parameters.
    Import parameters               Value
    CLIENT                          100
    FLG_USER_STAT
    OBJNR                           QM000200000010
    ONLY_ACTIVE                     X
    SPRAS                           EN
    BYPASS_BUFFER
    Export parameters               Value
    ANW_STAT_EXISTING
    E_STSMA
    LINE                            OSNO NOTE   "this is the status text
    USER_LINE
    STONR                           00
    if line CS 'DELV'
    "ignore the Order
    endif.

  • Error while assigning Smartform in Sale Order

    Dear All,
    For taking the sale order printout, I do not want to create a SAP SCRIPT Form. So in NACE transaction, I have created one output type 'ZA01' and assigned a new Smartform to that output type.
    Now, after adding this output type in Sale Order, when I am going to print the sale order using ZA01 output type system is giving error that WRITE_FORM is invalid, START_FORM is missing.
    Please tell whether can we assign the Smartform to sale order or not. And if yes then how to correct the error.
    Kind Regards,
    Vishal

    Dear Raghu,
    I have checked it. And the entry is present in that table. But this error is coming only when I am giving Smartform. But system is not giving any error when I am giving script form.
    So the problem is only for SmartForm.
    Regards,
    Vishal

  • Error while raising Production Order

    Experts
    I get an error for a particular Item while raising a PRODUCTION ORDER
    'Location Input does not match the warehouse location of Item'
    I work in SAP B1 2007B - PL 18
    It will be great if someone can give me the reason/solution for the above ERROR.
    REGARDS
    KARTHIK

    Hi,
    Parent item and child items warehouses location should be same.......
    Regards
    Deepak Tyagi

  • How to find out the list of Production orders created for sales orders

    Dear All,
    Our company wants to generate a report for a List of Materials sold out in a particular Product Hierarchy. Along with that we want to know the list of Production orders created for the sales orders.
    How to identify the production orders which are created based on Sales orders.
    Kindly suggest.
    Regards,
    Mullairaja

    Check these threads
    [Sale Order & Production Order|Sale Order & Production Order;
    [Re: Linking Production Order against a Sale Order MRP run|Linking Production Order against a Sale Order MRP run;
    thanks
    G. Lakshmipathi

  • Creation of Production order in Past dates using RFC

    Hi all,
    I am using RFC to Create a production order based on the datas available from MES systems.Here the process flow is From MES system datas are passed to interface in file format then from interface will calll the RFC so that the RFC will do the function of Creating the Production order & release in SAP.
    Here i face an issue that i have 3 shifts at the end of every shift i have to tranfer the datas from MES to SAP .Which means i have to create 3 Production orders for a day.My issue here is the third shift datas will be availble for me in the next day morning after that only i am able to transfer theses datas to SAP.In this case i want the SAP to create th Production order  for third shift in the Previous day time.
    Ashift - 7AM t0 3PM
    BShift-3PM to 11PM
    CShift-11 PM to Next day morning 7 AM
    I need SAP to create Production order for Shift C on 11 PM of the Previous day when i transfer it on next day morning 7AM.
    Is this possible.
    Thanks in Advance,
    MBN

    Hi,
    I mean the Production Created date as the basic date only.
    My requirement is for the C shift i will get the output from the MES on the next day morning.After that i wwill transfer the production datas to SAP throgh Interface at that time i need the basic start date & time  of the production order to be the C shift starting time that is previous day night 11.00 PM.
    Eg.
    C shift  date 12.04.2010 night 11PM to 7AM
    i transfer the c shift production datas from MES to SAP on 13/04/2010 Morning 7AM.But i want these datas to create basic start date & time of the production order on 12/04/2010  11PM.
    What should be done to get these.
    Thanks in advance,
    MBN

  • Creation of a new costing variant to cost production orders

    Hi all,
    Currently the business is only able to cost a vehicleu2019s production order at the standard cost value which is determined at the start of the year.
    During the year a number of the purchasing values will be updated with a new contract price, this increase will not be reflected in the standard cost until the end of the year.
    The business would like a new costing variant which will cost an already created vehicle in SAP by its production order at the u201CCurrent Costu201D (current purchasing info record value).
    It will need to be calculated in the following way:
    u2022Purchased material - at purchase cost from info record (see below for applicable exchange rate).
    u2022Manufactured material - child material to be at purchase cost (from info record). Routing cost (labour\overhead, etc) at current criteria.
    u2022No allowance for CPI.               [WHAT_ DOES_CPI_MEAN_?]
    u2022Exchange rate: ideally, fields are provided to input exchange rate. If this is not possible then apply current monthu2019s exchange;
    u2022FRAu2019s - current rate from the info record.
    u2022Summary of total material cost by origin code with ability to drill down to line level.
    u2022The output of the report will need to be similar to the layout of a production order but with only the current value displayed.
    We have some problems to understand this request: we don't know the transaction which is used by the users to costificate a production order and what does it mean "CPI". We are not sure on the feasibility of the costing variant requested because it must consider both actual costs and standard costs.
    It should costificate in this way:
    (Actual Cost of Row Material * Bom's standard qty) + (Standard price * Standard production time (in the routings).
    Could you help us?
    Many thanks to all of you, best regards.
    Alanis

    You can create a new costing variant with  a valuation variant that points to inforecords for material prices. Go to OKKN t-code and create the required configuration and start using the new costing variant to measure the current cost of making vehicles.

Maybe you are looking for