Smart form for maint . order
hi
i have to make a smart form for maintenance order.
i would be required for following fields-
mant. order no, equipment no, maint date, task performed, purchase prder no, vendor no, spare to be used, reservation no.
kindly give the process for the same.
regards,
santosh
Hi Santosh
Pls see [here |http://www.sap-img.com/smartforms/sap-smart-forms.htm]
May be this will give u some inputs
Regards
Jignesh
Similar Messages
-
Hii Experts,
I am developing a smart form for purchase order. I am customizing the existing PO smart form according to the clients requirements. The customer needs fields Discount percentage, Excise duty and VAT/CST%... all these fields when i explored in transaction me23n come from a structure so the values come only at run time.. can anyone tell me the exact table and fields from where these comes so that i can retrieve it from there and display it in my smart form. The fields i need are discount percentage, excise duty and VAT/CST%. its urgent.REPORT ZMR_PURCHASE_ORDER.
types: BEGIN OF ty_lfa1,
LIFNR TYPE lfa1-LIFNR,
MCOD1 TYPE lfa1-MCOD1,
STRAS TYPE lfa1-STRAS,
MCOD3 TYPE lfa1-mcod3,
END OF ty_lfa1.
TYPES: BEGIN OF ty_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
txz01 TYPE ekpo-txz01,
menge TYPE ekpo-menge,
peinh TYPE ekpo-peinh,
brtwr TYPE ekpo-brtwr,
END OF ty_ekpo.
TYPES: BEGIN OF ty_ekko,
ebeln TYPE ekko-ebeln, "purchase doc
LIFNR TYPE ekko-LIFNR, "vendor
MCOD1 TYPE lfa1-MCOD1, "vendor name
STRAS TYPE lfa1-STRAS, "vendor add
MCOD3 TYPE lfa1-MCOD3, "vendor city
bedat TYPE ekko-bedat, "doc date
unsez TYPE ekko-unsez, "contact person
verkf TYPE ekko-verkf, "attn
telf1 TYPE ekko-telf1, "tele
ihrez TYPE ekko-ihrez, "ref
KNUMV TYPE ekko-KNUMV, "doc condition
ebelp TYPE ekpo-ebelp, "item
txz01 TYPE ekpo-txz01, "message desc
menge TYPE ekpo-menge, "qty
peinh TYPE ekpo-peinh, "rate
brtwr TYPE ekpo-brtwr, "gross
END OF ty_ekko.
TYPES: BEGIN OF ty_t685t,
kschl TYPE t685t-KSCHL,
vtext TYPE t685t-vtext,
END OF ty_t685t.
TYPES: BEGIN OF ty_line_item,
KNUMV TYPE konv-KNUMV, "condition number
STUNR TYPE konv-STUNR, "step
kposn TYPE konv-kposn, "item
KSCHL TYPE konv-KSCHL, "condition type
vtext TYPE t685t-vtext, "condition name
KAWRT TYPE konv-KAWRT, "base amt
KRECH TYPE konv-KSCHL, "calculation type
qty(13) TYPE n, "qty
kbetr TYPE konv-kbetr, "condition rate
kwert TYPE konv-kwert, "condition value
END OF ty_line_item.
data: wa_ekko TYPE zms_ekko,
wa_item TYPE zms_konv,
wa_lfa1 TYPE ty_lfa1,
wa_t685t TYPE ty_t685t,
wa_ekpo TYPE ty_ekpo.
data: it_ekko TYPE TABLE OF zms_ekko,
it_item TYPE TABLE OF zms_konv,
it_lfa1 type TABLE OF ty_lfa1,
it_t685t TYPE TABLE OF ty_t685t,
it_ekpo TYPE TABLE OF ty_ekpo.
SELECTION-SCREEN : BEGIN OF BLOCK ss_block WITH FRAME TITLE text-001.
PARAMETERS: pa_ver(2) TYPE c DEFAULT '0'.
SELECT-OPTIONS: pa_pord FOR wa_ekko-ebeln,
pa_date for wa_ekko-bedat.
SELECTION-SCREEN : END OF BLOCK ss_block.
SELECT EBELN LIFNR bedat unsez verkf telf1 ihrez knumv from ekko
into CORRESPONDING FIELDS OF TABLE it_ekko.
if pa_pord is not INITIAL.
DELETE it_ekko WHERE ebeln not in pa_pord.
endif.
if pa_date is not INITIAL.
DELETE it_ekko WHERE bedat not IN pa_date.
endif.
if it_ekko is not INITIAL.
SELECT lifnr MCOD1 STRAS MCOD3 from lfa1
INTO CORRESPONDING FIELDS OF TABLE it_lfa1
FOR ALL ENTRIES IN it_ekko
WHERE LIFNR = it_ekko-LIFNR.
SELECT ebeln ebelp txz01 menge peinh brtwr from ekpo
INTO CORRESPONDING FIELDS OF TABLE it_ekpo
FOR ALL ENTRIES IN it_ekko
WHERE EBELN = it_ekko-ebeln.
loop at it_ekko into wa_ekko.
READ TABLE it_lfa1 into wa_lfa1 WITH KEY lifnr = wa_ekko-LIFNR.
wa_ekko-MCOD1 = wa_lfa1-MCOD1.
wa_ekko-stras = wa_lfa1-stras.
wa_ekko-MCOD3 = wa_lfa1-MCOD3.
MODIFY it_ekko FROM wa_ekko TRANSPORTING MCOD1 STRAS MCOD3 WHERE ebeln = wa_ekko-ebeln.
ENDLOOP.
SELECT KNUMV STUNR KPOSN KSCHL KRECH kbetr kwert KAWRT from konv
into CORRESPONDING FIELDS OF TABLE it_item
FOR ALL ENTRIES IN it_ekko
WHERE KNUMV = it_ekko-KNUMV.
SELECT kschl vtext from t685t
INTO CORRESPONDING FIELDS OF TABLE it_t685t
FOR ALL ENTRIES IN it_item
WHERE spras = 'EN' and KSCHL = it_item-KSCHL.
LOOP AT it_item into wa_item.
READ TABLE it_t685t into wa_t685t with key KSCHL = wa_item-KSCHL.
wa_item-vtext = wa_t685t-vtext.
if wa_item-kschl = 'ZBP1'.
wa_item-qty = wa_item-KAWRT / wa_item-kbetr.
endif.
if wa_item-KRECH = 'A'.
wa_item-kbetr = wa_item-kbetr / 10.
endif.
if wa_item-kschl = 'NAVS'.
wa_item-vtext = 'Sales Tax'.
endif.
MODIFY it_item from wa_item TRANSPORTING vtext kbetr kschl qty
WHERE stunr = wa_item-STUNR and
kposn = wa_item-kposn.
ENDLOOP.
DELETE it_item WHERE kposn = '000000'.
DELETE it_item WHERE kschl <> 'ZBP1' and kschl <> 'ZD01' and kschl <> 'ZE01'
and kschl <> 'NAVS' and kschl <> 'ZSRV'.
sort it_item by kposn STUNR.
CALL FUNCTION '/1BCDWB/SF00000025'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
it_ekko = it_ekko
it_item = it_item
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 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.
endif. -
Standard print program & smart form for SALES ORDER
Hi,
I need
1. Print program &
2. SMART FORM
for "Sales Order".
and also please let me know how to migrate and do the required changes in smartform & print program.Hi Sameer,
Goto NACE tcode-> choose the application u want( like billing for invoice, PO)->output type->output type->processing routineon left side
Here u will find the standard program name and smartform .
Thanks,
Reward If Helpful. -
Sample smart forms for sales order details
M unable to retrieve the data from database to smart form variables.Please send me some standard smart forms names for sales order report.So dat i can c how dey r declared in standard forms.
Thanks & Regards,
santhosh Kumar.Hi santosh,
here are some of the standard smartforms-print programs
Inquiry /SMB40/RVADOR01 /SMB40/SDINQ_XX
Quotation /SMB40/RVADOR01 /SMB40/SDQUO_XX
Order Confirmation /SMB40/RVADOR01 /SMB40/SDORC_XX
Cash Sales Receipt /SMB40/RVADOR01 /SMB40/SDCSH_XX
Contract /SMB40/RVADOR01 /SMB40/SDCON_XX
Scheduling Agreement /SMB40/RVADOR01 /SMB40/SDSDA_XX
Delivery Note RLE_DELNOTE /SMB40/SDDLN_XX
Invoice RLE_INVOICE /SMB40/SDINV_XX -
How to use smart form for production orders
Hello Experts,
I have a couple of questions about printing out production orders from SAP, from OPK8.
My ABAPer has developed a smart form and I am trying to use the same for the list LG01, i.e. the object list.
Since, there was no place to assign a smart form directly, so the ABAPer has copied the existing print program , defined for my ref. order type and LG01 and assigned the new smart form inside the program. This new program has now been assigned against my ref. ord type, LG01 and all the plants, as seen in screenshot below.
Now, what is happening is that when I give print for my order, a pop-up screen asks for the printer. I give LOCL , check 'print now' and then click on the print preview.
I can see the new form that has been developed and it is alright.
Then, when I click on the back arrow, once again the print pop-up screen appears. Now, when I enter LOCL, print now and click the print preview, then I see another form open up before me. I am assuming that this is some form which was pre-configured in the system, under the section 'Forms', for the same object list LG01.
Do I have to assign the new smart form under the section "Forms' also, for the ref order type and LG01? or the change in the section 'print programs' is enough for the new form to kick in? Please guide me. I tried to but it gave the error that the form is not created in English. Also , my form is a smart form, not a SAPScript or PDF form, so I wonder if that will help at all.
Requirement :- I need to suppress this second form somehow but do not know how to do it. I want that only one form, i.e. my smart form should be printed out when someone gives print from the order.
Let me know if something is not clear.
Regards
P.RHi P,
Go a few steps down and remove flags on the documents you don't want to print:
this are just suggestions, they can be changed in your production order, in CO02, menu Order->Settings->List Control.
regards,
Edgar -
Hi,
I did Variant configuration..........if i entered a line item in sales order(VA01) i can see the Character and i can choose the value...like this i have a 5-10 chars and values for every line item..._I can see this fields in VA03 screen ->Extras->Configuration_
This data i need to print in Sales Order.....as a line items.(Character and Value)...if you know anyone related Table and Fileds................please give the table and field names......so that i can make the FS
Thanks in advance
Regards
DevHi,
Sales Documents VBAKUK VBAK + VBUK
VBUK Header Status and Administrative Data
VBAK Sales Document - Header Data
VBKD Sales Document - Business Data
VBUP Item Status
VBAP Sales Document - Item Data
VBPA Partners
VBFA Document Flow
VBEP Sales Document Schedule Line
VBBE Sales Requirements: Individual Records
SD Delivery Document LIPS Delivery Document item data, includes referencing PO
LIKP Delivery Document Header data
Customers KNA1 General Data
KNB1 Customer Master u2013 Co. Code Data (payment method, reconciliation acct)
KNB4 Customer Payment History
KNB5 Customer Master u2013 Dunning info
KNBK Customer Master Bank Data
KNKA Customer Master Credit Mgmt.
KNKK Customer Master Credit Control Area Data (credit limits)
KNVV Sales Area Data (terms, order probability)
KNVI Customer Master Tax Indicator
KNVP Partner Function key
KNVD Output type
KNVS Customer Master Ship Data
KLPA Customer/Vendor Link
Billing Document VBRK Billing Document Header
VBRP Billing Document Item
SD Shipping Unit VEKP Shipping Unit Item (Content)
VEPO Shipping Unit Header
Edited by: Neenu Jose on Oct 22, 2008 10:13 AM
Edited by: Neenu Jose on Oct 22, 2008 10:14 AM
Edited by: Neenu Jose on Oct 22, 2008 10:15 AM -
Hi,
I did Variant configuration..........if i entered a line item in sales order i can see the Character and i can choose the value...like this i have a 5-10 chars and values for every line item
This data i need to print in Sales Order......(Character and Value)...if you know anyone.............please give the table and field names......
Thanks in advance
Regards
DevHI,
Thanks for your reply.........
My abaper is asking .....CUOBJ field in VBAK....he needs Entries........but i cant able to find the data......How can i ????is thr ant specific Table and Fileds ....whihc i can fine CHAR and VALUES....for configurable materials in a SALES order...
Thanks in Advance
Regards
Lucky -
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. -
Smart form for cutting list---Urgent
Hi Experts,
I have to create a smart form for cutting list in PP module.
Selection criteria are:
1.) select all orders(AFKO-AUFNR) wiht AFVU-USR00 = 'CUT' where AFVU-AUFPL = AFKO-AUFPL
2.) Group according to material no.(AFKO-PLNBEZ)
Form fields are as follows:
Name : MARC-MATGR
Cut & Process date: AFVV-FSAVD where AFVV-AUFPL=AFKO0AUFPL
Ref Packing date: AFVU-USR00= ASSY_GAL of th superior order(AFKO-MAUFNR,where AFVU- AUFPL = AFKO-AUFPL)
Order : AFKO-AUFNR
Sales Order: AFPO-KDAUF of superior order(AFKO-MAUFNR,where AFVU-AUFPL = AFKO-AUFPL)
Item Number :
Qty: AFVV-MGVRG where AFVU-USR00='CUT' & AFVU--AUFPL = AFKO-AUFPL
& co many other fields form AFKO table.
I am bit confused what will be the fields & tabels i have to declare in Form interface & Global parameters.
What will be the internal table for the table which display data.
In the main page i have to show 10 colums i dont no how to define table for those 10 columns
As per the requirement can anywone please tell me in detail to solve these problems. like which r te tables i have to use in interface parameters & which wil be in global paramenters.
Which itab i will use to create the table in main window
& how i can declare 10 columns in that table.
Regards,
Nikhi nikil.
I use to follow this procedure.
1) Based on the select criteria.fetch values in to differnet itab's from differnet tables.
2) then try to put the selected rows based on condition into a single internal table.
3)u can send that final internal table from program and u have to use that internal table in form interrface.
4)design the smartforms and call the fields accordingly from the final inetrnal table .
5)u should be good in using select query ,read table statement etc.
check this with other and take a decision.some of them use to write codes then and there before using the fields using progarm lines.
but i am comfortable in my method.
mani -
*configure the Picking list(PL) output type,a smart form for PL.
Hello SIR,
I want to configure the Picking list(PL) output type,a smart form for PL but there should be an output type to print*.
i have assign the out type to shipping point in t.code ovlt .i have created picking list in t.code nact. i created sales order and delivery. i have check my picking list in ovl2n change mode picking out put is available in extra-picking output. i have checked my picking out put for smart form in systems-service-output control if i execute it show like no data to list. no spool request number has generated there.
so were i have to check picking list preview for smart form . is spool request number is necessary.plz help me to view preview of picking list.or plz say the steps to configure this to preview.
thanks,
agilarasanHi,
Go to Nace .The application for Goods Issues is
ME - Inventory Management -> select and click on output types ->select wa03 output type and click on processing routines here you can find the form name and the driver program name.So while printing select wa03 as the output type.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Regards,
Harini.S
Edited by: Alvaro Tejada Galindo on Dec 23, 2008 3:46 PM -
Hi,
Can any body tell me what is the application area for printout of PM orders and notification.
I would like to create a smart form for order and notification details.
Br,
ShritharPlease search in SAP. Go to Print control & smart forms. Press F1 by keeping cursor on that field. SAP will give the details & requirement of that field.
Application area will define under which that particular smart form can be used.
O - Maintenance Order
N - PM / QM Notifications -
Smart Form for cutomised Inovice, Functional spec
Dear all,
I need to give Functional specification for developing a smart form for Invoice. Tables are not as evident as we have in case of R/3. please give me general tips to give spec to abap consultant to fetch various fields.
where used list of tables for a particular field is also not helping much. I need
1) Bill to address
2) sold to address
3)condition data
4) terms of payment
5) reference date stuff
Please suggest me a general way or logic bassed on which i can ask my abap consultant to develop the smartform and driver prog as well.
Thnaks in advance,
Regards,
Kiran CHi
yes usually customers ask to adopt the same layout as they are already using. Usually I draw the layout on visio and assign a number for each field. In the spec I put the layout picture and and mention for which field where data will come from.
For example:
A. PO header:
Field number | Description | Source
1 | PO number | EKKO-EBELN
2 | Vendor code | EKKO-LIFNR
3 | Vendor name | LFA1-NAME1 * rule 1
C. Rules:
1 - select NAME1 from table LFA1 where LFA1-LIFNR = EKKO-LIFNR
Hope this helps.
Regards
Eduardo Chagas -
Creation of Smart Forms for PDF
Hi All,
I am new to SFP. So, please tell me how to create Smart Forms for PDF.
I already have an SAP standard form of Customer Invoice in this format (SFP) and I need to change the layout and add some additional fields in it as well.
Please guide me through the process. Earliest reponse will be highly appreciated.
Regards,
ShabbarHi,
I take that you meant PDF Forms in SAP.
Refer the following help links.
http://help.sap.com/saphelp_nw04s/helpdata/en/dc/f1783fe3263042e10000000a114084/content.htm
This PDF link (Has got many Pdf files)
https://www.sdn.sap.com/irj/sdn/interactiveforms?rid=/webcontent/uuid/d1088b7e-0c01-0010-c78e-984c0537e3ec [original link is broken]
Also check this Tech-ed 06 session at Amsterdam.
http://www.sapteched.com/emea/edu_sessions/session.htm?sid=317
Check this download from SDN.
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/2dd3dbcd-0401-0010-55b8-b10808ff688e
Is this you are looking for?
Feel free to revert back.
--Ragu -
Standard form for payment order creation
Hi,
I got a requiremnt to create a form for payment order creation,
can one plzzz guide me, do v hav any standard form available in sap, n also let me know the program for it.
Regards
ashwiniHi Aswini,
FPY1_CH_DTA_EZAG
FPY1_CH_DTA_LSV
FPY1_DE_DTA
FPY1_DE_DTA
FPY1_DE_DTAZV
FPY1_DE_DTA_ZZV
FPY1_DE_DTA_ZZV
FPY1_DE_EURO
FPY1_DE_EURO
FPY1_FR_BANQUE
FPY1_NL_DTA
FPY1_NL_DTA
FPY1_NZ_MTS
FPY1_NZ_MTS
check these forms
Regards,
Venkat -
How to user Smart form for the BID in SRM 4.0
Hello,
We have SRM 4.0 and we need to send the BID information to the vendor. This is because we have vendors that are not able to get in to our system and we have to send them a print out of the bid information so that they give us back the information. Then our users will insert it in the system.
It could be as an attach to the email or it could be printable in the program SPPS - Selecting and Processing Outputs.
SAP says that there is a smart form BBP_BIDINV_BID and BBP_BID_NOTIFICATION but I am not managing to make them work.
I found some messages to help solving specific problems so I assume it is possible to do this...
Is there someone that can help me?
Thanks very much.
My best regards,
Catarina CamposHi
<u><b>Here is the standard solution to use your own forms:-></b></u>
<u>- copy the smartform BBP_BIDINV_BID to ZBBP_BIDINV_BID (transaction SMARTFORMS) and apply your changes
- use BADI to call your custom form ZBBP_BIDINV_BID</u>
<b>For PDF output form change use BADI BBP_OUTPUT_CHANGE_SF.</b>
<b>For email notification change use BADI BBP_CHANGE_SF_BID instead.</b>
<u>You will find all relevant documentation in SPRO --> Supplier Relationship Management --></u>
SRM Server --> Business Add-Ins (BAdIs) --> Document Output -->
- Change Forms for Document Output
- Change Smart Form for E-Mails Relating to Bids
<u><b>Please go through the links below for more details -></b></u>
Re: how to use cutom smartform instead standard?
Re: Email message customization ?
Re: Bid Invitation Email Subject
Re: Email notification to bidder should reflect start/end date and time
Re: RFQ Smartform in SRM
Re: Standard Text
Do let me know.
Regards
- Atul
Maybe you are looking for
-
Calendar Alerts not working correctly
When I create event in my iPhone 5s Calendar (iOS 7.0.6), the alert setting is messed up. I set up 2 alerts (reminders): For example... The first would be 2 hours ahead The second would be 1 hours ahead. But... the calender ALWAYS put the Second aler
-
Logic: can't open old files..
Hi I recently downgraded from Lion OS to SL 10.6.3, i installed logic pro and tried to open the files that i'd made back when i was using SL10.6.7 but it says that 'the document "..."(the name of the file) could not be opened.' I formatted the comput
-
Deletion of PO after GR & Invoicing
Hello All, As per my understanding we can not delete the PO after GR or after invoicing(this is standard SAP). But we can delete the PO after GR & invoicing. Can anybody help to to avoid this? I want to stop deletion of PO after GR & Invoicing. Amit
-
How to develop Document approval stages for user forms
Hello friends I want to apply document approval stages to one of my documents how it can be done i want it to be something like purchase order . Thanks in advance, Atul
-
I wrote up a python script to post a file to http://pastebin.archlinux.org/. First tried it in Perl, but it kept sending only one line of the file and the regex to get the url wasn't working. So I did it in python instead. It resides here posted t