Skip to Content

Passing ITAB without creating STRUCTURE in SMARTFORM.....

how can i pass the Internal Table (ITAB) to the SMARTFORM, without creating a structure..

Currently ive to use the STRUCTURE because SMARTFORM doesnt recognises it..ive also tried declearing it in GLOBAL DEFINTION of the SMARTFORM, but was not possible to achieve..At the end, i ve to create a saperate structure for each ITAB..

That Means,

No of structure created inceases with no of itab passed..not an ideal situation..

Can GURUs show me the correct sloution for the situation..

Thanx,

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Dec 03, 2007 at 08:39 AM

    If you don't want to pass a stucture to your smartform,then you have to build your logic inside your smartform... define an internal table in your smartform... create program lines and write all your coding inside program lines.. I guess it helps to solve your problem.

    close the thread once your question is answered.

    Regards,

    SaiRam

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 04:25 AM

    Hi Naveen,

    U can pass the Internal Table (ITAB) ,to the smartform,from the printprogram itself.

    So no need to declare separate structures in the smartform.

    When u are calling the dynamic function module from the printprogram,just pass the internal table in the 'Tables' section of the dynamic function module .

    Regards

    Rudra

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 04:40 AM

    Hi,

    Just try making use of Type-pools.i.e., declare a structure inside a type pool.

    Another way is to define the logic required in smartform itself instead of passing from program.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 05:20 AM

    i think it wont solve prob. i also got another reply sayin that it cant be done, v have to declare structure.

    type pools can be used for defining the variable to be used internally for the smartform, not for the ITAB passing from abap to 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.