Smartform Report Issue

Hi friends,
I'm new to smartforms. I have created a smartform for customer outstanding Report. but have some issues.
That is,
I want to categorize all rows in reports to,
- Unsettled Invoices (Condition is -> BSID-BLART = 'RV' AND BSID-BLART = 'SA')
- Unsettled Advances/Credit Notes (Condition is -> BSID-BLART = 'DZ' AND BSID-BLART = 'DG' AND BSID-UMSKZ = 'A')
- Unsettled return Cheques (Condition is -> BSID-BLART = 'DZ' AND BSID-UMSKZ = 'D' AND BSID-XBLNR = 'R')
for example the output is like this:
Date invoice No Amount No of Days Balance Less30 Over30 Over60 Over90 Over120
Unsettled Invoices
15/03/2010 HHIN00023952 100000 100 750
15/03/2010 HHIN00023952 100000 100 750
15/03/2010 HHIN00023952 100000 100 750
Unsettled Advances/Credit Notes
15/03/2010 HHIN00023952 100000 100 750
15/03/2010 HHIN00023952 100000 100 750
Total 500000
Unsettled Return Cheques
15/03/2010 HHIN00023952 100000 100 750
15/03/2010 HHIN00023952 100000 100 750
Total 200000
This is the download link to my smartform - https://rapidshare.com/files/785255519/zcusrep.xml
please help me someone. Thanks

Thanks for your reply, Can you clarify your solution more? cuz i don't have any idea of adding identifier to those conditions in internal table
this is my se38 program for it,
REPORT  ZCUSTREP2.
TABLES : KNVP, KNVV.
types : begin of ty_knvp,
        kunnr type knvp-kunnr,
        pernr type knvp-pernr,
        end of ty_knvp.
data : wa_knvp type ty_knvp,
       it_knvp type table of ty_knvp.
types : begin of ty_knvv,
        kunnr type knvv-kunnr,
        vkorg type knvv-vkorg,
        end of ty_knvv.
data : wa_knvv type ty_knvv,
       it_knvv type table of ty_knvv.
types : begin of ty_final,
        kunnr type knvp-kunnr,
        pernr type knvp-pernr,
        vkorg type KNVv-vkorg,
        end of ty_final.
data : wa_final type ty_final,
       it_final type table of ty_final.
Selections **********************
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : S_PERNR for knvp-PERNR matchcode OBJECT ZREP_CODE. "repcode
SELECT-OPTIONS : S_VKORG  for KNVv-VKORG no intervals no-extension OBLIGATORY. "company code
SELECTION-SCREEN END OF BLOCK B1.
Selections **********************
end-of-selection.
  select kunnr pernr
    into table it_knvp
    from knvp
    where PERNR in S_PERNR
    and pernr ne '00000000'.
  select kunnr vkorg
   into table it_knvv
   from knvv
   where vkorg in S_VKORG.
loop at it_knvp into wa_knvp.
    read table it_knvv into wa_knvv with key kunnr = wa_knvp-kunnr.
    if sy-subrc = 0.
      wa_final-kunnr = wa_knvp-kunnr.
      wa_final-pernr = wa_knvp-pernr.
      wa_final-vkorg = wa_knvv-vkorg.
      append wa_final to it_final.
    endif.
  endloop.
  CALL FUNCTION '/1BCDWB/SF00000052'
*EXPORTING
  ARCHIVE_INDEX              =
  ARCHIVE_INDEX_TAB          =
  ARCHIVE_PARAMETERS         =
  CONTROL_PARAMETERS         =
  MAIL_APPL_OBJ              =
  MAIL_RECIPIENT             =
  MAIL_SENDER                =
  OUTPUT_OPTIONS             =
  USER_SETTINGS              = 'X'
IMPORTING
  DOCUMENT_OUTPUT_INFO       =
  JOB_OUTPUT_INFO            =
  JOB_OUTPUT_OPTIONS         =
    TABLES
      ITAB                     = it_final
