Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Form interface- Smartform

Former Member
0 Likes
438

Hi Experts,

                    I want creat a smart form for printing invoice but i got confusion  due to the form interface and Global definitions.. what i have to do with those fields?.. Here I post that question, pls give me the way to complete that..

                   I need 3 table (kna1,vbrp,&vbrk) details for Billing document details and Customer Header & Item details.

From VBRK:

Invoice Number      : vbeln

Sales Organization  :vkorg

Distribution Channel :vtweg

Division     :spart

Date           :fkdat

From KNA1:

SOLD TO        : kunnr

NAME             : name1

CITY               : ort01

COUNTRY     :land1

POSTAL CODE pstlz

From VBRP:

Item no: posnr

Material no: matnr

Description: arktx

Quantity: fkimg

Netvalue:netwr

What  i have to enter in the form interface and global defenitions field and pls give me the driver program  to pass these..       

Sincere Thanks in Advance.

Moderator message : Requirements dumping not allowed, search for available information before posting.  Discussion locked.

Message was edited by: Vinod Kumar

1 REPLY 1
Read only

former_member209818
Active Contributor
0 Likes
392

Hi Srinivasa,

You are putting a development in the SDN 🙂

anyways.. i will simply explain what is Form Interface and Global definitions... you can decide what you need to put in Interface and Definition...

Interface -- Every Smartform creates a Func Module in the background which one need to call from Driver program. Generally driver program collect all the data which needs to be printed using the smartform.. Ths collected data is passed from Driver Program to Smartform using the "Interface". This way data collected in the Driver program will be available inside the smartform.

Global Definitions -- Its similar to Top Include in a form pool.. Here you can delcare the varibale which you need to use for your manipulation of the smartform printing..data declared here will be available in all the smartform nodes. But only inside the smartform.