Sorting problem in smart form

Hi,
Good day guys
Ive dev the smart form for workshop invoice..  everything fine but they need sort the stracture one which is LBBIL_IT_GEN.
so ive created the custome stracture ZLBBIL_IT_GEN and added the numaric field at end of the strc.
move-corresponding gs_it_gen to ZLBBIL_IT_GEN1.
lv_num = lv_num + 001.
ZLBBIL_IT_GEN1-MTART = GV_MTART.
ZLBBIL_IT_GEN1-num = lv_num.
sort ZLBBIL_IT_GEN1 by num.
Move-corresponding ZLBBIL_IT_GEN1 to gs_it_gen.
I think, it wont be work out. bcoz stracture doent hold the data..... how to over come the problem.. sorting is very imp for fun guys..
regards
chandu

Hi,
Actually ive a condtion.. if the material type [mtart] is "yser" .. in the material column should be blank.. the the material type is zrsa. then it needs to print materail and description.
Material              Description
                             xyz
                              abc
                              laptop
123                        abc
                              compu
456                         pen
678                        book
if see the  the  5 th item get the blank ..so there is prob.. first needs to gets the all blanks then print  one who having the mateiral and description.
but its prints right way.. bcoz its comes based on material type.. but need to sort this....
how to do it..plz let me know
thanks
chandu.P

