Hello, everybody,  help me with my smartforms

There are always some exceptions jump out when I called my smartforms from another program. It must because of the way I passed the parameter of a Interanl table because when I deleted it, this smartform ran well.
     the following is the simple pragram.
*& Report Z_PRACTICE_GUODD
*& practice how to use smart_form
REPORT Z_PRACTICE_GUODD.
TABLES: EKPO, EKKO.
TYPES: BEGIN OF ITAB,
EBELN LIKE EKPO-EBELN,
MATNR LIKE EKPO-MATNR,
AEDAT LIKE EKKO-AEDAT,
END OF ITAB.
*TYPES ITAB TYPE TABLE OF ITAB_LINE.
DATA: ITAB_TEMP_PRACTICE TYPE ITAB OCCURS 0 with header line.
DATA: P_ITAB TYPE ITAB OCCURS 0 with header line.
DATA: SMARTFORM(30) TYPE C.
DATA: FM_NAME TYPE RS38L_FNAM.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE T1.
SELECT-OPTIONS : S_EBELN FOR EKPO-EBELN no intervals no-extension.
SELECTION-SCREEN END OF BLOCK B1.
INITIALIZATION.
T1 = 'Machine Query Conditions'.
AT SELECTION-SCREEN.
SELECT AEBELN AMATNR B~AEDAT
INTO CORRESPONDING FIELDS OF TABLE ITAB_TEMP_PRACTICE
FROM EKPO as A
INNER JOIN EKKO as B ON AEBELN = BEBELN
WHERE A~EBELN = S_EBELN.
APPEND ITAB_TEMP_PRACTICE.
DATA: LINE TYPE I.
DESCRIBE TABLE ITAB_TEMP_PRACTICE LINES LINE.
DATA : JZRQ TYPE C.
SMARTFORM = 'Z_GUODD_SHEET2'.
IF LINE = 0.
STOP.
ELSE.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = SMARTFORM
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3 .
TABLES
P_ITAB = ITAB_TEMP_PRACTICE
CALL FUNCTION FM_NAME
EXPORTING
P_JZRQ = JZRQ
TABLES:
P_ITAB = ITAB_TEMP_PRACTICE
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
ENDIF.
***********************end of the program*************************************************
In the smartforms, I made the following configuration.
     Global definition   ---> Types ,  I added
        TYPES: BEGIN OF ITAB_LINE,
        EBELN LIKE EKPO-EBELN,
        MATNR LIKE EKPO-MATNR,
        AEDAT LIKE EKKO-AEDAT,
        END OF ITAB_LINE.
     TYPES ITAB TYPE TABLE OF ITAB_LINE.
     FORM  INTERFACE -
> IMPORT ,  I SPECIFY
      1 P_JZRQ type c
      2  P_ITAB type ITAB
      THE EXCEPTIONS ARE AS FOLLOWING: 
      one of the parameters needed according to the interface description was not specified. this parameter was "P_ITAB" .
      please give me a hand, everybody.. ......cound't thank you more.

Hi,
     1. Please write the select query at start of selection event.
     2. 'SSF_FUNCTION_MODULE_NAME' is used to find the FM module. hence you should not use this module to call the smart form.
goto your smart form and press execute. you will get an FM name. (eg /1BCDWB/SF00000175)
Copy this FM name and goto ur report program and click on pattern and give this name and press ok.
you will get a list of import and export parameter. Now pass the input values to this FM.
Please test it and check if it works.
once its working then, delete the FM name (/1BCDWB/SF00000175) and give the variable name FM_NAME.
Regards,
Niyaz
*reward points if usefull

