Smartforms for SAP process orders.

Hi,
We want  to use smart forms instead of SAP scripts for process order for various reasons.
COnfig does not allow using smart forms.
So we called the smart form in the print program of the sap script.
But this process is not using the configuration ( OPK8 or CB85).  Its always picking the default printer from the user profile.
Did any one do this before?  if yes what is the process followed.
we are using the function CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
to print the smart form.

Hello,
SAPScript use the structure ITCPO to know the printer to use and all the configuration.
You have to transform ITCPO to SMARTFORMS parameters to have the same behavior.
It will be something like that in your abap code :
SAPScript to Smartforms
  PERFORM convert_itcpo_2_ssf
      USING print_opts
            print_co-screen
            sy-langu
      CHANGING ls_control_param
               ls_composer_param
Display Smartforms
    CALL FUNCTION lf_fm_name
      EXPORTING
        control_parameters = ls_control_param
        output_options     = ls_composer_param
        user_settings      = space
FORM convert_itcpo_2_ssf
    USING ps_itcpo TYPE itcpo
          p_dialogue TYPE c
          p_spras TYPE sy-langu
    CHANGING ps_control_parameters TYPE ssfctrlop
             ps_output_options     TYPE ssfcompop.
  CLEAR : ps_control_parameters, ps_output_options.
  ps_control_parameters-device = 'PRINTER'.
  IF p_dialogue IS INITIAL.
    ps_control_parameters-no_dialog = 'X'.
  ELSE.
    ps_control_parameters-no_dialog = ' '.
  ENDIF.
  ps_control_parameters-preview = ps_itcpo-tdpreview.
  ps_control_parameters-getotf = ps_itcpo-tdgetotf.
  ps_control_parameters-langu = p_spras.
  ps_output_options-tdteleland = ps_itcpo-tdteleland.
  ps_output_options-tdtelenum = ps_itcpo-tdtelenum.
  ps_output_options-tdfaxuser = ps_itcpo-tdfaxuser.
  ps_output_options-tdschedule = ps_itcpo-tdschedule.
  ps_output_options-tdsenddate = ps_itcpo-tdsenddate.
  ps_output_options-tdsendtime = ps_itcpo-tdsendtime.
  ps_output_options-bcs_reqst = ps_itcpo-bcs_reqst.
  ps_output_options-bcs_status = ps_itcpo-bcs_status.
  ps_output_options-tdarmod = ps_itcpo-tdarmod.
  ps_output_options-tdnoarmch = ps_itcpo-tdnoarmch.
  ps_output_options-tdtitle = ps_itcpo-tdtitle.
  ps_output_options-tdnoprev = ps_itcpo-tdnoprev.
  ps_output_options-tdnoprint = ps_itcpo-tdnoprint.
  ps_output_options-tdnoarch = ''.
  ps_output_options-tdiexit = ps_itcpo-tdiexit.
  ps_output_options-tddataset = ps_itcpo-tddataset.
  IF ps_output_options-tddataset IS INITIAL.
    ps_output_options-tddataset = 'SMARTF'.
  ENDIF.
  ps_output_options-tdsuffix1 = ps_itcpo-tdsuffix1.
  ps_output_options-tdsuffix2 = ps_itcpo-tdsuffix2.
  ps_output_options-tdcovtitle = ps_itcpo-tdcovtitle.
  ps_output_options-tddest = ps_itcpo-tddest.
  ps_output_options-tdprinter = ps_itcpo-tdprinter.
  ps_output_options-rqposname = ps_itcpo-rqposname.
  ps_output_options-tdnewid = ps_itcpo-tdnewid.
  ps_output_options-tdimmed = ps_itcpo-tdimmed.
  ps_output_options-tddelete = ps_itcpo-tddelete.
  ps_output_options-tdlifetime = ps_itcpo-tdlifetime.
  ps_output_options-tdautority = ps_itcpo-tdautority.
  ps_output_options-tdfinal = ps_itcpo-tdfinal.
  ps_output_options-tdcover = ps_itcpo-tdcover.
  ps_output_options-tdreceiver = ps_itcpo-tdreceiver.
  ps_output_options-tddivision = ps_itcpo-tddivision.
  ps_output_options-tdcopies = ps_itcpo-tdcopies.
  ps_output_options-tdpageslct = ps_itcpo-tdpageslct.
ENDFORM.               
Best Regards
Joë

