cancel
Showing results for 
Search instead for 
Did you mean: 

help on smartform logic

Former Member
0 Kudos

hello experts!

my requirement is based on purchase order no.i have to display the plant detials vendor detials comp.tax details............and display in form layout the tables are ekpo,ekko,t001w,lfa,J_1imocomp....send some source code ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Have you wrote the Source code of the Smartform Driver program for PO?

Anyhow you have to use the tables EKKO,EKPO,LFA1 ect to fetch the PO related data to display.

Take the EKPO-WERKS Plant number and fetch the plant address data from T001W table and display it

Similarly fetch the tax details

If you wants to write the code in the smartform itself

CREATE PROGRAM LINES in the respective window and write the code to fetch the above details

If you are not sure of writing a driver program and designing the smartform see the std Smartform and program for the Pur order and copy them and use it

PUCHASE ORDER

Output type : NEU

ScriptForm Name : MEDRUCK

Driver Program Name : SAPMF06P

smartform name : /SMB40/MMPO_L

smartform driver program: /SMB40/FM06P

Regards

Anji