Application Development 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: 

smartform help

Former Member
0 Kudos

Hi experts,

i am bala. now i am working in smartform. i need some help in smartform.

my standard SAPSCRIPT : J_1BNOTA_FISCAL

Standard PRINT PROGRAM : J_1BNFPR

now i have to change in smartform layout and i need to change some of table and fields. so i will copy that sapscript and i create custom smartform ie Z_J_1BNOTA_FISCAL. now i want to change few table and fields in that custom smartform.

for example TRANSPORT WINDOW, in that window standard smartform using "J_1BPRNFTR-NAME1" instead of that place i want to use following table and field name ie"LFA1-NAME1" .so anyone please tell me where i can write the code.then how can i print that value in particular place.my question is i want to write any extra code in PRINT PROGRAM?

anyone please suggest me to fix this problem.thanks for advance and i will give good points also.

it's possible anyone please provide me a step by step how to change that values.

thanks and regards,

B.Balamurali

4 REPLIES 4

Former Member
0 Kudos

In you need not write the code in Print Program.

In SMART FORMS itself you can write the code. In the Window in which you want the values you can declare (CREATE --> FLOW LOGIC --> PROGRAM LINES).

There you can write any ABAP statements including DB SELECT's, internal table declarations... etc

Former Member
0 Kudos

Hi Bala,

In that Transport window u have to insert Program lines.

select the Transport window and right click on it, now click on code lines, there u have to write the code. and in that u have to define the input parameters and output parameters.

I think i am right, if not excuse me and if u can clearly explalin this issue i will help u. Bcoz recently i have wrked on this.

Regards,

Ramana

Former Member
0 Kudos

in the smart form where this field is used for display purposes, at that point u need to replace ur old field with new field... similarly, u need to modify the driver program also.

Former Member
0 Kudos

Hi experts,

Thanks for your reply.can you please tell me step by step how to create new table and fields and where i can write the code in that smartform.then i need to change any code in print program.anyone please tell me step by step information.thanks for advance.

thanks and regards,

Bala