New smart form picking enjoy purchase order /SAPDII/SPP_ORDER

Hi Experts,
Ours is a new implementation project.
Requirement is to design a new smart form for purchase order.
The print program for the purchase order is loaded.
When I go for print preview the print program is calling the enjoy PO and not my form.
I checked in the transaction NACE
PRINT PROGRAM : Z_SMBZA_ZA_FM06P
FORM ROUTINE :ENTRY_NEU
FORM : -
PDF/SMARTFORM : Z_MMPO_ZA
My print program has 2 includes
INCLUDE Z_SMBA0_AA_FM06TOP.
INCLUDE Z_SMBA0_AA_FM06PE02.
Every thing is working fine except with the following piece of code
IF NOT tnapr-sform IS INITIAL.
    lf_formname = tnapr-sform.
  ELSE.
    MESSAGE e001(ssfcomposer).
  ENDIF.
Here I am getting tnapr-form as /SAPDII/SPP_ORDER and not Z_MMPO_ZA
If I change the field to Z_MMPO_ZA in debugging it works fine and I am getting the output of my form.
In the table TNAPR the field SFORM  shows Z_MMPO_ZA
In the table NAST the field PFLD3 shows /SAPDII/SPP_ORDER
Can some one help me how to make the program by default read my form and not /SAPDII/SPP_ORDER
Thanks
Joshi

Hi,
IF NOT tnapr-sform IS INITIAL.
lf_formname = tnapr-sform.
ELSE.
MESSAGE e001(ssfcomposer).
ENDIF.
In debugging check what is value in TNAPR-KSCHL and confirm whether this is the desired output for PO printing.
Also check in PO Header --> Messages, what is the output type configured there. If it is not the desired output type, try adding your desired output type there and chek the print preview.
Also confirm the NACE settings are correct for your Output Type used wihile taking the PO printout.
Thanks & Regards,
Harish

