Form SAP vs Crystal

Como utilizo variável de form no SAP em meus Relatórios no crystal 2008  Atilizo a versão 8 do B1???
Edited by: HerenildoCruz on Aug 11, 2011 4:27 PM

Ola, boa tarde,
você poderia dar um exemplo de variavel de form?
Por exemplo, se for criar um relatório no crystal com o código e nome do PN faça o seguinte:
Dentro do SAP.
1. Ative a opção "Visão, Informações do sistema".
2. Entre no cadastro de PN.
3. Passe o mouse no codigo e no nome, no rodapé irá aparecer o nome da tabela e o campo do banco de dados.
    OCRD.CardCode
    OCRD.CardName
Onde: OCRD é o nome da tabela, e CardCode, CardName são os nomes das tabelas.
Dentro do Crystal
- crie uma conexão com seu banco de dados (ou se tiver integrado, utilize a integração SAP x CRYSTAL, o meu não consegui integrar, então faço da maneira normal do crystal, conexão direta).
- procure a tabela OCRD, e escolha os campos citados acima.
- Crie o relatório.
seria isso que você necessita?
At,
Fabio

Similar Messages

  • Calculation of values in a dunning form (SAP Script)

    Hi Experts!
    I want to add values to a sum (dunning-amount + dunning-fee + interest) in a dunning form (SAP Script; Z150_DUNN_02).Therefore I'm using a subroutine (Z_FI_KX_DUNN_02_INTEREST) to summarize. Problem is the format of the output-field &Z_FAEBT&. It's not similar to field &MHNK-FAEBT& which was formerly printed (without calculation of interest and dunning-fees.
    /:   DEFINE &Z_FAEHW& := &MHNK-FAEHW&                 
    /:   DEFINE &Z_ZINHW& := &MHNK-ZINHW&                 
    /:   DEFINE &Z_MHNGH& := &MHNK-MHNGH&                 
    /:   DEFINE &Z_FAEBT& := &MHNK-FAEBT&                 
    /:   PERFORM ZFAEBT IN PROGRAM Z_FI_KX_DUNN_02_INTEREST
    /:   USING &Z_FAEHW&                                  
    /:   USING &Z_ZINHW&                                  
    /:   USING &Z_MHNGH&                                  
    /:   CHANGING &Z_FAEBT&                               
    /:   ENDPERFORM                                       
    /:   ENDIF                                            
    A3   &MHNK-WAERS& &Z_FAEBT(C)&       
    It would be fine to get a hint how to format the field &Z_FAEBT& correctly. Must be done in the subroutine Z_FI_KX_DUNN_02_INTEREST by a special WRITE-command? Is it possible to add these values only in the form?
    Thanks for support!
    Regards, Bernd

    hi!
    I defined the field like you said! After moving this field to a numeric field to add the different amounts the
    following error occurred:
    Runtime errors         CONVT_NO_NUMBER           
    Exception              CX_SY_CONVERSION_NO_NUMBER
    Occurred on     16.06.2009 at   15:15:25  
    Unable to interpret " 1.316,59" as a number.     
    Definition:
    FORM zfaebt TABLES in_par STRUCTURE itcsy
                       out_par STRUCTURE itcsy.
      TABLES: mhnk.
      DATA: z_faehw_num LIKE mhnk-faehw,
            z_zinhw_num LIKE mhnk-zinhw,
            z_mhngh_num LIKE mhnk-mhngh,
            z_faebt_num LIKE mhnk-faebt.
      DATA: z_faehw TYPE string,
            z_zinhw TYPE string,
            z_mhngh TYPE string,
            z_faebt TYPE string.
    statement:
      READ TABLE in_par WITH KEY 'Z_FAEHW'.
      CHECK sy-subrc = 0.
      z_faehw = in_par-value.
      z_faehw_num = z_faehw.
    I suppose a type-conflict.
    Regard, Bernd

  • How to assign modified forms (SAP scripts etc.,) to Dunning texts

    Hello, how do I assign forms (SAP scripts etc.,) to dunning texts according to no 5 above?
    I've copied the form f150_dunn_01 and modified it. Now I want to assign my modified form to dunning text. In txn fbmp I have created new procedure and when I clicked on Dunning texts it takes me to dunning text screen where I should be able to assign my modified form. But the screen is greyed out and not editable. Is there anything I'm missing or I've permission issue?
    Please help
    Regards
    Naz
    Most of the config for Dunning is done with TCode FBMP.
    Key Steps are :-
    1.     Define the dunning procedure or use the standard
    2.     Define the dunning levels (desired stages of reminder)
    3.     Define the dunning interval (frequency of reminder)
    4.     Line item grace periods & Min.days in arrears (acct) govern the criteria for picking items to be dunned along with Minimum amounts
    5.     Assign forms (SAP scritps etc.,) to dunning texts. Forms contain the contents of the reminder notice and the format of notice.
    6.     You can include the Sp GL Transactions as well.
    7.     Customer/Vendor Master Records needs to be updated with the Dunning
    8.     Procedure etc, Dunning tab in the master data
    9.     Use F150 to run.

    Hi Praveen,
    Ok let me go through the steps that I have done so for.
    1. New dunning procedure 004 been created in Txn FBMP
    2. Then by choosing the assigned dunning procedure 004, trying to update the form by selecting the company code and then Dunning text. But the screen is grayed out.
    Please pass me your email address then I will send you the screen shoots.
    Thanks
    Naz

  • How to Ganerate ETDS file FVU formate form SAP ECC 6

    Dear Friends,
    In India NSDL requirment for ETDS submitting the file type is the FVU. As per NSDL requirment it is possible to ganerate the file form SAP ECC 6 Verson, If it is possible please provide the soluation.
    Regards,
    Mahesh

    Dear Mahesh
    You can use SAP provided t-code J1INEFILE, if require get change the program with the help of ABAPER. The format
    can be modified or do one thing download the file in excel and there are software available in the market to change
    the format acceptable to Income tax.
    Shashi Somani

  • Delete the stored archive sessions form SAP filesystem

    Hello,
    Can any one explain How to delete the stored archive sessions form SAP filesystem. any transaction to delete the session from physical path.
    -thanks
    Ramana

    Not Sure , check this
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/402fae48-0601-0010-3088-85c46a236f50&overridelayout=true
    Re: Maintenance in the /usr/sap file system
    Edited by: Harsh Bhalla on Nov 28, 2009 10:10 AM

  • Oracle Forms 6i and Crystal Reports XI

    Hi All,
    Has anybody had any success in calling crystal reports xi from oracle forms 6i? I have noticed there has been a number of threads on this for previous versions of crystal. Any help would be appreciated.
    Regards,
    Scott.

    Did u Succeed in calling crystal Reports XI from Forms 6i
    or from Forms10g
    for me also the same Requirement
    please send any document ,Attachment ,steps to call Crystal Reports XI from Forms
    [email protected]
    Message was edited by:
    user501763

  • Passing parameters from vb form to a crystal report with stored procedure

    Can someone give me an idea how to use data inputted on vb form to be use as basis of crystal report generation which loads data from a stored procedure. Stored procedure has parameters that was also set in the crystal report. viewing on crystal report is ok but i am having difficulty running the report from vb.

    Hi John,
                  If Not CRRpt.ParameterFields("AgeType") Is Nothing Then
                        CRRpt.ParameterFields("AgeType").CurrentValues.Clear()
                        Dim ParamValue As new CrystalDecisions.Shared.ParameterDiscreteValue
                        ParamValue.Value = AgeType.ToString 
                        CRRpt.ParameterFields("AgeType").CurrentValues.Add(ParamValue)
                    End If
    Note that the ParamValue.Value should be assigned with exact same data type as you declared it in CR.
    If it is string, Convert your Variable to string first.
    If it is date, make sure you are passing a date variable.
    and so on...
    Regards
    Edy

  • How to limit the number of rows in a smart form , sap script.

    Can anyone tell me how to limit the number of rows in the output of a sap script/smart form. I have tried "protect/endprotect" in sap script but have no idea of how to do in smart form. In sap script the only way it has happened is by reducing the size of the main window.

    Hi,
    In Smartform also, why dont you try reducing the size of the window if you want to limit the rows in it. Also if you are printing Line Items in a LOOP, you can write
    LOOP AT T_ITAB FROM 1 TO N in the LOOP Node if you know how many records exactly you want to display in 1 Page processing.
    regards,
    Mahesh

  • SAP B1 Crystal Reports Add On and Crystal Report 2008

    Hi,
    I have posted the question at SAP Reporting Forum, but not much luck.
    The following reports is created in Crystal report 2008.
    From  http://help.sap.com/businessobject/product_guides/cr2008V1/en/CR2008_SP2_Fixed_Issues_en.pdf, I tnocie there could be moemry leak for Sybase Connectivity, but we are using ODBC.
    My client is using SAP 2007 SP00 PL49, SAP Crystal Report Add on is 2.0.0.7 and they have Beas 6.70.07
    They have encountered problem "The request cannot be submitted for background processing" after printing about 8 times of the same reports consecutively.  It is a work order reports which my clients prints for one operations at a time, with each operations generated 8 pages of output.  There are 5 jpeg on the report, which is not huge.
    Yes, I am aware there could be any problem related to that.
    What I notice is, on the workstation with SAP Business One client running, whenever user print a report named "Work Order", in the temp folder it creates one .rpt and 26 tmp files (Note that I have made up the number)
    Work Order {C0ECP901-C6F6.......}.rpt
    ~cpe{51DD9109........}.tmp
    ~cpe{71DD9109........}.tmp
    ~cpe{52DD9109........}.tmp
    ~cpe{53DD9109........}.tmp
    ~cpe{54DD9109........}.tmp
    At the moment, for a temporary solutions, everytimes when the error comes up, my client have to log off from SAP Business One, clear the temp folder and then relogin before they can print the same report.
    Anyone encounter the problem and manage to resolve. it.
    Edited by: Shwu Hua Gan on Aug 12, 2010 8:43 AM

    In case anyone is interested.
    I managed to drill down and get around with the following solutions.  Still in progress of monitoring, but seems to solve part of the problem.
    1. Open up the JPEG in Accessories--> Paint and notice that the JPEG is too big and cannot be seen without adjustting the scrolling bar.  Reduce the image size seems to work.
    2. The report is using dynamic graphic and reading JPEG path from a UDT with column 'type' and 'path'.  Subreport is used with record selection Type='Precheck'. When there was no Precheck type JPEG, it seems to crash.  We have asked client to add in type='precheck' and hyphen in path when it is not applicable.  In that sense, it will return something to the report.
    3. We also have subreport that read material issues.  when there was no material issue in the subreport, it crash.  So, we do the following:
    - section express - tick suppress blank section
    - right click subreport, tick suppress blank subreport.
    - in Subreport, at report option, we select suppress printing when no records.
    Note that workaround in point 3 does not seem to work for pictures.  So, it might be worth suppressing with formulas.

  • Missing line on next page of Smarf Form - SAP bug?

    Hello!
    I have a Smart Form which prints whatever items in main window. However, on next page (second and others), <u>sometimes</u> the first item line under the table header is not visible. The space is there, but no content. This happens only occasionally. I tried to resize the main window just a little (one mm) and it worked for that particular printout - the line reappeared. And for some time everything worked fine. Then, all at sudden, in some other printout, the line dissappeared again. I can't resize main window every time this happens!
    To me it looks like a SAP bug.
    Any experience with this?
    Thanks in advance and regards,
    Igor

    hi
    strange!!!...
    ok r u using all the formatting options use the C when u r print in the data in the item..
    ex <b>&itab-xxx(c)&.</b> iam not sure... may be it can help u.
    Please Close this thread.. when u r problem is solved
    Reward if Helpful
    Regards
    Naresh Reddy K

  • Error in connection of SAP BO Crystal report for enterprise over IDT Universe

    Hi Experts,
    I am facing a connection issue in Crystal report for Enterprise 4.0.
    I am trying to connect Crystal report for Enterprise over IDT Universe which is based on an ECC table. While establishing the connection in crystal report an error pops us stating the data source in invalid as shown below:
    Hope the following version details will help you to get some clue on the error.
    BI launch pad - Built Number : 915
                                   - Product Version : 14.0.5
    SAP Crystal report for Enterprise XI 4.0 - Version : 14.0.2
    SAP Information Design Tool - Version : 4.1 Support Pack 1
       Please help me to overcome this error.
    Thanks,
    S.Nirmal                                                                    

    HI,
    firstly, would request you to upgrade your IDT i.e client tools as well as CR4E tools to the Server version i.e BI 4.0 sP5 it seems.
    then test the issue again and update
    Regards,
    Atul B

  • F110_PRENUM_CHCK Form(SAP SCRIPT)

    Hi,
    For the form F110_PRENUM_CHCK(SAP SCRIPT) Print Program is RFFOUS_C.What is the Check Amount Field in this Form and Direct Deposit Amount Field name in this Form and also needText Element names For this Fields.
    Thanks in Advance.

    Hi Madhavi,
    Thanks For your Reply.Suppose if it is a Direct Deposit(Not Check Amount).Then in which field the Direct Deposit amount is stored?

  • Preview Form Shows during Crystal Report Loading Process

    Hi,
    I have a slight issue on the behaviour of my application of how the report is loaded to the user.
    Within my application, I have a button that when pressed - shows the print preview form with the report displayed.
    The issue I am having - is that in some scenarios - preview form is visible to the user - along with a black screen (presuming a large dataset is being called and rendered) and THEN the report will appear
    Code - appears in sub-routine called RunReport
               'Set up the printer
                Call SetReportPrinter()
                'Log into the report
                Call LogonReport(mReportDocument, crConnectionInfo)
                'Apply Parameters to the report
                Call SetReportParameters()
                CRViewer1.ReportSource = mReportDocument
                Me.Show() ' where the form is presented to the user on screen
    Is it possible for me to show the preview form to the user - with all results loaded and ready to be displayed - so there is no delay in presenting the results to the user.
    pryeshg

    This is a known issue, track number 5000005116. Last communication with R&D re. this issue was June 5th and they are still working on a resolution. Latest service packs appear to improve the behavior, but does not resolve the issue as such. Try SP 5 from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
    Another possible work-around may be to export the report to rpt file format programmatically behind the scene (e.g.; would not see this), then view this exported report. It should display quickly as the report will be processed and with saved data.
    Ludek

  • Sap b1 Crystal Report error

    I reinstall Crystal reporting on SAP.
    1. Remove in Add ons manager
    2. Uninstall SAPCrystalSetup.
    3. Install SAPCrystalSetup.
    4. Register SAP in Addons.
    5. Publish SAP report.
    But in viewing the report, I got this error titled "Microsoft .NET Framework"
    Body message error: Unhandled exception has occurred in your application.... "Retrieving the COM class factory for componenet with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E 66D 2EE9B} failded due to following error: 8007007e"
    Please help me on this one.
    Thanks so much

    Thanks Bhavank for taking my problem seriously.
    When I click the report on the crystal report module. ive got this error box
    "Microsoft .NET Framework"
    Unhandled exception has occurred in your application.... "Retrieving the COM class factory for componenet with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E 66D 2EE9B} failded due to following error: 8007007e"

  • Accessing SQL Server form SAP

    HI,
    I want to get data on SQL Server from SAP.
    What is the procedure to do the above.
    Thanks.

    hi
    in the SAP HELP Content,followthe instructions for Tutorial 2: Accessing SQL Server
    <u><i><b>also take  alook at this presentation</b></i></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2e81685c-0701-0010-0eb3-918c6d56783a
    Below: is the Tutorial 2 instructions.
    In this tutorial you will create a portal component that retrieves and displays information from an MS SQL Server database. Your portal component will display information from the Northwind Categories table in a SAP NetWeaver .NET Table control. You will create a dataset to fill with the data and bind the Table control to this dataset to display data.
    Note: using a dataset is one of the data access options, which is not always recommended. You will use a dataset in this tutorial for the simplicity.
    To complete this tutorial, you need:
    Access to a MS SQL Server with valid permissions for the Northwind sample database
    Access to a running portal
    A portal user account with administrator's permissions
    The tutorial is split into a number of smaller pieces:
    Section 1. Creating the SAP Portal Application project
    Section 2. Creating and configuring the dataset
    Section 3. Adding the SAP NetWeaver Table control and binding it to the data
    Section 4. Adding code to fill the dataset and display the data
    Section 5. Viewing the component in the portal
    Section 1.
    =========================================================
    Creating the SAP Portal Application Project
    On the File menu, point to New, and then click Project.
    1. In the New Project dialog box, do the following:
    (a)In the Project Types pane, choose Visual C# Projects or Visual Basic Projects.
    (b)In the Templates pane, choose SAP Portal Application.
    (c)Specify a different name and location, or accept defaults.
    (d)Click OK.
    A new SAP Portal Application project is created at the specified location. A new portal component named PortalComponent1.ascx is added to your project automatically.
    Section 2.
    =========================================================
    Creating and Configuring the Dataset
    Prior to creating a dataset, you need to create and configure the data connection and data adapter.
    To create the data connection and data adapter
    1. From the Data tab of the Toolbox, drag an SqlDataAdapter object onto your portal component form. Data Adapter Configuration Wizard will help you create both the connection and the adapter.
    2. In the wizard, do the following:
    2(a)In the Choose Your Data Connection pane, create or select an existing connection to the SQL Server Northwind database.
    Important: when you configure the database connection, select the option Use a specific user name and password for server logon information. If your password is not blank, select the Allow to save password checkbox, and then select to Include the password in the connection string, when prompted. Although this is not a recommended practice, we use it in this tutorial for simplicity.
    2(b) In the Choose a Query Type pane, select the Use SQL statements option.
    2(c) In the Generate the SQL Statements pane, create the following SQL statement:
    SELECT CategoryID, CategoryName, Description FROM Categories
    If you need to build a different SQL statement, click Query Builder to open the Query Builder dialog box.
    2(d) Click Finish.
    The wizard adds two objects to your portal component: the SqlConnection1 object containing the database connection information and the SqlDataAdapter1 object containing the data definition.
    To generate the dataset
    1. From the Data menu, choose Generate DataSet. The Generate Dataset dialog box opens.
    Tip: If you do not see the Data menu, click the form; the form must have focus for the menu to appear.
    2. Select the New option and name the dataset dsCategories.
    3. Select the Categories table in the Choose which table(s) to add to the dataset listbox.
    4. Select the Add this dataset to the designer checkbox and click OK.
    Visual Studio generates the new dsCategories dataset class and the dsCategories.xsd schema that is added to Solution Explorer. An instance of the new dataset class (dsCategories1) is then added to the form.
    Section 3.
    =========================================================
    Adding the SAP NetWeaver .NET Table and Binding It to The Data
    1. From the SAP NetWeaver tab of the Toolbox, drag a Table control onto the portal component.
    2. Right-click it to open the Properties box.
    3. Set the DataSource property to dsCategories1.
    4. Set the DataMember property to Categories.
    Section 4.
    =========================================================
    Adding Code to Fill the Dataset and Display the Data
    Although the table is bound to the dataset, the data is not displayed automatically. You must explicitly fill the dataset and bind the table to its data source.
    To fill the dataset and display data in the Table control
    1. Double-click the form to switch to Code Editor.
    2. In the Page_Load event handler, call the data adapter's Fill method, passing it the dataset you want to fill:
    [C#]
    sqlDataAdapter1.Fill(dsCategories1);
    [Visual Basic]
    sqlDataAdapter1.Fill(dsCategories1)
    3. Call the DataBind method of the Table control to bind it to the dataset:
    [C#]
    Table1.DataBind();
    [Visual Basic]
    Table1.DataBind()
    4. Save your project.
    Section 5.
    =========================================================
    Viewing the Component in the Portal
    Deploy the PAR to the current portal.
    In Solution Explorer, right-click the portal component and choose View in Portal.
    The table with the list of categories is displayed in the browser.
    regards
    navjot
    reward accordingly
    Message was edited by:
            navjot sharma

Maybe you are looking for

  • HT1386 I don't have a computer. How can I set iTunes to sync with wi-fi?

    I have an iPhone & iPad and don't have a computer how can I sync iTunes ?

  • MICR font problem for check printing in ECC6

    Hi All, I am working of the re-deployment project. Here we are just migrating the objects from  4.6c to ECC6. I am facing the problem with SAP Script for check printing. It is working fine in 4.6c,but it is not working fine in ECC. We are using  HP 8

  • Podcasts downloaded with iOS sync back to Mac iTunes with wrong title

    When I acquire podcast episodes on an iOS device, either my iPod Touch or iPad, via the iTunes store program, these podcasts have the correct title. But once I sync this device back to iTunes on my laptop, these podcast episodes no longer have the co

  • ITunes library on external drive issue....

    I have my entire iTunes library on an external hard drive. I recently moved and had to restore my computer because of some issues. The computer is working now but iTunes does not recognize my library on the external drive. It shows everything I have

  • Didn't get my App store gift card

    So I bought my Macbook Pro at the University of Missouri's tech store but I didn't get my gift card for the app store... is there a ay to redeem this somehow or is it impossible to get at this point in time?