Similar Messages

  • Report for open process orders

    Dear SAP experts,
    As the period of the process order from open to close is not short, will take 1 or 2 months in our business case, so we want to find a report which can get the information just like the output of KSPP(for planned orders) .
    I tried to analysis the logic of program KSPP, and it seems the function modules based on the planned orders only.
    Is there any way to get the similar report for open process orders?
    Many Thanks,
    Lisa Yao

    Is there any clues?

  • Process instructions for particular process order.

    Hi SAP gurus,
    How can I find table level data of process instructions (Like READ 1 , READ2 , INSTR ) maintain  for particular process order.
    If should not with respect to recipe but it should be respect to process order.
    Can any Plz buddy explain me the chain of  tables starting  from order number?
    Best Regards,
    Parag Save

    Hi...
    i could not find the table for the relationship u r looking for... but i would suggest the following...
    Go to SE16.. press F4 in the table list...go to the application help... their you will find tables for each module... even for PP you will find table specific to process industry... this you can search ur own what can be relevant for ur requirement... finally u can use SAP query to join some table to the get the information u want....
    Try this...hopw it should work for u...
    Neeraj

  • Single time receiving material from stores for diff process order.

    Dear all,
    I am creating 5 different process order for 5 different FG material.
    But for all 5 fg material one bill of material is common to all.
    While receiving material from stores that particular bom i need to get single time only from stores for all five process order.
    Kindly please let me know how to process.
    Regards
    Rajasekaran

    Hi Raja,
    As replied to your earlier threads, unique reseration is created against each process order. Accordingly issue also takes place againt unique reservation/process order. Use MB1A/MIGO for individual issue or pick list COIK where issue an be done by stores for all process orders in on go.
    In SAP Mill Products once DIMP is activated there is combination order functionallity available where if operations/ BOM of 5 orders are same then combination order (New order) can be created by combining the qty of 5 individual orders. Here Goods issue is done against the new combined order which is single order for total 5 orders qty. This functionality i used in Discrete Maufacturing.
    Have a look.
    Combined Production Order Processing (DIMP)
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/7c/ea814440ce11d385c70000e8200b4c/content.htm
    Thanks & Regards,
    Ramagiri

  • Global Standard for TECOing Process Orders

    Hi All,
    Is there any standard rule for how long it should take for a process order to be TECO'ed?
    Currently our PO's get TECO'ed anywhere between 2-8 days after confirmation. But we do have them all TECO'ed prior to month end. I would prefer to set a general rule (based on global and benchmarking standards) on how many days it should take us to TECO them.
    Appreciate your help and inputs.
    Thanks,
    Deeksha

    Dear Deeksha,
    Once the process order has been confirmed with final confirmation or say the complete confirmation,goods movements(Gi&Gr)
    activities are completed,then the TECO status can be set on the same day of final confirmation and GR or else on the next day.
    If my understanding is correct then SAP suggests to set the TECO status once the shop floor activities are completed and no
    where I could see the no of days for performing this activity.
    If required this can be individually set at process order level in COR2 or else as month ending activity by setting TECO for a list
    of process orders using T.Code COHVPI.
    Check and revert back.
    Regards
    Mangalraj.S

  • BOM Explosion for Multiple Process Orders

    Hi,
    I hope someone can assist me with the following: Is there a report I can run or transaction I can do to have BOM explosion for multiple Process Orders? I would like to input process orders for a week and see the BOM details per PO.
    Thanks

    Dear Sukendar,
    1.For this requirement you have to go for a Z report and you can give the Functional Spec's to prepare
    this report to your ABAP consultant.Prepare the input format,logic of the program and the output format.
    In the logic part you can make use of this Functional Modules's CSAP_MAT_BOM_READ or 
    CSEP_MAT_BOM_READ  or CS_BOM_EXPLOSION   or CS_BOM_EXPL_MAT_V2 .
    2.Using CEWB helps you to identify all the material that's having the BOM,but here the report does not
    shows you the level by level by BOM for a FERT.
    Check and revert back.
    Regards
    Mangalraj.S

  • Target Vs Acual Cost Comparison for multiple process orders

    Dear SAPians,
    I want to take a report for target vs actual cost for all process orders and product cost collectors created in a particular period. I have checked the standard report KKBC_ORD that serve my purpose but for a single order. I want the same report for multiple process orders and product cost collectors.
    Is there any standard report or should I create a report painter report. I have tried to create a report painter report based on library 7KO, but target cost was not showing for selected order.
    Kindly suggest.
    Shirazi

    Target Costs are available in library 601 for internal orders (and can be used for process/production orders).
    Regards,
    Adrian

  • Inspection type 04 should not generate Insp.lot for specific Process orders

    Hi Guyes,
    I Want to skip the Inspection lots generation for specific process orders of a particular material during Goods Reciept and stock should be directly posting in to Un-restricted stock.
    In the material master assigned with Inspection type 04.
    Please advise me the possible options to map this scenario.
    regads,
    Rao

    In  QDR1
    stage 10-click on insp stage
    stage 10
    no. of insp : 5
    new insp stage : 20
    rej : 1
    new insp stage : 10
    stage 20 - tick on skip
    stage 20
    no. of skip : say "5"
    new insp stage : 10
    rej : 1
    new insp stage : 10
    Now use this DMR in Header of inspection plan of material of process order.
    what this will do is after 5 inspections it will skip the next 5 inspection lots.
    Make sure :
    You can maintain setting for "maximum skip duration in plant level.
    In QM view click on Skip & auto UD
    Create variant in QA16 & run through QA17
    Here in QA17 maintain the duration after which you want to take UD
    Also make sure that in selected set maintain stock posting proposal for unrestricted.

  • Tcode to view fico related postings for one process order

    Hi Experts,
    Is there any trasaction code which can be used to view all related posting into FICO for one process order
    Thanks in advance.
    Narayanan
    Moderator: Please, search SDN

    Hi,
    Check In KoB1 T.code, Give Order Number and Date Range.
    Thanks
    Goutam

  • The Prerequisites for releasing process order

    Hi all,
    What are the Prerequisites for releasing process order?
    Can we issue the material against process order, if it is on CRTD status?

    Hi,
    Prerequiste for REL of Process Order -
    Process order should have CRTD status.
    Other with IMG setting, you can have order status directly REL once it is created also. See Prod Sch Profile setting.
    You cannot do goods posting (GI and GR) unless order is REL status. Not possible with CRTD status.
    Srini

  • Tcode for FICO related postings for one process order

    Hi Experts,
    Is there any Tcocde which can be used to view all related posting into FICO for one process order
    Thanks in advance
    Narayanan
    cross-post

    Hi Venkat,
    Don't know any tcode, but from se16n BSEG table u can extract document data by filling AUFNR field with process order number.
    Hope this helps
    Best regards
    Vimal

  • Extractor for PM process orders

    Hi Experts,
    We are looking for a PM extractor for process orders, this is to get component information (material details), we found 2LIS_04_P_MATNR but it's limited to production orders only, also tried filling setup tables for this extractors but not fetching process orders at all.
    http://help.sap.com/saphelp_nw70/helpdata/en/88/7fc73c0c52085be10000000a114084/frameset.htm

    Is there any clues?

  • Problem printing own smartform on releasing process order

    Hi,
    I copied the standard program PPPIMBRL pick list into my own zprogram which calls my own smartform on releasing a process order.  It has been also customized.
    However, the smartform is not always be printed OK, more or less 5% times it is printed without data. Its bizarre...
    Any help?

    Welcome to the Apple Discussions. Sometimes that message means iPhoto can't find it's themes. See if you can create a book and select a theme to use. If you can't you'll have to reinstall iPhoto as follows:
    Restoring iPhoto Themes
    First look in your User/Library/Application Support/iPhoto folder for a Themes folder. If you find it there move it to the HD/Library/Application Support/iPhoto folder and reboot. Then try iPhoto again. That may save you having to go thru the reinstallation process described below. If that doesn't work continue:
    1 - delete the current application.
    2 - delete any files with iPhoto in the file name that reside in your HD/Library/Receipts folder.
    3 - delete the Themes folder from your User/Library/Application Support/iPhoto folder. Also look in the HD/Library/Application Support/iPhoto folder for a Themes folder. If there is one there then delete it also.
    4 - mount the system disk that came with your computer, double click on the "Install Bundled Software Only" file and do a custom install selecting only iPhoto.
    After installing reinstall the latest iPhoto updater again followed by a repair of disk permissions with Disk Utility. Also make sure you're running the latest Quicktime version.

  • PP-PI - System status LKD for a process order - how to set/unset it

    Hi gurus,
    I need some help.
    I have to lock / unlock process orders inside a program (not manually).
    I would like to do this without using Batch Inputs, which are not reliable.
    I know the function STATUS_CHANGE_INTERN can modify the order status; but I don't know if the result I get is the same I get doing manually: "Process order" --> "Functions" --> "Restrict processing" --> "Lock"/"Unlock".
    Can anybody help me?
    Thanks in advance.
    J.

    Hi
    I found this thread which is talking about Internal Order Status change and also a solution for the same.
    [Status change|http://forums.sdn.sap.com/thread.jspa?threadID=1516496]
    Br,
    Vijay V

  • OSSNOTES for releasing process orders with missing parts in background

    Hi All,
    The bapi 'BAPI_PROCORD_RELEASE' is not releasing the process orders
    with missing parts in background.
    Is there any OSSNotes for releasing these process orders in backgound through this bapi.
    Pls help.
    Thanks .

    Hi Suri - Thanks for your response. I tried both with blank(individual and collective) and 2 (collective req. only) but I still get the same result. I found one other setting that can solve this issue and that is checking the activate full confirmation logic at the the MRP group level in OPPR. I will test more and let you know if that works but we dont use MRP groups here at our client and that is why I was little hesistant to set up collective availability check parameters at the MRP group level. But looks like this is the only option that we can use to get this resolved.
    Thanks,
    Bharath

Maybe you are looking for