Smartform problem with FS [short dump]

Hi Abapers,
Am using <FS> in my smartform
it is using as Work area.
Bcoz my line item data Containing Amount and Quantity fields.
so when am not using <FS> i.e., if am declaring WA like <struc>
then its giving error message like Quantity does not exist.
when for is printing.
so thats why am using <FS> as my Work area.
when am looping my table data into <FS>.
for my main window table.
so when ever am having no line item data with respect to my Selection screen.
Then my line item internal table is empty in my driver program.
so when it comming to smartform <FS> is empty
then my form is going to Shortdump.
so how can i over come that it should not go to shortdump
even my line item data is not having records.
Pls give me any solution .....!
Thanks & Regards,
Rajeshk

Thanks for ur immd. response.
Actually am not having problem with Quantity and Currency fields.
My form is executing alright.
But ,
when ever am having no line item data with respect to my Selection Criteria.
Then my line item internal table is empty in my driver program.
so when it comming to smartform <FS> is empty
then my form is going to Shortdump.
I think you under stood my problm.
ThankQ

Similar Messages

  • Application triggered a termination with a short dump(Assessment error)

    Hi,
    I created one accessment cycle with couple of segments. While executing this assessment cycle one of the segment is erroring out and it's throwing a runtime error. I searched in OSS and didn't find the right one. I really appreciate your thoughts and answers.
    Short text                                                                                |
    The current application triggered a termination with a short dump.
    Error analysis
    Short text of error message:
    Error ERROR_BW_REFBZ
    Long text of error message:
    Diagnosis
    The following program error or handling error has occurred.
    Error information:
    ERROR_BW_REFBZ
    System Response
    |         Processing is terminated. 
    Thanks
    Br

    Thanks for your quick response Baranyai and we set transfer prices indicator at controlling area level and it's related to profit center valuation. How is going to impact on Assessment cycle and it doesn't appear while creating and executing assessment cycle. I may be wrong and really appreciate your help.
    Thanks
    Br

  • How to Fetch Cancelled Jobs info along with the Short Dump Text

    Hi Gurus,
    I need to develop a report to fetch the cancelled jobs information for the given period. I also need to display the "Error Analysis" part of the Short Dump if it exists.
    I am able to fetch the Failed Jobs information and the Job log details using the FM "BP_JOBLOG_READ". But I need to show the "Error Analysis Text" on the report , if there is any Short Dump Exists for the Dump.
    Please give me your ideas to fetch the Error Analysis part of the short dump for a given Batch Job Name.
    Thanks in Advance.
    Best Regards,
    Sumalatha

    The dump information is in table SNAP. You could identify which dump you want by the date & time of the failed job - let's hope you don't have more than one dump with the same time. If it is ambiguous you could also compare the program name of the failed step with the program name in the SNAP data.
    The error analysis texts are in table SNAPT keyed according to which error occurred (which is data element code FC right at the start of the first record in the SNAP data). You will have to expand out the includes, and substitute the variable codes using values from the SNAP data. There is standard code to do this that you could copy - see program SAPMS380.
    To find out the details of the SAP process you could run transaction ST22 via the debugger and use the same mechanism.
    best wishes
    Ed
    PS Note these details apply to recent systems I think there may be differences if you go back to before ?2004, but I don't have such a system so can't check. You didn't say what release you have.

  • Smartform - problem with main window

    Hi all,
    I have following windows in my smartform first page.
    First Page
      -> secondary window 1
      -> secondary window 2
      -> main window
           1 template1
           2 template2
           3 command node
      -> secondary window 3
    I have the same windows in  my next page. I am using the command node in main window for some specific condition to implement page break to next page. I am getting the next page with all the contents from the secondary windows but for some reason the main window in second page is not diplayed.
    Please help me. Waiting....

    Hi Raju,
      One possible solution can be... first fix number of rows in a page. Then in the INITILIZATION use DESCRIBE command on your internal table. Then divide the number of lines by the number of line you have already fixed to be printed on a page. This will give the number of pages.
      Now what you can do is... in your first page take a table node. In that create a  table line with 13 columns and place the first 13 columns in that.
    Then take a ALTERNATIVE node with condition sy-page = the number of pages which you have already calculated.
    For this ALTERNATIVE node in the TRUE node take a COMMAND NODE  with NEXT_PAGE(second page) in GO-TO-NEW-PAGE field.
    And in the FALSE node take another COMMAND NODE with FIRST_PAGE(current page) in the GO-TO-NEW-PAGE field.
    Untill unless you will reach the last page(which we have calculated) this condition will become false and hence the COMMAND NODE in the FALSE node will trigger and the current page will be triggered. This completes the printing of 13 columns for all your internal table rows.
    Now in the NEXT_PAGE(second page) take another TABLE node and again create a new table line with the next 13 columns(14 to 26). And assign NEXT_PAGE in the Next Page field of this page(next page... hope you are not confused ). This will print the remaininig 13 lines.
    But the problem with this solution is that the user has to sort the pages after getting the printouts and also the number of rows that will be printed are fixed on a page.
    Thanks and Regards,
    Bharat Kumar Reddy.V

  • Data load failing with a short-dump

    Hello All,
    There is a data load failing with the following short-dump:
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                    CX_FOEV_ERROR_IN_FUNCTION
    Full text:
    "UNCAUGHT_EXCEPTION" CX_FOEV_ERROR_IN_FUNCTIONC
    "CL_RSAR_FUNCTION==============CP" or "CL_RSAR_FUNCTION==============CM004"
    "DATE_WEEK"
    It seems as if it is failing in a function module - please advise.
    Regards,
    Keith Kibuuka

    Did you read OSS [Note 872193 - Error in the formula compiler|https://service.sap.com/sap/support/notes/872193] or OSS [Note 855424 - Runtime error UNCAUGHT_EXCEPTION during upload|https://service.sap.com/sap/support/notes/855424]
    Regards

  • SPAM update of DMIS stalled with ABAP Short Dump

    Hi Experts,
    Was wondering if someone could help me. I am trying to install DMIS on my NW 702 system. The installation sort of halted half way and now I am just not able to get into SPAM. Everytime I try to start SPAM the system loops for a good few minutes and it short dumps as below:
    Category          
    ABAP Programming Error
    Runtime Errors    
    TIME_OUT
    ABAP Program      
    SAPLOCS_SEMAPHORE
    Application Component  BC-UPG-OCS
    Trigger Location of Runtime Error
        Program                                 SAPLOCS_SEMAPHORE
        Include                                 LOCS_SEMAPHOREU02
        Row                                     85
        Module type                             (FUNCTION)
        Module Name                             OCS_QUEUE_SEMAPHORE
    55 *   OCS is locked, remember this
    56     ev_locked = on.
    57 *   check if OCS is locked by other (OCS) tools
    58     IF iv_tool = space.   "maybe were are called in batch, check
    59       IF sy-batch = off OR
    60          ls_pat10-btch_state NA gc_batch_states.
    61 *       IV_TOOL = space but no batch processing
    62 *       -> foreign lock, you are not allowed to proceed
    63         cs_sema = ls_pat10.
    64         RAISE foreign_lock.
    65       ENDIF.
    66     ELSE.
    67       IF ls_pat10-ocs_tool <> iv_tool.
    68 *       foreign lock, you are not allowed to proceed
    69         cs_sema = ls_pat10.
    70         RAISE foreign_lock.
    71       ENDIF.
    72     ENDIF.
    73
    74 *   we are either in batch processing or IV_TOOL matches PAT10
    75 *   --> own lock, return it
    76     IF iv_read_only <> space.
    77       cs_sema = ls_pat10.
    78       EXIT.
    79     ENDIF.
       79
    ENDIF.
       80 *   update it
       81
    ls_pat10 = cs_sema.
       82
    ls_pat10-responsibl = sy-uname.
       83
    ls_pat10-imple_date = sy-datum.
       84
    ls_pat10-imple_time = sy-uzeit.
    >>>>>
    UPDATE pat10 FROM ls_pat10.
       86
    cs_sema = ls_pat10.
       87   ENDIF.   "sy-subrc = 4
       88
       89 ENDFUNCTION.
    4 FUNCTION
    SAPLOCS_SEMAPHORE              
    LOCS_SEMAPHOREU02                 
    85
       OCS_QUEUE_SEMAPHORE
    3 FUNCTION
    SAPLOCS_BATCH                  
    LOCS_BATCHU07                    
    186
       OCS_DELETE_BATCH_SEMAPHORE
    2 FORM    
    SAPMSPAM                       
    MSPAMF06                         
    190
       READ_N_CHECK_BATCH_JOBS
    1 MODULE (PBO) SAPMSPAM                       
    MSPAMO01                         
    776
       READ_BATCH_JOBS
    Would appreciate if someone can help and has faced something similar.
    Regards,
    Manish

    Hi
    The Abap programs get a timeout when trying to update table PAT10 ( OCS Semaphore).
    Check in SM12 if there are locks on that table
    Check also that table contents, there should be only one entry, what is in field OCS_TOOL ?
    DMIS should be installed using transaction SAINT (in client 000) and not SPAM.
    Regards
    1468391 - Installation and delta upgrade of DMIS 2010_1

  • SMARTFORM: PROBLEM WITH PRINTING SAME HEADER IN PAGES FOR A NON-FINISH LIST

    Hi, guys!
    I hope you can help me as well as many other times.
    I have a Smartform which contains a header,body and a footer in a page.
    This is a form for a report, which we have a column header and the positions. the problem is that if a current account haven't finish in that list (see the example)
    ASD
    ASDASDASDASD
    ASDASDASDASD
    MY REPORT
    ACCOUNT      | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |                <-- COLUMN HEADER
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |12.12            |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123123.23    |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.1233      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |21222.23      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.23          |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |1212.12        |
    PAGE 1
    in the next page, we don't want to repeat the columns header. just only continue printing the lines...
    ASD
    ASDASDASDASD
    ASDASDASDASD
    MY REPORT
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.1233      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |21222.23      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.23          |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |1212.12        |
    PAGE 2
    Has anyone encourage this issue? What can I do? remember is a smartform.
    please help us!!
    thanx

    Guys.
    Remember that the columns header won't be printed only if the lines per account continues. I mean, the column header printing depends on the number of lines that are being printed.
    If at the end of a previous page the list (for example the positions that belong to this account) still continues for an account, then in the next page the column header musn't be printed, just only continue printing the rest of the positions. As you notice this case would be found in any number of pages during the rest of the report.
    I'm agree with all your solutions but this only functionin some cases for the first page.
    I look forward to hearing from you.
    If I'm clear now, please help me!
    Thanks guys!

  • Smartforms - problems with output preview when vedor has different languag

    Hi all,
    The output preview does not work when vendor has different communication language then english?
    Exact description of the problem described by the functional people:
    "For the Latin America countries that use the SMARTFORM today, we have noticed that if the vendor has ‘communication language’ English, the PO is displayed fine in the ‘Output preview’ in iShop. However, if the vendor has communication language e.g. ES maintained in the vendor the output preview fails. We would like to have it so that even if the the vendor has a different communication language than EN maintained on the vendor the PO should be able to be displayed in the ‘output preview’ of the SRM system."
    So has enyone encountered this problem before? All help is appriciated!
    Thanks in advance!
    /Armin

    Well the problem was that the language pack with Sapnish language was not installed.
    Thanks for the answer 2p 2u!

  • Smartform problem with field in table

    Hi everyone,
    I have  a strange issue.
    I created a table within a smartform.
    That table has a row with few fields.
    Somehow, value of field 5 appears in field 4 (near value of field 4).
    Of course, value of field 5 is meant to be displayed in its own column (column 5).
    column4    |    column5
                    |value4    value5
    This problem doesn't occur everytime.
    After lot of debugging, I did not get to any conclusion.
    Thanks for any help.
    Regards.

    Hi ,
    check  the order of fields you are declaring in internal table and order in which they are retrieved in select query should match, else u can use move-corresponding fields of  - in select query. Also try adjusting the column length  in  line type of the smartform
    Regards,
    Vinod

  • Smartform: Problem with pages -  some do not load

    Hi,
    I am developing a 5 page Smart Form.
    Currently 1 page has been developed, with all 5 having the same header (1 logo and 3 windows).
    The 1st page has 1 main window and the 2nd page has another. Every page will have a different main window.
    The problem is that even though page 1 is configured to go to page 2, page 2 doesn't load, even though I have a header and main window there as well.
    Am I doing something wrong?
    Do I only need 1 main window, containing everything that spreads to all pages?
    How is this supposed to work? Please help.
    Thanks,
    John

    John,
    Here is a link which will teach you step by step
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    More links
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    Step by Step creation of Smartforms
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    FAQs
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    also see
    http://www.****************/InterviewQ/interviewQ.htm
    http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm
    http://www.techinterviews.com/?p=198
    http://www.techinterviews.com/?p=326
    http://www.sap-img.com/abap/answers-to-some-abap-interview-questions.htm
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.geekinterview.com/Interview-Questions/SAP-R-3/ABAP
    http://sap.ittoolbox.com/documents/popular-q-and-a/abap-sample-interview-questions-3240
    http://www.sap-img.com/abap/abap-interview-question.htm
    http://www.allinterview.com/Interview-Questions/ABAP.html
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    Regards,
    Satish

  • Update PSA job failed with the short dump

    The process chain has failed at the UPDATE PSA step showing the internal session termination dump...In the dump it is showing the messages as :
    "MESSAGE_TYPE_X" " "
    "CL_RSSM_PSAPROCESS============CP" or "CL_RSSM_PSAPROCESS============CM007"
    "IF_RSPC_EXECUTE~EXECUTE"
    Could anyone tell me what may be cause for this kind of issue?
    Regards,
    Indira

    Hello Indira,
    OK, thanks for that information
    The errors you have on your system can also be caused
    by having too many entries in table RSPCINSTANCE
    Please take a look at SAP note 1410071 and apply the latest
    version of this note (with the advanced correction therein)
    to your system, which should resolve the problem
    Thanks in advance
    Barry

  • Smartform - Problem with COURIER font

    Hi All,
      I assigned a COURIER font to a field in smartform. The font in the printout is not the same as font shown in Smartstyle preview. Please suggest your ideas to solve this problem.
    Thank you.
    Regards,
    Ramesh

    Hi,
    The Courier font style works like that only. even if you do in MS-word also it will look different.
    it will display / print bigger fonts when you take the prints compared to preview
    please reduce the size of the font to 8 or 9 which is good to display
    or use HELVE which will look like ARIEL
    REgards
    Shiva

  • SMARTFORM problems with special characters

    Hi everybody,
    only to know if somebody knows how to fix a problem printing special characters in a smartform, instead of some characters the smartform display (Print preview)  and prints interrogative symbols <b>"?"</b>.
    If someone knows about this problem, it will be helpfully for me,
    thanks and have a good day

    HI
    To display Special characters in Smartforms ...
    goto text editor of the perticular text node.
    in the text editor, Click INSERT - Characters - Displayable Characters.
    a new window will open showing all characters...if ur required character is not
    present, click on non-dispalyble character button , it displays all the characters
    and their respective numbers...select ur required character .
    Check it, if it is helpfull reward points..
    Thanks
    REGARDS
    DINESH

  • Problems with Workflow (stoppings, dumps)

    Hello all.
    The problem description:
    In our client system (ERP 701 Win Oracle 10.2, sap_aba - 5, sap_basis - 5, sap_appl - 14) we have this problem from time to time (1 time to 30 processes).
    We have developed our own workflow. In all other client's systems all are ok.
    But here the workflow process has hanged at the step of creation
    business object instance (status waiting). We have dump from user WF-BATCH (MESSAGE_TYPE_X - "Termination occurred in the ABAP program "CL_SWF_RUN_TRANSACTION_MANAGERCP" -  in "SAVE".The main program was "SAPMSSY1 "). SWU3 is whole customized. In transaction SWIA I can perform this background step and our Workflow will be continued.
    How can we decide this problem?

    Hi,
    Please check settings required for WF-BATCH  on the server from below link.
    [Re: Use of SWU3 & WF-BATCH;

  • SmartForms - Problems with Text Element

    Hello guys!
    I was adjusting a SF for the BID_INVITATION scenario (SRM) when i stopped in front of a problem.
    I included the word "Data" in a Text Element that there was already, but, my new word doesn't appear in the Form.
    Anyone know what is happening?
    Is there any thing especific in the Text Element to permit that my new word appear?
    Thanks in advance.
    Hugs.
    Danilo Cardoso

    Hi
    Check If you activated the smartform and also check if there are any conditions in the condition tab of the text element.
    Vishwa.

Maybe you are looking for

  • How do i uninstall DW 8 on a mac?

    Hi can not open DW 8, and have tried rebootiing, downloading up grade, moving files around as propmted by Macromedia link , I now want to unistall and reinstall the DW. Does anyone know how to do this on a mac? I am new to Mac and to DW. also do i ha

  • How to adjust images in a page to take printout

    Hi, I have few images that I want to first adjust in photoshop in a single A4 page to take print out. I would like to know how to adjust the page and arrange the photo in a row and column way.

  • Mountains and nearest neighbor do not mix

    Note - this is not an Oracle question - but something as food for thought. Appropriate I think as graph is now a big component of the product... While on vacation in Colorado last week, we decided to head up to Crested Butte to see a local play produ

  • Help, hi need agraphic software to slice web layouts

    in tiger i used an old photoshop elements 2, that dosn't work under leopard... i don't know wich software can be used... i just need to slice flat layout for web pages

  • Bought new printer epson Xp-405 but it does not show AirPrint printer any ideas

    Cannot connect to my printer epson Xperia-405 it does no see printer both are on the same wi-fi network, have turned both iPad and printer off but still nothing.