Similar Messages

  • Hello, everybody,  help me with quota arragement and release Purchase Order

    Hello everybody:
            When maintain Quota arrangement today, a warning message poped up saying Quota arrangement for Material X10002 in plant 1855 not active. but X10002 does exist, I can maitnain it with MM02. 
             Why this happened? everyone.
             what's more,  all purchase order can not be released  with me29n , but ok with me28. why is it so  ? thank  you in advance, everybody. couldn't thank you more.

    Hi,
    Regarding your 2 nd Query.
    ME29N - Indidual Release
    Suppose when my PO is subjected to three release code, this transaction gives me an option to release the three levels altogether by the highest level ( ie the three level release will be able to perform the release if R1 and R2 have not released )
    ME28 - Collective Release.
    This needs to be released by inidviuals using their release code independently thereby the release is possible only with the three levels releases the same.
    The names given to transaction codes is a little bit confusing unless until you are clear about the fucntionality.
    Regards,
    DilliB

  • Hello Everybody somethings happened with my XML p /p & h4 /h4

    Hello from Sunny Bali,, I am very new with this and still learner,, so not too technical please (unless it's unavoidable)
    I have almost finished building my web-site using Dreamweaver CS5,, it looks and functions very well, and I have just spent 2 days following some of the tutorials I found here, to make it look even better,
    I have the main page set up with with spry Tabbed Panels,  even with Tabbed Panels within the Tabbed Panels,, which all work great (I followed one tutorial about changing the colours of the Tabs, and another about linking from 1 tab to another ... works great.
    The problem is that (and sorry I don't know the technical words for this) on some of the tabbed panels, I have used spry master detail function, linked to some XML pages, which work fine except for the <p></p> and the <h4><h4> seperators show up along with all the text that I put into each section
    I have enclosed the text and everything inside the CData thingy.
    Example
    <Car>
    <Type>Diahatsu Xenia</Type>
    <SmallDesc>Medium 4 Door Family Car</SmallDesc>
    <BigDesc><![CDATA[<p>Suitable for a driver and up to 4 passengers comfortable, reasonable space for luggage, a very good car for about town, also very good for touring</p>]]></BigDesc>
    <Desc><![CDATA[Diahatsu Xenia a medium 4 door family car]]></Desc>
    <fourhoursAus><![CDATA[54:00$]]></fourhoursAus>
    <eighthoursAus><![CDATA[47:00$]]></eighthoursAus>
    <tenhoursAus><![CDATA[41:00$]]></tenhoursAus>
    <twelvehoursAus><![CDATA[37:00$]]></twelvehoursAus>
    <fourhoursUSA><![CDATA[54:00$]]></fourhoursUSA>
    <eighthoursUSA><![CDATA[47:00$]]></eighthoursUSA>
    <tenhoursUSA><![CDATA[41:00$]]></tenhoursUSA>
    <twelvehoursUSA><![CDATA[36:00$]]></twelvehoursUSA>
    <fourhoursRp><![CDATA[450,000Rp]]></fourhoursRp>
    <eighthoursRp><![CDATA[400,000Rp]]></eighthoursRp>
    <tenhoursRp><![CDATA[350,000Rp]]></tenhoursRp>
    <twelvehoursRp><![CDATA[300,000Rp]]></twelvehoursRp>
    <Deposit><![CDATA[]]></Deposit>
    <Enquiry></Enquiry>
    <Image>./Pictures/Xenia.gif</Image>
    <Terms></Terms>
    <spare></spare>
    <Spare1></Spare1>
    </Car>
    When I open the tab to display, or viwe the section on the browser,, the <p></p> is part of the words. I am sure before it didn't show that. All I have done I think is to change the default colour section on the main page
    Example
    h1, h2, h3, h5, h6, p {
        margin-top: 0;     /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
        padding-right: 15px;
        padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
        color: #033;
    h4  {
        margin-top: 0;     /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
        padding-right: 15px;
        padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
        color: #C30;
        font-weight:bold
    What I am trying to achieve is different tect colour and sttenght (bold) and new paragraphs where the text is long so it makes it easier to read.
    Sorry can't give you a link to the site because we haven't got one yet, if you need anything else please let me know and I will try to show it.
    Thanks in advance for any assistance.

    Hello again every one. Well thanks for the suggestion,, I said before I am still learning about all this,, I looked at the code on the pages,, and I can't figure out where I should put the code that was suggested might help mesolve that problem. I know that it is difficult for you without being able to look at the pages in situ,, but we just don't yey have a domain hosting,, so I cannot,, what I don't understand is that if I make a completly new page,, and using the insert spry dataset button,, and follow the menu,, so in effect it is a completly new page away from the others,, It still shows up the <p></p> etc in the text.
    Anyway I would love to give the suggestion a try,, but am lost as to where I insert the code on the pages
    Thanks again

  • HELLO please help me with CC to put a payment in  PLEASE*****************************?

    My debit card was stolen and I need to put a payment in.  Can you help me

    Creative Cloud support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html ( http://adobe.ly/19llvMN )

  • Hello, we have both Creative Cloud and Creative Cloud for teams. Can you help me with the difference and if i need to have both?

    Hello, we have both Creative Cloud membership and Creative Cloud for team. Can you help me with the difference and if i need to have both? We have 9 employees that are using it. Just not sure if i'm paying for something i don't need.
    Thank you

    Please refer to Creative Cloud Help | Creative Cloud / Common Questions
    CC is for retail use with 20 GB of storage space, CCT is where number of seats are purchased & assigned by one program admin where each seat gets 100GB of storage space.
    You can not have both the CC & team in one account as it will only provide you added storage space of 120 GB but you can activate the CC any of them or either of them twice as CC is based on Adobe ID.
    Regards
    Rajshree

  • Hello i can  not  i use my account on the applewill   store , i hope that yu help  me with a lot of thanks and wait reply to this massege

    hello i can not i use my account  on the apple store  , i hope  that yu will  help me  with  a  lot  of thanks and wait  reply to this message

    Go through the below link.
    http://support.apple.com/kb/ts2446
    If the above link doesn't helps then contact APple support and they will help you Enable your Apple Id from their End : http://support.apple.com/kb/he57

  • Hello, Honestly I just updated my 4s and my iPad 3 to iOS 6 and when try to press on the Music app or the iTunes app it says "cannot connect to iTunes Store" Could you please help me with this thank you so much, Charbel from Lebanon

    Hello, Honestly I just updated my 4s and my iPad 3 to iOS 6 and when try to press on the Music app or the iTunes app it says "cannot connect to iTunes Store" Could you please help me with this thank you so much, Charbel from Lebanon

    See these previous discussions help.
    App Store Updates (but only Updates)...: Apple Support Communities
    Apps suddenly don't update: Apple Support Communities

  • Hello, I have this problem on updating applications on my iPhone 4s 5.1.1 i dont know if you can help me with. when ever i want to update an application on apple store i get a different user name then mine(slamdance@cracked.by) this user name is not mine

    Hello,
    I have this problem on updating applications on my iPhone 4s 5.1.1 (jail broken) i dont know if you can help me with.
    when ever i want to update an application on apple store i get a different user name then mine([email protected]) this user name is not mine but its always there only on updating my app's.
    thanking you in advance for your kind help.

    Under the Terms of Use of this forum it is prohibited to discuss jail breaking. By jail breaking your iPhone you void any warranty you may have and forfeit any support from this forum.

  • Hello. I began with the DPS. Is it possible to publish a magazine for a limited, specific target group? For example, in one department of a large company? Or to the responsible for various services? If so, how should I do? Thank you for your help.

    Hello.
    I began with the DPS. Is it possible to publish a magazine for a limited, specific target group? For example, in one department of a large company?
    Or to the responsible for various services? If so, how should I do? Thank you for your help.

    Short answer is yes.
    Click the request for consultation link in Digital Publishing Suite Help | DPS pricing options to receive a price estimate for the DPS license your project.

  • Hello, please help with my iphone 4s.

    Hello, my iphone4s 's 7 months old, 2 days ago when the battery came to notify me at 10% i stopped using it and later it was turned off by itself. When i got home and plugged it in the charger it couldn't start up at all.I tried to press "HOME" and the "POWER" buttons for 10-20s but it couldn't start up or show anything. I bought my phone to apple store, the technician just checked( i don't know how he did but in just 30s) and he told me that there was proof that there was water in my phone and asked me if i wanted to change the phone then i had to pay 199 euro. I didn't accept that because the phone's never ever been in water intentionally or accidentally. He tried to hold the "HOME" and "POWER" buttons pressed but the screen was still blank later on the way home i found that the screen came with notification of low battery and symbol of charger but when i plugged in the charger the phone couldn't charge.
    The day after i came to apple store again the technician checked again for 20s and he said something in my phone was red and he said there must have been water in the phone. I explained to him that the phone's never been in water and i told him that i still used the phone until its battery went flat and couldn't start up or charge.
    I have a doubt about the battery and hereafter are symtoms of my phone before it became a brick.
    Symtoms : 1. i had to charge it 2, sometimes 3 times a day.
                     2. The night before it couldn't start up, it was fully charged and in the morning it was 67% with wifi on in sleep mode.
    I'm wondering if it's my fault or the product's itself and as the phone's just 7 months old do i have to pay 199 euro for the new one or it's apple's responsibility to change a new one for me without paying?
    Thank you for reading, hope you could help me with this.
    Have a nice day!

    Unfortuantely it sounds like some humidity issue has caused some liquid damage, possibly in your charger port area.  Have you ever had the phone in bathroom with you when having a bath?
    I had poor battery issues with my phone and the first thing they did when I got to Genius bar was check for water damage (luckily that was all fine).  After that, because of the issue with not being able to power off and poor battery they replaced my phone. They wouldn't ask for the money unless there is water damage there.  Water damage doesn't necessarily mean you soaked it in water, just a few droplets from somewhere have entered the port.  Unfortunately, according to warranty terms and conditions if you want it replacing you will probably have to pay them.

  • Hello Please help me   I have worked erased     IPhone exists with me     But did not finish the process erased     What is the solution??

    Hello
    Please help me
    I have worked erased
    IPhone exists with me
    But did not finish the process erased
    What is the solution??

    Post in your native language, the above make not sense.

  • Hello everybody. I have Mac Os X 10.6.8. Can I star with use creative clouds, or it's impossible?

    Hello everybody. I have Mac Os X 10.6.8. Can I star with use creative clouds, or it's impossible?

    Hi Daniele,
    The CC2014 applications are only compatible with 10.7 or later but you can install CC and CS6 versions of most of Adobe applications but not all.
    You can refer to the link mentioned below:
    http://helpx.adobe.com/creative-cloud/system-requirements.html
    Creative Cloud for desktop FAQ
    Thanks,
    Nikhil Gupta

  • HI everybody i want to ask if you come me in help, i want to draw paths but when i use stroke options with pen or brush settings i loose quality when i zoom in , can someone help me with pen settings???

    HI everybody i want to ask if you come me in help, i want to draw paths but when i use stroke options with pen or brush settings i loose quality when i zoom in , can someone help me with pen settings???

    The work path is a vector object, and infinitely scalable, but when you stroke it, Photoshop lays pixels on a layer that follow the path.  These pixels are raster based and can not be scaled without loosing quality.  You do have options.  If you want to make the raster layer bigger, transform the work path and stroke it again.  Or work at a higher resolution in the first place.
    Incidentally, you can't stroke a Path with the Pen, because it is a Vector based tool, and stroking is a raster based function.

  • Hello, Could someone help me with lightroom 6.  I can't seem to buy the upgrade from lightroom 5 to 6 on the desktop. Thanks.

    Hello, could someone help me with lightroom 6.  I can't seem to buy the upgrade from lightroom 5 to six on my desktop?  Thanks.

    Products
    if that link doesn't work for you contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html

  • HELLO, I UNLOCKED MY 3GS PHONE THEN RESTORED  IT TO FACTORY DEFAULTS THROUGH ITUNES THEN COULD NOT REACTIVATE THE IPHONE, I TRIED SEVERAL TIMES USING WIFI AND ITUNES, IT CAN NOT DETECT THE SIM, SOMEONE PLEASE HELP ME WITH FOLLOW UP, THANKS

    HELLO, I UNLOCKED MY 3GS PHONE THEN RESTORED  IT TO FACTORY DEFAULTS THROUGH ITUNES THEN COULD NOT REACTIVATE THE IPHONE, I TRIED SEVERAL TIMES USING WIFI AND ITUNES, IT CAN NOT DETECT THE SIM, SOMEONE PLEASE HELP ME WITH FOLLOW UP, THANKS

    sir as ur reply i guess that my phone has locked again as i restored to factory defaults, now if i try with a att active sim then can i activate the iphone ? and i think  i need to unlock again if i want to use sim other then att right ? pls reply me in details asap

Maybe you are looking for