EXCEPTIONS
  FORMATTING_ERROR           = 1
  INTERNAL_ERROR             = 2
  SEND_ERROR                 = 3
  USER_CANCELED              = 4
  OTHERS                     = 5
  IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

Similar Messages

  • Stage Analysis Report Issue

    Hi,
    I have run a stage analysis report but it says no data inspite of open opportunities being present in the system. Could anyone kindly let me know what could be the issue?
    Regards
    Sharat

    Hi Sharat,
    Welcome you to the forum. Please close your first thread.
    Regarding your Stage Analysis Report Issue, what selection has been made? This report show closed opportunity only.
    Thanks,
    Gordon

  • GR/IR GL Reporting Issue

    1. 30 documents of 2009 were matching and post with clear is perfomred. After performing post with clear also the line items are not moving from open line items. When we download the open line items as of today, these line items are appearing.
    2. When we download the ZBLRFIOI report for GRIR a/c 349100 to have the opne line items. we have some set of documents showing as " FI Open items without J2" - This is reporting issues.
    Thanks
    Mallikarjuna

    Hi
    Pls try with F.13 for that GR/IR account 349100 by selecting check box select gl accounts
    And give Company code, year and pending document numbers in selection screen
    And before that pls make sure that OB74 clearing settings maintained or not
    It will clear all the open items exists
    Reg
    Vishnu

  • BW Reporting Issue

    Hi,
    I am facing one reporting Issue relating to Display Attributes.
    Characteristic: Business Partner
    Display Attributes: Address0, Address1, Address3...etc.
    Requirement is to display mentioned Display attributes along with Business Partner.
    For this I have selected Business Partner as characteristic and mentioned above three as display attributes to Business Partner.
    But Query out put is not showing Display attributes. For this I have done all settings at reporting level, all gone vain.
    I am using Bex 7.0.
    Kindly look in to the Issue and let me know the solution.
    Regards,
    Venkat.Mahipathi.
    09886652422.
    [email protected]

    Hi,
    Check in Reporting properties or check attributes in analyzer proprties then it will display  
    ************asign points if usefull***********
    swapna

  • Convert SMARTFORM report to PDF and send as an email attachment

    Hi
    I am using the CONVERT_OTF function module to convert a SMARTFORM report in the "spool" to a PDF file. When I use the DOWNLOAD function module, the resulting file can be opened in acrobat.
    I would like to email the report in PDF format as an attachment. I am using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 to create an attachment however the attached file is not being created correctly and When try to open, it gives 'File is damaged and could not be repaired' error message. I believe that somehow I am not using the SO_NEW_DOCUMENT_ATT_SEND_API1 function module correctly.
    Please help me to correct this
    Thanks
    Rohitha
    see my code below,
    I_OTF[] = W_RETURN-OTFDATA[].
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
          MAX_LINEWIDTH         = 132
        IMPORTING
          BIN_FILESIZE          = V_LEN_IN
        TABLES
          OTF                   = I_OTF
          LINES                 = I_TLINE
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          OTHERS                = 4.
      IF SY-SUBRC <> 0.
      ENDIF.
      LOOP AT I_TLINE.
        TRANSLATE I_TLINE USING '~'.
        CONCATENATE WA_BUFFER I_TLINE INTO WA_BUFFER.
      ENDLOOP.
      TRANSLATE WA_BUFFER USING '~'.
      DO.
        I_RECORD = WA_BUFFER.
        APPEND I_RECORD.
        SHIFT WA_BUFFER LEFT BY 132 PLACES.
        IF WA_BUFFER IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
      REFRESH:  I_RECLIST,
                I_OBJTXT,
                I_OBJBIN,
                I_OBJPACK.
      CLEAR WA_OBJHEAD.
      I_OBJBIN[] = I_RECORD[].
      I_OBJTXT = 'PDF Attachment'.
      APPEND I_OBJTXT.
      DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
      READ TABLE I_OBJTXT INDEX V_LINES_TXT.
      WA_DOC_CHNG-OBJ_NAME = 'Smartform_to_PDF'.
      WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
      WA_DOC_CHNG-OBJ_DESCR = 'Smartform to PDF'.
      WA_DOC_CHNG-SENSITIVTY = 'F'.
      WA_DOC_CHNG-DOC_SIZE = STRLEN( I_OBJTXT ) + ( ( V_LINES_TXT - 1 ) * 255 ) .
      CLEAR  I_OBJPACK-TRANSF_BIN.
      I_OBJPACK-HEAD_START = 1.
      I_OBJPACK-HEAD_NUM = 0.
      I_OBJPACK-BODY_START = 1.
      I_OBJPACK-BODY_NUM = V_LINES_TXT.
      I_OBJPACK-DOC_TYPE = 'RAW'.
      APPEND I_OBJPACK.
      I_OBJPACK-TRANSF_BIN = 'X'.
      I_OBJPACK-HEAD_START = 1.
      I_OBJPACK-HEAD_NUM = 1.
      I_OBJPACK-BODY_START = 1.
      DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
      READ TABLE I_OBJBIN INDEX V_LINES_BIN.
      I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255 .
      I_OBJPACK-BODY_NUM = V_LINES_BIN.
      I_OBJPACK-DOC_TYPE = 'PDF'.
      I_OBJPACK-OBJ_NAME = 'ATTACHMENT'.
      I_OBJPACK-OBJ_DESCR = 'test'.
      APPEND I_OBJPACK.
      CLEAR I_RECLIST.
      I_RECLIST-RECEIVER = 'my email address u2019.
      I_RECLIST-REC_TYPE = 'U'.
      APPEND I_RECLIST.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = WA_DOC_CHNG
          PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = I_OBJPACK
          OBJECT_HEADER              = WA_OBJHEAD
          CONTENTS_BIN               = I_OBJBIN
          CONTENTS_TXT               = I_OBJTXT
          RECEIVERS                  = I_RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          DOCUMENT_TYPE_NOT_EXIST    = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR            = 5
          X_ERROR                    = 6
          ENQUEUE_ERROR              = 7
          OTHERS                     = 8.
      IF SY-SUBRC <> 0.
        WRITE:/ 'Error ', SY-SUBRC.
      ELSE.
        WRITE:/ 'Mail sent'.
      ENDIF.

    Hi rohitha.wijewardena ,
    Please find the below code which i followed and succeed ,
    CALL FUNCTION 'WFMC_PREPARE_SMART_FORM'
        EXPORTING
          pi_nast       = nast
          pi_country    = lv_dlv-land
          pi_addr_key   = lv_addr_key
          pi_repid      = sy-repid
          pi_screen     = lc_x
        IMPORTING
          pe_returncode = gv_retcode
          pe_itcpo      = lv_itcpo
          pe_device     = lv_device
          pe_recipient  = lv_recipient
          pe_sender     = lv_sender.
      IF gv_retcode = 0.
    *moving the data to composer and control parameters for output
        MOVE-CORRESPONDING lv_itcpo TO lv_composer_param.
        lv_control_param-device      = lv_device.
        lv_control_param-no_dialog   = lc_x.
        lv_control_param-preview     = lc_x.
        lv_control_param-getotf      = lv_itcpo-tdgetotf.
        lv_control_param-langu       = nast-spras.
        lv_composer_param-tdnoprint = space.
      ENDIF.
    *Getting the Smartform Function module using Standard Function module
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = lv_formname           "Smartform Name
       IMPORTING
         fm_name                  = lv_fm_name
       EXCEPTIONS
         no_form                  = 1
         no_function_module       = 2
         OTHERS                   = 3
      IF sy-subrc <> 0.
        gv_retcode = sy-subrc.
        PERFORM protocol_update.
        PERFORM add_smfrm_prot.
      ENDIF.
    **Smartform function module to get the output
      CALL FUNCTION lv_fm_name
        EXPORTING
       control_parameters         = lv_control_param
       mail_recipient             = lv_recipient
       mail_sender                = lv_sender
         output_options             = lv_composer_param
         user_settings              = ' '
          is_bil_invoice             = lv_bil_invoice
          gt_header                  = gt_header
       IMPORTING
         job_output_info            = gv_job_output
        TABLES
          gt_item                    = gt_item
       EXCEPTIONS
         formatting_error           = 1
         internal_error             = 2
         send_error                 = 3
         user_canceled              = 4
         OTHERS                     = 5
      IF sy-subrc <> 0.
        gv_retcode = sy-subrc.
        PERFORM protocol_update.
        PERFORM add_smfrm_prot.
      ENDIF.
      IF nast-nacha = lc_mail.
        gt_otfdata[] = gv_job_output-otfdata[].
    *           Converting Smartform to PDF                          *
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                = lc_pdf
            max_linewidth         = 10
          IMPORTING
            bin_filesize          = gv_binfilesize
            bin_file              = gv_pdf_xstring
          TABLES
            otf                   = gt_otfdata[]
            lines                 = gt_pdftab[]
          EXCEPTIONS
            err_max_linewidth     = 1
            err_format            = 2
            err_conv_not_possible = 3
            err_bad_otf           = 4
            OTHERS                = 5.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    *           Sending PDF to Email  using Class                     *
        IF NOT lv_email IS INITIAL .
          TRY.
             gv_send_request = cl_bcs=>create_persistent( ).
              gv_pdf_content = cl_document_bcs=>xstring_to_solix( gv_pdf_xstring ).
              gv_document = cl_document_bcs=>create_document(
                    i_type    = lc_pdf
                    i_hex     = gv_pdf_content
                    i_length  = gv_pdf_size
                    i_subject = lc_subject ).            "Subject for Email
              gv_send_request->set_document( gv_document ).
             gv_recipient = cl_cam_address_bcs=>create_internet_address( lv_email ).
              gv_send_request->add_recipient( gv_recipient ).
              gv_sent_to_all = gv_send_request->send( i_with_error_screen = lc_x ).
              COMMIT WORK.
              IF gv_sent_to_all IS INITIAL.
                MESSAGE i500(sbcoms) WITH lv_email.
              ELSE.
                MESSAGE s022(so).
              ENDIF.
            CATCH cx_bcs INTO gv_bcs_exception.
              MESSAGE i865(so) WITH gv_bcs_exception->error_type.
          ENDTRY.
        ENDIF.

  • Start Workflow for Smartform report

    Hi
    My ABAP program creates a Smartform report that I am able to send to the SAP Business Workplace inbox documents folder.  In development, I'm sending it to myself, but in production the report will be sent to a particular user.
    I need to send the report as a pdf attachment to a workflow item so that the workflow log can track the fact that the user accepts (or rejects) the report details (audit requirement).
    What workflow object type and event should be used in the workflow, and how do I start the workflow after the report has been generated?
    Thanks for your help.
    Ron Knoll

    Answered the question myself.

  • User report issues in 1.1.0.21.97

    A couple of issues i'm experiencing with user reports on Mac OS X in the latest pre-releas build
    first off, if I am asked for a password (first time I use the connection) there is no feedback if the connection fails (worng password for instance)
    The second problem I'm facing is every time I try to rerun a certain master-detail report I'm getting an NPE
    this is the stacktrace:
    22-nov-2006 15:37:31 oracle.report.addin.ReportEditor updateContent
    INFO: ReportEditor.updateContent()
    22-nov-2006 15:37:33 oracle.dbtools.raptor.controls.display.DisplayResultTable getUI
    INFO: DisplayResultTable.getUI()
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at oracle.dbtools.raptor.controls.display.DisplayPanel.refresh(Unknown Source)
    at oracle.dbtools.raptor.controls.display.DisplayPanel.refresh(Unknown Source)
    at oracle.report.addin.ReportEditor$1.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
    at java.awt.Component.processMouseEvent(Component.java:5554)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
    at java.awt.Component.processEvent(Component.java:5319)
    at java.awt.Container.processEvent(Container.java:2010)
    at java.awt.Component.dispatchEventImpl(Component.java:4021)
    at java.awt.Container.dispatchEventImpl(Container.java:2068)
    at java.awt.Component.dispatchEvent(Component.java:3869)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
    at java.awt.Container.dispatchEventImpl(Container.java:2054)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3869)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    reloadBuffers(): 53 nodes checked in 0.006489 second(s)
    reloadBuffers(): 53 nodes checked in 0.005422 second(s)
    reloadBuffers(): 53 nodes checked in 0.004306 second(s)
    22-nov-2006 15:43:17 oracle.report.addin.ReportEditor updateContent
    INFO: ReportEditor.updateContent()
    only happens with master-detail report
    Message was edited by: Barsema
    barsema

    We have verified the connection error on the latest evaluation build is working as expected. i.e. if you supply wrong password you get alerted to that. This has been verified on the windows and Mac OS X. Please try the latest evaluation release 1.1.0.22.71.
    Your reports issue has also been addressed.
    Sue

  • How to Provide Zoom-in/out Facility in SmartForms Report?

    hi all,
    can someone tell me how to provide Zoom-in/out facility in a smartforms report? We have a report with very small font and we hardly read contents in preview screen. can someone provide some help on this?
    thanks in advance,
    sid

    This will take in your spool request and download a PDF file to your PC where you can view it in Acrobat:
    REPORT zpdf MESSAGE-ID zc LINE-SIZE 255 NO STANDARD PAGE HEADING.
    PARAMETERS: spoolid LIKE tsp01-rqident OBLIGATORY.
    DATA BEGIN OF pdf_table OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA END   OF pdf_table.
    DATA pdf_fsize TYPE i.
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
         EXPORTING
              src_spoolid   = spoolid
              no_dialog     = 'X'
         IMPORTING
              pdf_bytecount = pdf_fsize
         TABLES
              pdf           = pdf_table
         EXCEPTIONS
              OTHERS        = 0.
    CALL FUNCTION 'DOWNLOAD'
         EXPORTING
              bin_filesize = pdf_fsize
              filetype     = 'BIN'
         TABLES
              data_tab     = pdf_table.
    Rob

  • RESOLVED : Windows Phone – Download reporting issue related to 11/1/14 – 11/9/14 data

    Update 3/22 - the below issue has been resolved.
    It has come to our attention that certain Windows Phone download reporting aggregations are not matching. After investigation, we found an issue related to 11/1/14 – 11/9/14 transactions.  For example, if you chose an “All
    app” aggregation (6 month view) and compared it to “Monthly by app” aggregations (6 month view), the totals weren’t matching.  The root cause of the issue was due to the 11/1/14 – 11/9/14 data not being considered for all  of the available aggregations.
    We are scheduled to fix the issue today. 
    If you have transactions between 11/1/14 – 11/9/14, you will see an increase in the following aggregation totals once the fix is completed:
    Monthly aggregations (6 and 12 month views) by app and in-app aggregations
    Cumulative downloads – app and in-app aggregations
    Please note, this is strictly a download reporting issue.  There is no impact to any payout reporting or payout amounts.
    When the fix has been completed, I will update this post.
    Thanks,
    Patrick

    Update 3/22 - the below issue has been resolved.
    It has come to our attention that certain Windows Phone download reporting aggregations are not matching. After investigation, we found an issue related to 11/1/14 – 11/9/14 transactions.  For example, if you chose an “All
    app” aggregation (6 month view) and compared it to “Monthly by app” aggregations (6 month view), the totals weren’t matching.  The root cause of the issue was due to the 11/1/14 – 11/9/14 data not being considered for all  of the available aggregations.
    We are scheduled to fix the issue today. 
    If you have transactions between 11/1/14 – 11/9/14, you will see an increase in the following aggregation totals once the fix is completed:
    Monthly aggregations (6 and 12 month views) by app and in-app aggregations
    Cumulative downloads – app and in-app aggregations
    Please note, this is strictly a download reporting issue.  There is no impact to any payout reporting or payout amounts.
    When the fix has been completed, I will update this post.
    Thanks,
    Patrick

  • Odd Reporting Issue (ENTERPRISE)

    I have a client with some users experiencing a rather odd reporting issue. The report runs fine, but only shows values for the totals and not the line items that make up the total.
    For example, when I run the report (logged in as admin as well as under their ID), I see:
    Net Sales 1,234
    Cost Of Sales (1,111)
    Gross Margin 123
    When they log in on their machine, they see:
    Net Sales
    Cost Of Sales
    Gross Margin 123
    Very odd. I figured maybe it was an application setting, but the INI didn't look off anywhere particular.
    They are running Enterprise 6.3.1 (yeah, insert comment here on the upgrade needed).
    Any thoughts???

    Check their Effective rights, and reset them, that has worked out for me. Otherwise, try copying the user and paste it as a new user and retest; I had to delete users and recreate them to correct problems of this nature.

  • Problem in Smartform report

    Hi All,
    we have developed a smartform report. This is a production report of various units/shops. In the report format, left most side are the fixed units/shops. There are some fixed heading parameters. For each unit/shop the values for each unit will appear.
    User wants the format to be in blocks..like there are units in the left side...A,B.C,D,E..
    Format will be..in the left side units A,B,C will be in a block...& D,E will be in a separate block. this two blocks will be separated by a line..values for units A,B,C,D etc will appear in rows.
    Can anybody pls help....

    The thread is closed

  • Smartform Implementation issue for the report  RFKORD50

    Hi,
    I have a requirement to implement a smartform for FI Invoice. 
    This smartform should be configured in OB96 for the print program RFKORD50.
    Currently the SAP Script F140_DOCU_EXC_01 has been configured for Standard print program RFKORD50.
    This SAP Script should be replaced with Smartform. But the issue is the report  RFKORD50 is designed to
    call only a SAP Scrip. Is there any better way to trigger the Smartform other than modifying the standard program?
    Thanks,
    Sailaja.A

    Hi,
    One of the very tough task, when it comes to migrate a script into Smartforms .. With a satndard print program ..
    You have a option on samrtform screen , just to migrate a Sapscript into Smartform .. But it is just a migration of Layout.. means just creation of WINDOWS and pages.. All the elements and text node creation still you need to do ..
    But one of the major challenge is to Customize your print program..
    So i will suggest you to create a Z copy of RFKORD50.. as print prgm .. Then you can feal better
    Now keep all the data selection part as it is .. collect it in different structure, then call your samrtform..
    and before calling your smartform, prepare your layout ..
    Very Imp suggestion, try to work on small small task.

  • Smartforms - Performance Issue

    Hi,
    I am developing a report related to customer ageing details which involves high volume of transactional data.
    Initially the report was displayed using ALV , but the client was not satisfied when they print the alv report in 130 col printer with sort and sub-total features.So I developed a smartform according to the required design.
    Since the report involves page break and totals inbetween...i have used the event and At new command in the loop within the smartform..
    The issue here is...when the report was tested with actuall data(high volume)..it took almost 5 times of the time when the report was executed using ALV..this is due to the design of the smartform involving the loops...
    Is there any way to check out the performance of smartforms.Kindly suggest.
    Regards,
    Thyagu,

    Hi Thyagu,
    As ALV, smart forms are just ABAP, so you can use the runtime analysis (SE30, or ST12, or SAT) to see what makes it slow.
    See SDN and official documentation for more information about runtime analysis
    BR
    Sandra

  • Sapscript & smartform upgrade issue

    Can anyone please let me know the issues faced while upgrading sapscript and smartform in documents like purcchase order,sales order and invoice.

    Hi Ch@ndr@,
    This seems a strange problem. It is possible that this is simply a problem with the Sapscript buffers. Can you run the report RSTXDELL on the system to clear the Sapscript buffers?
    To do this you can use RSTXDELL report with default settings except it is better to have * instead of the current client number in the Client field.
    After this, create a new spool and see if the problem is resolved? It will not work to reprint an old spool as the print data is already incorrect.
    Regards,
    Aidan

  • Open PO Analysis - BW report issue

    Hello Friends
    I constructed a query in BW in order to show Open Purchase Orders. We have custom DSO populated with standard
    datasource 2lis_02_itm (Purcahse Order Item). In this DSO we mapped the field ELIKZ to the infoobject 0COMP_DEL
    (Delivery completed).
    We loaded the data from ECC system for all POs and found the following issue for Stock Transport Purchase orders (DocType = UB).
    We have a PO with 4 line items. For line items 10 and 20, Goods issued, Goods received and both the flags "Delivery
    complete" and "Final delivery" checked. For line items 30 and 40, only delivery indicator note is issued for zero
    quantity and Delivery complete flag is checked (Final delivery flag is not checked) in ECC system. For this PO, the
    delivery completion indicator is not properly updated in the DSO for line items 30 and 40. The data looks like the
    following:
    DOC_NUM     DOC_ITEM       DOCTYPE     COMP_DEL
    650000001       10     UB        X
    650000001       20     UB        X
    650000001       30     UB
    650000001       40     UB      
    When we run the Open PO analysis report on BW side this PO is appearing in the report but the same is closed in ECC
    system.
    Any help is appreciated in this regard.
    Thanks and Regards
    sampath

    Hi Priya and Reddy
       Thanks for your response.
                         Yes the indicator is checked in EKPO table for items 30 and 40 and delta is running regularly for more than 1 year and no issues with other POs. This is happening only for few POs of type Stock Transport (UB).
                        I already checked the changes in ME23N and the Delivery completed indicator was changed and it reflected in EKPO table. Further, i checked the PSA records for this PO and i am getting the records with the Delivery completed flag but when i update from PSA to DSO the delivery completed indicator is not updating properly.
                       In PSA, for item 30 i have the following entries. Record number 42 is capturing the value X for ELIKZ but after that i am getting two more records 43 and 44 with process key 10 and without X for ELIKZ. I think this is causing the problem.
    Record No.    Doc.No.                    Item              Processkey         Rocancel     Elikz
        41               6500000001            30                    11                            X           ---    
        42               6500000001            30                    11                            ---           X
        43               6500000001            30                    10                            X           ---
        44               6500000001            30                    10                            ---         ---
    (Here --- means blank)        
    Thanks and Regards
    sampath

Maybe you are looking for

  • Dv9700 Graphics Card Failing

    So my computer has been having a problem for the past month, which involves my Nvidia graphics card. The card is the 8600 M model for laptop computers. The problem can be described as this, increased and unchangeable resolution, color problems on the

  • Do u know how to put dvd or video music

    I'm not sure how to use this function, i try to download the music video but itunes won't let me snyc into my ipod. do u know what should i do or software do i need to use the video function.

  • Re:note tab(text box) in Miro screen

    Hi all Can any one tell me in which table the Note tab (text box) of miro screen will be stored.

  • Deciding to Update Firmware

    Hi, I've used the Nokia Firmware updater on my PC/Phone, and it worked pretty well. I have a few questions though, and I'm hoping someone here can help out... Is the "Most Recent" firmware, version and date, listed somewhere? I don't want to have to

  • Can't press accept button for software agreement, can't see it

    when i plug my ipod in the software agreement is shown and when i scroll down to try and accept it i can't because i can't see the accept button what do i do?