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

smartform help

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2007 at 01:11 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2007 at 01:15 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2007 at 01:16 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2007 at 02:17 PM

    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

    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.