Similar Messages

  • A strange problem in smart form?

    Hi,
       I met a strange problem in my smart form. When I click "Check" button in each window of each page, system said "Window (my window name) does not fit onto page(height)". Even I create a new page and a new window in it, it still said this error when I click "Check" button in the new window.
       I have tried to enlarge or reduce the window's size, but this error still occured. But I can activate the form correctly. And there is a syntax error in the generated program:
       FORM %EV2.
        LOOP AT INTO .
        CALL FUNCTION 'SSFCOMP_TABLE_ROW_BEGIN'
        EXPORTING I_LINE_TYPE = 'LINE2'
      You can see there's an error in loop statement.
      Could you tell me the reason and how to solve it?
      Thanks a lot!

    hi
    good
    as you have maneioned in your error  you have said that you have created your own window,but the check box as you mentioned which check box that it it is output options tab check box or in the condition tab check box.
    in the general attribute select the secondary window from the dropdown box and output options tab select the page size as you need .
    i hope you will get some output .
    thanks
    mrutyun

  • Problem with Smart Form ('RLE_DELNOTE')--Please Help

    Hello,
    I am facing a problem in the smart form.
    So far I am printing certificates (QM module) for the finished goods.  i.e. first level batches.  Now I should incorporate down level batches info also. i.e. semi finished goods info (second, third... level batches).  I am not aware of how to find out the semi finished goods info of a finished good.  Each finished good may have one or two levels of semi finished goods....The print program i am using is 'RLE_DELNOTE'.
    Can any body suggest me what i have to do?
    I have tried with FM 'CHVW_BATCH_WHERE_USED_LIST'.  But is of no use.....please tell me...
    Best Regards,
    Shekhar

    To check to see if you have an OpenGL problem:
    In Photoshop choose Edit - Preferences - Performance.
    Is [ ] Use OpenGL Drawing checked?
    If so, uncheck it.
    Close and restart Photoshop.
    Does the problem persist?
    If so, you probably can correct it with a video driver update.
    Don't forget to go back and re-enable Use OpenGL Drawing.
    To update your video driver:
    Right-click on your desktop and choose Screen Resolution.
    In the dialog that comes up, choose Advanced settings.
    Click the Adapter tab, if it isn't already current.
    What Adapter Type is listed?  Note the brand and model.
    If it is an ATI model, visit this web site:
    http://support.amd.com/us/Pages/AMDSupportHub.aspx
    If it is a nVidia model, visit this web site:
    http://www.nvidia.com/Download/index.aspx?lang=en-us
    Follow the instructions to choose the proper card and operating system.
    Download and install the latest drivers for your hardware.
    -Noel

  • Problem with smart forms.......

    Hi friends, I m facing a strange problem while using smart form. I am using values from standard smartform for invoice n just modifying the layout. The problem is tht,the value i m getting is like '14.223,56' bt the actual value that i want should be  '14,223.56'. That is the '.' and ',' are interchanged. Please tell me some way by which i can make it right.
    Good points will surely be awarded for answers.
    Thanks..........

    Have you checked your user defaults in transaction SU01
    under the defaults tab there is a section for decimal notation.

  • Problem in Smart form while printing it in POLISH language

    Hi All,
    I am facing a problem in SMARTFORM and SAP SCRIPT.
    I have developed a form in EN language and converted that in POLISH language using SE63 . When the form is printed in the POLISH language "#" is coming for some special characters of POLISH Language . ( e.g. 'Length' should get printed as 'DŁUGOŚĆ' ' but it is coming as 'D#UGO##'')
    Please tell me how to handle these special characters in POLISH Language.
    Thanks

    Hi,
    To solve this Basis need to create a new output device type which supports Latin-2 character set (Device type to I2HP4) or change the existing one to support Latin-2 character set.
    Thanks
    Edited by: dipesh kothari on May 6, 2008 5:33 PM
    Edited by: dipesh kothari on May 6, 2008 5:34 PM

  • Problem in smart forms &Driver program..urgent....

    Hi friends ,
              I am having 4 windows  in a page ,
              I am having 4 wa as wa1, wa2, wa3, wa4 in my driver program of SF.
    for ex my itab is hving 10 lines , i am passing first line of my itab to wa1 and print in First window of  page 1, second line to wa2 and second  window /page1....
    4 line of itab to wa4 dispaly in 4 th wind/pag1.
    5,6,7,8, lines of itab in again wa1,wa2, wa3 ,wa4 into window 1,2,3,4 of page 2 and
    9,10 lines of itab in wa1,wa2 into win1 , win 2 of page 3. For ex my itab can hve 'n' lines....this is the scenerio...
    my question is .........
    1. how can i always take 4 line pass in wa1 , wa2 3 & 4 , then go for next four , then rest ........in my driver program....
    2. In Sf after complition of 1st four in page 1 , how it will move next four to page 2, rest in page 3.....
    can any one help me ...it is very urgent....advance thanks,
    Reagrds
    LAkshmi..)....

    Hi ,
    Goto Global Settings -> Form Attributes
    In the Form Attributes,click the General attributes tab you will find the package name of the smartform.
    Regards
    DV

  • Problem in Smart Forms Print Preview.

    Hi ABAP experts,
             I am facing the flg problem:
    when i run ME23N transaction and click on print preview
    -> the logo is not displayed, and
    -> the values are displayed randomly.
    but when i take the printout,the output is displayed in a perfect way.
    I am not able understand what the exact problem is!!!!
    can anybody please help me out and this is repeated in many cases. when contacted  BASIS people they are saying thet its a problem from abap-side only!!!!

    Hi,
    Have you tried both (Print preview & Printout) using the same printer ?
    If yes, please try to create a spool & chk whether it is comming properly.
    Reason, may be some server memory issue, it can respond like this for the print preview.
    Regards,
    Selva K.

  • Main window iteration problem in smart forms

    Hai,
    I am struggling from a problem from past 1 weak, can anybody help me.
    Problem:
    user- inputs: 2 different items say item1 and item2.
    The output should be the combinations of four pages(pg1,pg2,pg3,pg4)  based on conditions.
    pg1 should be displayed when:
         1. item1 and item2 are less than 5.
         2. either pg1 or pg2 are less than 5.
    note: pg1 can only display 5 items of each type.
    pg2 should be displayed when:
        1.item1/item2 is greater than 5 and less than 15.
        2. either item1/item2 >5 and <=15 .
    note: pg1 can only display 15 items of each type.
    pg3 should be displayed when:
        item1 is greater than 15.
    pg4 should be displayed when
       item2 is greater than 15.
    My problem is when there are items greater than 15 say 90 items then main window page is not iterated i.e only first 40 is displayed remaining are not displayed.
    Please help me as soon as possible.
    Helpful answers will be rewarded.
    Thanks and Regards,
    Swetha Singh.

    Hi,
    Instead of calculating the line items, you can use the command in the footer of the main table to go to next page. It will dynamicaly push to the next page, once first page data display was over.
    Is this the answer you are looking for. Thanks.

  • Problem in smart form

    hi experts
    i have one problem in smartform.my requirement is invoice but to display terms and conditions in back side.actualy i am doing like this terms and conditions i maintained in second page.in first page second page as next page and in second page first page as next page.but it is going to short dump.so what can i do.ple give me any idea.

    >i maintained in second page.in first page second page as next >page and in second page first page as next page.but it is >going to short dump.
    Do you think the Dump is because of what you stated above.
    For that show the Dump message. Don't post whole short dump. post a part of it(what is the error ,analysis, how to etc..)

  • Date problem in Smart form

    hi  ,   i have to change the date Example  27.10.2010  to  27-oct-2010 , so what is the solution .
    Moderator Message: FAQ. Please search before posting.
    Edited by: kishan P on Oct 27, 2010 11:02 AM

    Hi Rahman,
    See this link.
    <<removed by moderator>>
    Thanks
    Nitesh
    Edited by: kishan P on Oct 27, 2010 11:03 AM

  • Problem in Smart forms

    How to print first page in <b>Landscape format</b> and 2nd page in <b>pastorate format</b> if i have multiple pages ?

    hi
    good
    To define a new page format, choose Tools->CCMS-> Spool -> Spool administration. Then choose Full administration and then Page formats on the DeviceTypes tab page. On the next screen choose Change and Create or Create with reference. Fill in the fields on the next screen.
    1-Choose Tools->CCMS->Spool->Spool administration,
    Full administration and then Format types on the DeviceTypes tab page.
    2-To create your new format, on the next screen choose Change and then Create or Create with reference.
    3-Give the format a name starting with Y or Z (the reserved namespace for customers). This avoids conflicts with R/3 standard formats. The format and page format names should be identical. Example: If, for example, the page format name is ZDINA3, the corresponding format must also be called ZDINA3.
    4-In the field Type, enter S (Format for SAPscript).
    5-Select a page format.
    6-Select the Portrait and Landscape fields. These fields are purely documentary and have no effect on processing.
    7-Save your entries.
    go through this link
    http://help.sap.com/saphelp_nw04/helpdata/en/99/71b039f9fa11d18e3e0000e83dd9fc/content.htm
    thanks
    mrutyun^

  • READ_TEXT showing problem in smart-forms

    Hi All,
    I am using the FM READ_TEXT in Smartforms.I have a text like M & M.When passed in the FM i get the output as M<(>&<)>M.
    Symbol & is displayed as junk.
    I debugged the FM and i can find it is getting converted at
    if rt_header-tdtexttype is initial. "SAPscript format
    import tline to rt_lines
    from database stxl(tx)
    client rt_client
    id stxl_id
    ACCEPTING TRUNCATION "important for Unicode
    IGNORING CONVERSION ERRORS.
    So please help me how to resolve this issue.I am using Arial font size 8.

    Hi Pravik,
    Check with the font as you said you are using arial font.
    Regards,
    Sravanthi

  • Problem in output type determantion in smart forms

    Hi all,
    I have one problem in smart forms mentioned below:
    In this program RVADOR01 i hav used RVORDER01 for displaying the output in the output type determination(print preview) for a particular quotation no.
    In VA23 for a particular quotation I clicked on preview button and i got d output for smart form(RVORDER01).
    Can u plz tell me where i can find that in which part of d program(RVADOR01) is d QUOTATION NO called.
    so that i dont want to hard code the quotation no in the program.
    Thanks
    Regards
    SANJAY CHOBDAR

    not really helping you on the issue, but some things here need clarification i sense.
    Outputtype determination has actually NOTHING to do with print preview.
    In output type determination the output types for the actual document get determined via output schema which is assigned to either documenttype or itemtype.
    RVADOR01 is the SAP-standard (SAP-SCRIPT) driver program for offers/orders.
    RVORDER01 is the SAP-standard SAP-SCRIPT form for offers/orders.

  • How to use At New Cntrol Break in smart form LAyout

    Hi all respected seniors and experts.....
    I am facing one problem in smart form I am creating layout for Tax Invoice in that I want to display in Header area "ARKTX" Short text for sales order item and sum of quantity "FKIMG" and Rate "GKBETR" and Gross amount after multiplying of FKIMG and GKBETR with respected to cheking Rate "GKBETR" and "ARKTX " .
    Rate is changing for diffrent documnet no. e.x VBELN .....
    means some time for changing of every  VBELN  rate is different "GKBETR"
    so i want to print the same RATE's quantiy on one page and changing of Rate should print on next page onwards .....
    and details of quantity with all diffrent vbeln should display on Body of layout....
    I think it will solve by using At New control break .....but can any body tell me what is the exact solution of this problem
    Thanx in advance

    Hi,
    Please check this link ... and please ensure you sorted the internal table prior to use the control break events (at new and at first).
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9f1f35c111d1829f0000e829fbfe/content.htm
    Regards,
    Ferry Lianto

  • Smart form background logo.

    Hi experts,
    i am facing a problem with smart form to view our company logo at back ground of my out put,
    i can do it as alogo in form but where as in background it was not getting and could u please help in this regard,
    i had done through OAER , but i think i need to configure in  SPRO so kindly help through this.

    Hi,
    Go to SE78 picture editor and upload a picture. Then go to window in smartform and select background picture tab and give the name of your logo or picture in object field which you defined in SE78.
    Your image should be of BMAP type
    Regards,
    Amit.
    Please reward any help
    Message was edited by: amit bhadauria

Maybe you are looking for

  • Oracle forms 10G -Version 10.1.2.0.2 will it support timestamp data type ?

    Hi all, We are having database server - oracle 10g enterprise edition R2, forms - Oracle forms 10G -Version 10.1.2.0.2 on windows 2000 professional. We have created a table which has a column of type "timestamp",the following is the structure. CREATE

  • Error adding Default roles after transport

    we are trying to transport our GP to another system. the transport imported successfully. but we are getting below error if we need to add the Default roles in the new portal system. Administartion -> Assign default roles -> Error/Message: The proces

  • Just switched to Mac

    Got my 17" iMac yesterday. So far it's AMAZING. There's only one thing though. Do I absolutely have to reformat my iPod in order to upload songs to it and risk all of my data being erased? Or can I just plug in and go with pretty much everything else

  • Is it possible to export an HDMI image size?

    Is it possible to export an HDMI image size?

  • LDAP help

    It says in the documentation (Fusion developer guide) that any LDAPv3 will do the job... Well I have a problem (that seems to be a little oracle specific). After configuring OpenLDAP (added some users and groups), I added it as an provider for WLS (a