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 C
Hi
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
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. -
SAP Interactive Forms and SAP Smart Forms for Human Capital Management
Hi gurus,
pls help me understand what are SAP Interactive Forms by Adobe and SAP Smart Forms for Human Capital Management (HCM)?
regds
jackread here
http://wiki.sdn.sap.com/wiki/display/ABAP/SAPInteractiveFormsbyAdobe#SAPInteractiveFormsbyAdobe-WhatarethedifferencesbetweenSmartFormsandAdobeForms%3F
What are the differences between Smart Forms and Adobe Forms?
For both of them, SAP dynamically creates a function module that must be called from an ABAP program to generate the form
In Smart Forms, it is possible to add ABAP code during generation of the form, that is not possible with Adobe Forms
It is possible to add javascript or FormCalc code in Adobe Forms, which is executed during the generation of the form
Other differences are indicated in Note 1009567 Functional differences SAP Interactive Forms/Smart Forms
Smart forms Vs PDF print forms - pros and cons, by Francois Gendebien, 2007/04/30
Use smartforms compatible interfaces with PDF forms, by Francois Gendebien, 2007/03/16 -
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,
NareshHi,
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. -
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 -
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 -
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 -
Dear All,
We have designed a smart form for printing of excise invoice. The invoice is in two pages. The second page printing is not aligned and starts immediately after the finish of the 1st page.
There is no buffer place between two pages.
How can we provide a buffer between two pages so as to print the 2nd page in alignment with the pre printed stationary and the first page?
Regards.
Milind DugadeIt very dificult to give you guidance w/o seeing your smartform config. page format. If you are using custom page format or standard page format. Have define next page properly or not. What are line count in first page etc etc.
-
Smart form for commercial invoice
hi ,
i have to develop a smart form for commercial invoice for argentina in spanish language only.
is there any standard smartform in SAP which i can use as a reference for this.
or any help regarding this you can tell.
any help is appreciated.Hello Amit,
you search RVINVOICE in sap script.
goto SMARTFORMS> Utilities>Migrate SAP Script.
and select your own lang EN and make ur Invoice...make changes as per client requirement.
and then convert to Ur required language.
regards,
Sujeet -
Smart Form for invoice list?
Hello,
Has anyone experience with Smart Forms based on a invoice list (transaction VF23). I have been testing with the Smart Form for a single invoice (LB_BIL_INVOICE and program RLB_INVOICE) but get the impression that this cannot be used for the invoice list. My environment is a SAP R/3 Enterprise.
Kind regards,
Olaf PohlmannHI,
TRY F_INTITAR_SF.
Regards,
Gayathri -
*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 -
Create Smart form for Pick list
Hi,
How do i start for creating a smart form for pick list.
Regards
Ajayhi
refer this
http://www.****************/Tutorials/Smartforms/PO/page1.htm
Edited by: Swetha on Jul 10, 2008 6:15 PM -
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. -
Smart Form for Delivery Returns
Hi guys
I am in the process of defining a Smart Form as an output after doing a Goods Return in MIGO via a Delivery.
And I am using the form ZSD_DELNOTE_SUPP in the transaction 'SAPSMARTFORMS'
however, i am not able to determine which are the fields that would be relevant to defining this....
I keep putting in and taking out fields, but I am still not able to generate an output
Can anyone please shed some light on this
Thank you
RukshanaHiya Andrew
if you type in SMARTFORMS - it takes u to the form painter.
I wish I could use a standard existing form but I dont knw any
My requirement is
When we do a MIGO for a Returns Delivery {A02 return Delivery -movement type 122} via a SD delivery document, we need to generate an output.
My transactions would be - MIGO, then VL02n, then MB02 and I attach the output type to my material document;
I do a get printout now, however its very basic and not what the users need.
So I need to create a Smart form; My problem is that I did find a standard smart form for deliveries from SAP Help - ZSD_DELNOTE_SUPP but this holds only SD specific tables and fields
My requirement includes MM specific stuff too - and thats where I am stuck
Thanks for the support
Rukshana -
Hi Technical geeks,
I am right now doing an analysis on Payment advice Print Program. Other than Program RFFOEDI1 isn't there any way by which we can print the form for payment advice. Can't we directly print from F110 transaction.
I need to use Smart forms for printing my Payment Advice. I find only standard SAP Script available for this purpose. this is quite urgent.
Thanks in advance
RamachandranHi, thank you. I'll test.
You mean, comment these loop:
* FORM AVIS *
* Druck Avis *
* Gerufen von END-OF-SELECTION (RFFOxxxz) *
* keine USING-Parameter *
FORM AVIS.
* Abarbeiten der extrahierten Daten *
IF FLG_SORT NE 2.
SORT BY AVIS.
FLG_SORT = 2.
ENDIF.
LOOP. -----------------------------------------------------> THESE LOOP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*-- Neuer zahlender Buchungskreis --------------------------------------
AT NEW REGUH-ZBUKR.
PERFORM BUCHUNGSKREIS_DATEN_LESEN.
ENDAT.
*-- Neuer Zahlweg ------------------------------------------------------
AT NEW REGUH-RZAWE.
then, the "reguh" table, have only the records that I want ( type pay = N) or I have to filter in the smartform?
Thanks you very much.
Marc
PD: is there a easy way to debbug it? I have to execute always F110???
Maybe you are looking for
-
How to write to mounted disc image
I need to add a file to a disc image I created, but it always comes up no write no matter what I do. Anyone know a good tip to do this? Thanks.
-
To print the ALV report on a printer
Hi all, I want to print the report that is displayed on the screen. I have given my pf-status so, normal print functionality is not working. So I have tried adding in a function module GET_PRINT_PARAMETERS. This is printing but the font is very small
-
Windows Xp Cannot Uninstall or Install Adobe Air.
I installed a new application that when I booted it It displayed the "This application requires Adobe air wich cannot be found" error. I already have adobe air, so I tried installing the latest version of air (didn't work), then after that I tried un
-
If I update from IOS 5.0.1 to 5.1.1 will I lose all my GPSHD Motion X map data? When I updated to IOS 5.0.1 I lost about 25GBytes of map data because Itunes will not back up my GPSHD map data.
-
I do not know how to restore the awesome bar function. All I get now is the AVG Search window when I try to open a new tab.