Similar Messages

  • How to create a smart form using the purchase order

    hi everybody............
    i have created one purchase order, i want to print that PO using smartforms rather than scripts. how can i do it, can anyone help me out in solving the issue. i am using the version sap 4.7
    Edited by: mhyderali on Aug 21, 2009 4:08 PM

    Hi,
    Before answer your question few things i would like to kno:
    1. currently is there any script is printing while displaying output.
    2. do u allready hae a smartform or you are going to develop a smartform.
    3. if you dont have a smartform and there is a script attached then you can convert script into smartform and then you can change in the smart form accordingly.
    4. after devloping a new smart form or converting script into smartform what you need to do is go to V/83 transaction give Output Type which is associated with script and Application area (for purchase order i.e. EF). then press ok screen will display here you can change the name of your form name under the form column.
    6. if you dnt have the Output type then you need to create a output type for the purchase order.
    Please let me know if you have still some question.
    Thanks
    Narendra

  • Availability  check in Enjoy Purchase Order & Requisition

    Hi Experts,
    The availability check is used in 4.7E also but what is difference in Ecc 6.0 or new functionality added
    Can any one plz let me know
    Regards
    Pratap

    Below is capture from sap release documentation :
    Availability Check in Enjoy Purchase Order and Requisition
    (Changed)
    Use
    As of SAP ECC 6.0, SAP_APPL 600, display and checking of availability are invokable separately in the
    Enjoy purchase order and requisition in line with the system behavior on the Sales side.
    You invoke the display and checking of availability in the Enjoy purchase order (transaction code
    ME21N) and the Enjoy purchase requisition (transaction code ME51N) as follows:
    - To display the availability overview, choose Environment -> Availability
    - To check availability, choose the Check Availability icon.
    13.6.16.3 System Behavior After Availability Check for an Item (Changed)
    Use
    If you carry out the availability check for an item of a stock transport order, hitherto the system adopted
    confirmations as per the desired date/time only.
    SAP AG 30
    ______________________________________________________S_A_P_-S_y_s_te_m_
    As of SAP ECC 6.0, SAP_APPL 600, you can define in Customizing how the system reacts if the desired
    quantity cannot be confirmed for the desired date/time.
    You have a choice of two settings:
    - Confirmation as per desired date/time
    This is the standard setting and corresponds to previous system behavior.
    - Delivery proposal
    - Full confirmation
    Effects on Customizing
    You make the settings in the Rule for Adoption of ATP Results in Purchasing field in Customizing for
    Purchasing under Purchase Order -> Set Up Stock Transport Order -> Assign Delivery Type and
    Checking Rule.

  • Automatic picked up purchase order during shipment cost cal

    Hi,
    We have one issue system picked up automatically Purchase order which having account assignment category "U".We have config new account assignment category "I" for some specific reason.Now we want that during shipment cost calculation (VI01) system automatically picked up purchase order with having account assignment category "I" intead of u.
    Please guide.
    Regards'
    Kumar

    Dear Arif,
    Please check the shipment document is there any error log exists
    Check the shipment cost having the value and Transporter(Vendor) and it is getting transfer to FI.
    After checking the transfer chek sytem will create the PO while saving the shipment cost document.
    I hope it will help you,
    Regards,
    Murali.

  • How to Generate a complex smart form for the Sales Order different pages h

    How to Generate a complex smart form for the Sales Order different pages has different page Layouts  explain me?

    in print program in interface when calling the form there should be some option to tell it to make a NEW spool everytime.
    I have it in mind for sap-script it is ITCPO-TDNEWID. Dont have it in mind for SAMRTFORMS but still it should work somehow similar.

  • How to do form personalization on purchase order cancell functionality

    Hi,
    how to make form personalization on purchase order form so that user should not cancell the PO.
    Please suggest.
    Thanks

    This is already available in the additional line information..though..
    If you still want that at line level to be displayed..maybe you need to customize the form...not sure how u can handle that logic
    Mahendra

  • Enjoy purchase order transaction

    Hi All,
    Can anybody tell me how get idea on Enjoy Purchase Order.
    ie, how to update it ie, using bapi.
    Can anybody explain it in detail.
    regards,
    phaneendra.

    Hi,
    Check reply from vijay babu using BAPI_PO_CREATE1
    BDC for ME21N
    Regards

  • New Condition table / access not getting picked in purchase order.

    I have created a new condition table for the tax to be calculated for Site / Material combination. The access sequence is also crated.
    When I created the purchase order the condition / tax is not getting picked. When I checked in the analysis, I found that the error was Access not made (initalize field) for the site.  The material is being picked up.
    Please note that the site is getting picked from KOMK table ( I think it is a header table), while the site is actually there in the line item level in the po.
    Request your help at the earliest.
    Regards,
    Veena.

    TCODE OBQ2
    Select the tax access sequence. Click on accesses. Tick the right combination required site / article . then click on the fields tab. This will take you to the next screen. There click on the field for which you want to change the selection table and then click on field catalog at the bottom of the screen.
    This will take you to the field catalog screen. there select the table and field and then save.
    With this procedure you can select the required field into KOMK OR KOMP.
    Regards,
    Veena.

  • New Spool Request for each purchase order

    Hi all,
    Whenever i create Purchase Order, spool is generated. But when i create one more purcahse Order new spool is not getting generated.
    It is goind inside the same pool.
    I want the spool number, so i can generate the pdf for the PO form and send it through mail through workflow.
    Kindly adivce me how to generate new spool evertime when new PO is created.
    Regards,
    Rahul.

    Hi,
    Generated Spool request number is in table TSP01.
    Retrieve that number and pass to function module CONVERT_ABAPSPOOLJOB_2_PDF to generate PDF.
    SO_DOCUMENT_SEND_API1
    This function module enables you send a new document including any existing attachments. The document and the attachments are transferred in the same table. They are created when sent and can also be placed in the sender's outbox.
    Regards,
    Supriya.

  • IMG settings after creating new output type for a purchase order smartform

    Hi all,
    Do I need to make changes in IMG after creating a new output type in NACE for a purchase order smartform?
    I have customized a purchase order smartform according to the requirements and copied an existing output type and assigned the custom form name.
    When I am trying to create a purchase order to test it, I am going to the message tab for assigning the output type and if I press F4 on the output type field or if I give the copied output type there, it says output type is not defined.
    Do I need to make any changes in SPRO?
    Regards,
    Anik

    Yes. You have to add the new output type to the proper message determination schema.
    Go to the IMG and select Materials Management -> Purchasing -> Messages -> Output control -> Message determination schemas -> Define message schema for purchase order -> Maintain Message Determination Schema: Purchase Order.
    Select the proper schema, then Control Data and insert your new output type into the schema (eventually with any requirement that may be necessary... you probably want to use 101 like in case of the regular NEU message).
    This should do it.

  • New Smart form for Tax calculation

    Dear Consultants,
    I am new for ABAP module, I want to create one smart form, for tax calculation. As per the attachment Most of the fields are standard, only the value I want to pick from Different Infotypes and RT table. please suggest how to create smart form.
    Thanks & Regards,
    Naresh

    Hi,
    create a executable program, pass the all values to Internal table.
    create the structure as same as internal table.(eg: ztable).
    create table type for this structure(eg: ytable)
    T-code: Smartforms.
    click the Form Interface tab, click table . click table
    in that declare the  variable (itab like ytable).
    click the form Painter,
    desgin the output structure.
    Select "Fieldlist on/FF''.
    drag and drop the fields
    Right  click on the main window create a Window -> right click on create window -> click table.ble
    add vertical lines to the table.
    Right click on the mainwindow->flowlogic->loop. enter the itab name.
    activate the smartforms. execute.
    copy the generated number.
    goto to abap editor program.
    Delcare:
    DATA : FM_NAME TYPE RS38L_FNAM.
    CONSTANTS C_FORMNAME TYPE TDSFNAME VALUE 'ZSMARTFORM4'. (smartforms name)
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
                     EXPORTING
                       formname                 = c_formname
    *                 VARIANT                  = ' '
    *                 DIRECT_CALL              = ' '
                    IMPORTING
                      FM_NAME                  = fm_name
    *               EXCEPTIONS
    goto to pattern paste the number and execute.
    comment the number and add fm_name.
    execute.
    Regards,
    Venkat.

  • Gross price for BASB Condition is not picking in Purchase Order invoice tab

    Hi Gurus
    In taxinj -- conditional base column i added 362 and
    in pricing procedure for gross price in subtotal column i added 6
    but even though when i click invoice tab while creating Purchase Order i am not getting gross price for BASB condition same as gross price in pricing procedure it is picking some different value such as either net value or manual excise from pricing procedure JEXC condition value.
    what went wrong.
    Rgds
    Shrikant Kamat.

    Hi Saplearner's
    Is there any body who will focus on this issue
    I have maintained all this accordingly, but the problem lies over here
    Pb00-- 100 
    ra01---  2   discount
    net--  98
    jexc(16%)--15.68 ( MANUAL EXCISE)
    net amount including tax-- 113.68
    freight(2%)-- 1.96
    Actual-- 115.68.
    BASB-- 115.68  ( It should be 100)
    In short i have given summary above, now let me explain
    when i am giving 100 as gross price,discount-2 and if i dont give JEXC, then BASB is coming 100 that is correct.
    when i am giving 100 as gross price, discount 2 and if i give JEXC  , then BASB is  picking as 115.68.
    Problem is here when we give  JEXC  manual excise.
    Rgds
    Kamat.
    Edited by: shrikant kamat on Feb 16, 2009 2:09 AM
    Edited by: shrikant kamat on Feb 16, 2009 2:09 AM
    Edited by: shrikant kamat on Feb 16, 2009 2:10 AM
    Edited by: shrikant kamat on Feb 16, 2009 11:57 PM

  • Form settings in Purchase order form

    When designing my purchase order u201Cform settingsu201D, I canu2019t seem to find how to show the u201Cwarehouse nameu201D NOT the u201Cwarehouse codeu201D in the u201Cship to - nameu201D field?  Can you pls assist.

    Only warehouse code is available in PO form setting.  If you need warehouse name, you have to create row level UDF.  Then use FMS to bring in the name.
    Thanks,
    Gordon

  • Error: Form not found : Purchase Order

    Hi,
    When I enter all the details in a Purchase Order or Purchase Quotation and try to Add it, it gives me an error "Form not found."
    Could any one guide me as to what could be done to avoid this error?

    Hi Jimmy,
    Thanks for your reply, but I believe, it has nothing to do with the server as it is running fine.
    There could be a small error in the form setting for the Purchase Order.
    The error message number is [6600-9].
    Expecting a reply from any one who is aware of this issue.
    Thanks and regards
    Sudatta Mohanty

  • New TCode for retention from purchase order

    Hi
    I am in SAP Ecc6.0 with EHP3. There is a new TCode in SAP for downpayment - ME2DP. For using this tCode, we have to give downpayment category in payment processing tab in purchase order.
    Then we excute ME2DP. Similarly there is a Retention field in payment processing tab in purchase order. But i want to know the tCode where i can execute retention (as there is ME2DP for downpayment)
    Edited by: Deepak Agrawal on May 12, 2010 3:18 PM

    Meera,
    Which version of SBO are you using 2005 or 2007?
    I don't think Serial numbers can help in this scenario.  There is no hard allocation or blocking possible using Serial numbers.
    This is the Work around I am thinking about.
    Set the items to be Batch Managed - On Every Transaction
    When performing Goods Receipt, enter the Sales Order Number as the Batch Number
    When creating the delivery, using SBO_SP_TransactionNotification we can easily check the Batch of the Item being selected and verify it with the BaseRef of Delivery lines to match with Sales Order number.
    If the numbers don't match we can warn user with message, "The items batch reserved for Sales Order xyz"
    Even if you make a mistake when entering the batch number same as Sales Order number when doing a goods receipt. It can still be traced and blocked during delivery.
    Hint: The Batch table records the Goods Receipt transaction along with the BaseDocument number, Base Ref, etc
    If you decide to go this route, I could help you further.
    Let me know
    Suda

Maybe you are looking for