Skip to Content
author's profile photo Former Member
Former Member

Form interface- Smartform

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


From VBRP:

Item no: posnr

Material no: matnr

Description: arktx

Quantity: fkimg


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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 05, 2012 at 06:13 AM

    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 declared here will be available in all the smartform nodes. But only inside the smartform.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.