Parameter an CR übergeben, ohne Nutzerabfrage

Guten Tag,
wir haben folgendes Problem:
Wir benutzen SAP 8.8 und Crystal Reports basic 2008 - 12.1.3.1028 auf einer VM. In dieser Version soll es anscheinend möglich sein, Belege über Preview mit dem CR Viewer zu öffnen, ohne die Parameter manuell füllen zu müssen.
Der Nutzer soll also nicht zur Parametereingabe aufgefordert werden.
Wenn ich also in einem Beleg in SAP BO auf Preview klicke, soll eben dieser Beleg mit dem CR angezeigt werden.
(Ohne Eingabe der DocNum)
In früheren Versionen war dies noch nicht möglich und wir haben CR über den Advanced Customizer parametrisiert, so dass auch hier die Eingabe eines Paramters nicht nötig war. (Klappt ja auch mit Java, C und sonstigen Sprachen)
Es gibt einige Samples von SAP wo eben dies funktioniert, allerdings haben wir leider nicht herausfinden können wie.
Ich hoffe uns kann jemand weiterhelfen.
Liebe Grüße
Benni
Edited by: Benjamin Schöbel on Apr 14, 2010 11:57 AM

Hallo,
ich habe mittlerweile eine Lösung gefunden und werde sie hier posten, für all diejenigen die dasselbe Problem haben.
Es ist ein Auszug aus der Datei
Working_with_CR_Integration_German.pdf
Das Token DocKey@ ist in einer .rpt-Datei von Crystal Reports, die Sie als Layout verwenden
möchten, obligatorisch. Das Token DocKey@ wird verwendet, um den aktuell aktiven Beleg zu
identifizieren. SAP Business One füllt dessen Wert, wenn Sie ein Layout in der Vorschau
anzeigen oder ausdrucken.
Wenn Sie das Token DocKey@ anwenden, müssen Sie im Fenster Auswahl-Assistent eine
Filterbedingung angeben, zum Beispiel:
{OINV.DocEntry}={DocKey@}
Wenn das Token DocKey@ nicht vorhanden ist, legen Sie einen neuen Parameter mit den
folgenden Einstellungen an:
 Geben Sie im Feld Name den Wert DocKey@ ein.
 Wählen Sie in der Dropdown-Liste Typ den Eintrag Zahl.
 Behalten Sie in allen anderen Feldern die Standardeinstellungen bei.
Hinweis
Weitere Informationen zum Fenster Auswahl-Assistent finden Sie in der Onlinehilfe zu
Crystal Reports.
Es wird empfohlen, das Token ObjectId@ in Crystal-Reports-Layouts einzubinden, die Sie
mehreren Einkaufs- und Verkaufsbelegen zuordnen möchten. Sie können beispielsweise das
Token ObjectId@ einbinden, wenn Sie dynamische Titel berücksichtigen möchten, die sich je
nach Belegart ändern. Dieses Token ist jedoch in einer .rpt-Datei von Crystal Reports
optional, die Sie als Layout für eine Belegart verwenden möchten
Edited by: Benjamin Schöbel on Apr 15, 2010 9:40 AM

Similar Messages

  • How to limit results in search help CV01 (incl. COM_SE_F4_HELP_EXIT)

    Hi experts,
    in transaction CV03N I want to limit the result list (table RECORD_TAB) of the search help CV01 using authority check. The user should not even see the document shorttext (from table DRAT) of some TOP SECRET documents in the F4-help result ... Actual solution: no user has rights for CV03N ... :-P
    I found out, that the search help for the dynpro field DRAW-DOKNR is CV01,
    including following search helps:
    CV01T
    CV01O
    CV01C
    CV01B
    CV_TREX
    Also there is a search help exit (function modul) COM_SE_F4_HELP_EXIT for CV01.
    I tried to enhance the search help exit using the prepared BADI COM_SE_F4_RESULT_ITEMS, but after i did a short test with the relevant method, i found that there is something not working as i expected ...
    Problem:
    in the function modul COM_SE_F4_HELP_EXIT there is a step prepared called STEP SELECT.
    * STEP SELECT    (Select values)
    * This step may be used to overtake the data selection completely.
    * To skip the standard seletion, you should return 'DISP' as following
    * step in CALLCONTROL-STEP.
    * Normally RECORD_TAB should be filled after this step.
    * Standard function module F4UT_RESULTS_MAP may be very helpfull in this
    * step.
      IF CALLCONTROL-STEP =  'SELECT'.                 "here i put Session BREAK-POINT
        PERFORM STEP_SELECT
                  TABLES   SHLP_TAB
                           RECORD_TAB
                  CHANGING SHLP
                           CALLCONTROL.
    *                                      Don't process additional STEP. ..
        RETURN.
      ENDIF.
    But after i put a BREAK-POINT and than start CV03N, searching a document via F4 + press ENTER, no debugging (!).
    I have to mention that the search help proceeded was CV01T.
    Question:
    can anyone explain why STEP SELECT is not proceeded in FM COM_SE_F4_HELP_EXIT using F4-help in transaction CV03N?
    I appreciate any hint in my "search help combat"
    regards
    Jörg
    Edited by: Thomas Zloch on Apr 26, 2011 10:11 PM - please do not promise "re-ward"

    INCLUDE with FORM
    ***INCLUDE LZCV_SHLPF01 .
    * nach dem Muster der Suchhilfe SAPBC_GLOBAL_F4_SFLIGHT
    * ausführlich Doku siehe dort und in den einz. incl. FB Dokus
    *&      Form  AUTHORITY_CHECK
    *       text
    *      -->P_RECORD_TAB  text
    *      -->P_SHLP_TAB  text
    *      <--P_SHLP  text
    *      <--P_CALLCONTROL  text
    FORM authority_check
           TABLES   shlp_tab    TYPE      shlp_desct            "#EC NEEDED
                    record_tab  STRUCTURE seahlpres
           CHANGING shlp        TYPE      shlp_descr
                    callcontrol TYPE      ddshf4ctrl.
    * Ablauf:
    * 1. GET Inhalte der Suchilfe Parameter (siehe SE11, CV01T)
    * 2. Feldinhalte in interner Tabelle anpassen (--> no Authority)
    * 3. PUT neue Inhalte der Suchhilfe Parameter an Ergebisliste übergeben
    * Teil 1
    * ¯¯¯¯¯¯
      CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'   "Inhalte Parameter DOKAR holen
        EXPORTING
          parameter               = 'DOKAR'                     "CV01T
          fieldname               = 'DOKAR'  "it_drat
        TABLES
          shlp_tab                = shlp_tab
          record_tab              = record_tab
          results_tab             = it_drat
        CHANGING
          shlp                    = shlp
          callcontrol             = callcontrol.
      CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'   "Inhalte Parameter DKTXT holen
        EXPORTING
          parameter               = 'DKTXT'                     "CV01T
          fieldname               = 'DKTXT'  "it_drat
        TABLES
          shlp_tab                = shlp_tab
          record_tab              = record_tab
          results_tab             = it_drat
        CHANGING
          shlp                    = shlp
          callcontrol             = callcontrol.
    * Teil 2
    * ¯¯¯¯¯¯
      LOOP AT it_drat.
        AUTHORITY-CHECK                             " here prepare the change of Paramaters
                 OBJECT 'C_DRAW_DOK'
                     ID 'DOKAR'
                  FIELD it_drat-dokar.
        IF sy-subrc NE 0.
          it_drat-dktxt = text-001.
    *     [!]Text ausgeblendet...Auth.Check(DOKAR)
          MODIFY it_drat.
        ENDIF.
      ENDLOOP.
    * Teil 3
    * ¯¯¯¯¯¯
      CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
        EXPORTING
          parameter               = 'DKTXT'                     "CV01T
          fieldname               = 'DKTXT'  "it_drat
        TABLES
          shlp_tab                = shlp_tab
          record_tab              = record_tab
          source_tab              = it_drat
        CHANGING
          shlp                    = shlp
          callcontrol             = callcontrol
    *     EXCEPTIONS
    *       PARAMETER_UNKNOWN       = 1
    *       OTHERS                  = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " AUTHORITY_CHECK

  • Adobe Acrobat Pro CS6 per Konsole öffnen und eingescantes PDF automatisch bearbeiten

    Moin liebe Communitie,
    ich finde leider keinen Beitrag, ob sich Adobe Acrobat Pro per Konsole öffnen lässt und per Parameter Funktionen und übergebene PDF's automatisch bearbeiten lassen. Ich nutze ein Skript um per Mail zugesandte PDF’s eines Kopierers herunterzuladen und möchte diese nun an mein lokales Adobe Acrobat Pro CS6 übergeben. Dabei sollte Acrobat mit bestimmten Funktionen und Einstellungen aufgerufen werden. z.B. möchte ich die Funktion „Gescannte PDF-Datei optimieren“ nutzen oder falls nur möglich dessen Einzelfunktionen nutzen. Je nach Typ des PDF's , dass vorher ermittelt wird, möchte ich verschiedene Einstellungen nutzen z.B. Hintergrund "stark" entfernen oder doch nur "niedrig".
    Kann mir jemand weiterhelfen bzw. kennt jemand ein Tutorial, Handbuch etc. zu diesem Thema?
    Gruß Flo

    Dann ist meine Frage ja nicht beantwortet... Kennt jemand die Lösung für dieses Anliegen? Kann ja nicht sein, dass heutzutage alles nur noch per GUI ansteuerbar bzw. nutzbar ist...
    Ich nutze ein Skript um per Mail zugesandte PDF’s eines Kopierers herunterzuladen und möchte diese nun an mein lokales Adobe Acrobat Pro CS6 übergeben. Dabei sollte Acrobat mit bestimmten Funktionen und Einstellungen aufgerufen werden. z.B. möchte ich die Funktion „Gescannte PDF-Datei optimieren“ nutzen oder falls nur möglich dessen Einzelfunktionen nutzen. Je nach Typ des PDF's , dass vorher ermittelt wird, möchte ich verschiedene Einstellungen nutzen z.B. Hintergrund "stark" entfernen oder doch nur "niedrig".
    Kann mir jemand weiterhelfen bzw. kennt jemand ein Tutorial, Handbuch etc. zu diesem Thema?

  • Wie kann man beim Anklicken eines Links auf einen bestimmten Dateityp die URL als Parameter an die verknüpfte Anwendung übergeben?

    Man kann Links auf bestimmte Dateitypen mit einer zugehörigen Anwendung öffnen. Dazu lädt Firefox die Datei in ein temporäres Verzeichnis und öffnet die heruntergeladene Datei mit der Anwendung. Ich möchte jedoch die URL der Datei als Parameter an die zu startende Anwendung übergeben anstatt die Datei von Firefox herunterladen zu lassen.

    It seems I'm supposed to ask my question in English. Why are then these help pages shown in German to me? Anyway, the above request in English:
    How can the URL of a linked file be passed as a parameter to the associated application?
    Links to certain file types can be opened with an associated application. For this purpose the file is downloaded by Firefox to a temporary directory and then opened with the application. Instead, I want to pass the URL of the linked file as a parameter to the executed application.

  • Variant Parameter ActiveX

    Hallo zusammen,
    ich habe eine ActiveX unter Delphi Entwickelt. Eine Funktionen benötigt einen Variant als Parameter.
    Das ganze lieft Problemlos unter Labview8.0.
    Seit gestern arbeite ich mit Labview8.5.
    Mit 8.0 wurde der Parameter übergeben, und von der ActiveX auch so empfangen wie er übergeben wurde.
    Mit 8.5 der Parameter übergeben, aber die ActiveX empfängt nur Schrott.
    Kann mir jemand weiter helfen ?
    Danke
    MfG
    Woully

    Hallo Christian,
    danke für dein Interesse.
    Es ist inzwischen noch seltsamer geworden.... Die VI 8.5 die nicht lief habe ich von meinen Kunden bekommen, und bei mir getestet.  Die Eigenschaft übergabe liefert der ActiveX nur Schrott.
    Ich habe dann Parallel die gleiche Eigenschaft nochmal gesetzt, und da funkionniert es !!!!. Wenn du da eine Erklärung findest bist du der Held ;-)
    Beiliegenden all notwendigen Dateien. Kopiere die CANAPI2.dll und die AcxLintools.dll in dein Windows System Verzeichnis. Danach muss die ActiveX registriert werden : Start->Ausführen -> Regsvr32 c:\windows\system32\acxlintools.dll
    Die VI kann jetzt ausgeführt werden.
    Ich habe eine Meldung in die ActiveX eingebaut, mit der man prüfen kann welcher Wert empfangen wird.
    Attachments:
    Vi.zip ‏372 KB

  • Parameter aus eine *.bat Datei in MAXL Script

    HAllo,
    wie kann ich Paramert die ich in einer BAT Datei abfrage an ein MaxL Script übergeben? Wie z.b. Servername, Userid Password ....

    Hallo,
    In dem du Variablen in dem MAXL Script benutzt.
    z.B.
    export database $1.$2 all data to data_file $3;
    Exportiert die Datenbank $2 der Applikation $1 in die Datei $3.
    Dieses MAXL Script wird via essmsh aufgerufen und dort werden dann die Parameter in dieser Reihenfolge übergeben. Sie stehen hinter dem MAXL-Script.
    z.B.
    start essmsh.exe -s Server -l User Password MAXL-Script Applikation Datenbank 'Dateiname'
    Es kann auch ain vollständiger Pfad angegeben werden, essbase braucht dann natürlich Schreibrechte dort, wird eine Netzwerkfreigabe verwendent so sind 3 Blackslash am Anfang notwendig, warum weiss ich auch nicht aber es funktioniert.
    Hoffe mal das das weiterhilft

  • Script aus Labview an Diadem übergeben

    Guten morgen zusammen,
    ich möchte aus LV raus die Datenauswertung automatisieren, mein erstes
    Problem ist, dass Diadem das Script von LV übergeben so nicht
    akzeptiert, wenn ich es aber in DiademSCRIPT kopiere oder in einer
    Script Datei übergebe, läuft es ohne Probleme.
    Ich erzeuge in dem Script weitere Känale und möchte diese in LV
    weiterverwerten, wenn ich aber das "Import-Channel" VI nutze bekomme
    ich keine Daten zurück, egal ob ich den Kanalnamen z.B. Mean oder die
    Nummer 17 verwende.
    Was mache ich da falsch und wo kann man ein Manual dazu finden, wie es richtig geht?!
    Gruss
    N.Schnitzler
    Solved!
    Go to Solution.
    Attachments:
    DiademScript.JPG ‏126 KB

    Hallo N. Schnitzler,
    Die DIAdem ActiveX Schnitttelle arbeitet immer noch mit Autosequenz Syntax, also eben NICHT mit VBScript Syntax.  Waere es Moeglich, von LabVIEW aus das VBScript zusammenzubasteln, danach an eine VBS Datei zu speichern, dann das eine Befehl "ScriptStart('Pfad\Script.VBS')" an DIAdem von LabVIEW aus (durch ActiveX) zu richten?
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Verknüpfung auf eine Datei, der Befehlszeilenparameter übergeben werden

    Guten Tag,
    ich möchte in einer PDF Datei eine Verknüpfung erstellen auf eine Access-Datenbank-Datei. Wenn die Access-Datei geöffnet wird, soll gleich das richtige Access-Formular mit den richtigen Daten angezeigt werden. Dazu möchte ich die Access-Datei mit einem Befehlszeilenargument in der Verknüpfung aufrufen
      z.B.:
      D:\local data\Test\Test.mdb /cmd MeinParameter
    So etwas funktioniert als Icon auf dem Desktop wunderbar, mein Access-Programm wertet MeinParameter auch richtig aus.
    Innerhalb der PDF-Datei kann ich jedoch keine Verknüpfungen erstellen, die einen Aufruf-Parameter für die verknüpfte Datei enthalten. Das Erstellen einer Verknüpfung geschieht innerhalb eines Datei-Öffnen-Dialoges, der das Vorhandesein der Datei überprüft und den Parameter als falsche Syntax nicht akzeptiert. Es ist mir nicht gelungen, diesen Datei-Öffnen-Dialog und seine Beschränkung zu umgehen.
    Mir ist klar, dass ich als Workaround ein Icon erstellen könnte (welches den Parameter enthält) und dieses Icon in der Verknüpfung angeben könnte. Ich benötige aber etwa 400 bis 500 verschiedene Aufrufe, sodass ich 400 bis 500 verschieden Icons erstellen müsste. Das ist nicht wirklich hilfreich.
    Gibt es eine Möglichkeit/eine Syntax, die der Datei-Öffnen-Dialog akzeptiert, wenn ich ein Befehlszeilenargument übergeben möchte?
    Gruß
    hudendudel

    Geht sicher mit irgendwelchem JavaScript Gedudel... Einfach mal auf English im Acro Forum fragen oder eben warten, bis radzmar oder Bernd vielleicht was zu dem Thema beizutragen haben...
    Mylenium

  • Logical AND in MDX Reporting Services Parameter

    Hi, I would like to implement logical AND on a cube parameter. I have seen examples of hard-coded logical AND in MDX.
    (http://salvoz.com/blog/2013/12/24/mdx-implementing-logical-and-on-members-of-the-same-hierarchy/)
    But I'm not sure how to apply this to a parameter's MDX dataset.
    Here is an example of the automatically generated MDX which uses logical OR:
    This is the drop down parameter:
    WITH MEMBER [Measures].[ParameterCaption] AS [Department].[Department].CURRENTMEMBER.MEMBER_CAPTION MEMBER
    [Measures].[ParameterValue] AS
    [Department].[Department].CURRENTMEMBER.UNIQUENAME MEMBER [Measures].[ParameterLevel] AS
    [Department].[Department].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue],
    [Measures].[ParameterLevel]} ON COLUMNS
    , [Department].[Department].ALLMEMBERS ON ROWS
    FROM [MyCube]
    And the demo report dataset is:
    SELECT NON EMPTY { [Measures].[CompanyTbl Count] } ON COLUMNS,
    NON EMPTY { ([Product Level No].[Product Level No].[Product Level No].ALLMEMBERS ) }
    DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM
    ( SELECT ( STRTOSET(@DepartmentDepartment, CONSTRAINED) )
    ON COLUMNS FROM [MyCube]) WHERE
    ( IIF( STRTOSET(@DepartmentDepartment, CONSTRAINED).Count = 1,
    STRTOSET(@DepartmentDepartment, CONSTRAINED), [Department].[Department].currentmember ) )
    CELL PROPERTIES VALUE,
    BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING,
    FONT_NAME, FONT_SIZE, FONT_FLAGS

    Hi,
    I can see there just one parameter @Department@Department in your script. But if you had two parameters that should return resultset affected by two parameters. You can do it as either select from subselect from subselect.
    Example 1
    SELECT
    {x} ON COLUMNS,
    {ROWS_SET} ON ROWS
    FROM
    (SELECT StrToSet(@Param1) ON COLUMNS FROM
    (SELECT StrToSet(@Param2) ON COLUMNS FROM
    [CUBE_NAME]
    Or crossjoin between 2 parameters
    SELECT
    {x} ON COLUMNS,
    {ROWS_SET} ON ROWS
    FROM
    (SELECT StrToSet(@Param1)*StrToSet(@Param2) ON COLUMNS FROM
    [CUBE_NAME]
    Jiri
    Jiri Neoral

  • Report RFKLBU10: Missing Parameter for Logical filename in Release ERP 2005

    Hello Experts,
    Report RFKLBU10 in Sap Release 4.6c hat a parameter "Old dataset logical name".
    The new version of this report in SAP Release ERP 2005 there is no such parameter.
    Is this a SAP-Bug ?
    Best regards,
    Mike

    There are no Export or Print events accessible for the viewer
    Since it sounds like you are creating the reportdocument object in your click event, the settings on this object become out of scope on successive postbacks executed by other events.
    to get around this without major changes, you can place your "report" object in session in this event and retrieve it from session on successive postbacks.  This should solve your problems around navigation, printing and exporting.  What you will need to do is check if the session object exists (usually in page_load or page_initialze) and if so, retrieve it from session and bind it to the viewer's reportsource.  If the session object does not exist, then do nothing (ie you have not clicked your button yet that retrieves the parameter values from session and loads the report).  Also, in your click event you can check if the report session object exists and if so, remove it so that it can be re-created with your new parameter values (ie i'm assuming the only time you want to set parameter values is in this event).
    Dan

  • Unable to capture the parameter values from a PL/SQL procedure

    hi.
    i'm trying to capture the parameter values of a PL/SQL procedure by calling inside a anonymous block but i'm getting a "reference to uninitialized collection error" ORA-06531.
    Please help me regarding.
    i'm using following block for calling the procedure.
    declare
    err_cd varchar2(1000);
    err_txt VARCHAR2(5000);
    no_of_recs number;
    out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
    cntr_var number:=0;
    begin
         rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
         dbms_output.put_line('The error is ' ||err_cd);
         dbms_output.put_line('The error is ' ||err_txt);
         dbms_output.put_line('The cntr is ' ||cntr_var);
         for incr in 1 .. OUT_SIGN_TAB.count
         loop
         cntr_var := cntr_var + 1 ;
    Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN_TAB(incr).txn_type||','||OUT_SIGN_TAB(incr).objid);
    end loop;
    end;
    Error is thrown on "for incr in 1 .. OUT_SIGN_TAB.count" this line
    Following is some related information.
    the 3rd parameter of the procedure is a out parameter. it is a type of a PL/SQL table (SEARCH_SIGN_TAB_TYPE) which is available in database as follows.
    TYPE "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
    TYPE "SEARCH_SIGN_TYPE" AS OBJECT
    (ref_no VARCHAR2(22),
    ciref_no VARCHAR2(352),
    ac_no VARCHAR2(22),
    txn_type VARCHAR2(301),
    objid VARCHAR2(1024))............

    We don't have your rt843pq procedure, but when commenting that line out, everything works:
    SQL> create TYPE "SEARCH_SIGN_TYPE" AS OBJECT
      2  (ref_no VARCHAR2(22),
      3  ciref_no VARCHAR2(352),
      4  ac_no VARCHAR2(22),
      5  txn_type VARCHAR2(301),
      6  objid VARCHAR2(1024))
      7  /
    Type is aangemaakt.
    SQL> create type "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
      2  /
    Type is aangemaakt.
    SQL> declare
      2    err_cd varchar2(1000);
      3    err_txt VARCHAR2(5000);
      4    no_of_recs number;
      5    out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
      6    cntr_var number:=0;
      7  begin
      8    -- rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
      9    dbms_output.put_line('The error is ' ||err_cd);
    10    dbms_output.put_line('The error is ' ||err_txt);
    11    dbms_output.put_line('The cntr is ' ||cntr_var);
    12    for incr in 1 .. OUT_SIGN_TAB.count
    13    loop
    14      cntr_var := cntr_var + 1 ;
    15      Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN
    TAB(incr).txntype||','||OUT_SIGN_TAB(incr).objid);
    16    end loop;
    17  end;
    18  /
    The error is
    The error is
    The cntr is 0
    PL/SQL-procedure is geslaagd.Regards,
    Rob.

  • Unable to capture value inside parameter T_LFBK of FK03 in display mode

    Hi Experts,
    I have to trigger a mail whenever there is a change in fields that are captured in parameter t_ffbk.
    However i am unable to capture the the screen values for this parameter as FK03 is in display mode.Please tell me how can i capture the screen field values in parameter T_LFBK.
    <Point offer removed by moderator>
    Thanks in advance.
    Edited by: Vinod Kumar on Jul 28, 2011 5:48 PM

    Hi Experts,
    I have to trigger a mail whenever there is a change in fields that are captured in parameter t_ffbk.
    However i am unable to capture the the screen values for this parameter as FK03 is in display mode.Please tell me how can i capture the screen field values in parameter T_LFBK.
    <Point offer removed by moderator>
    Thanks in advance.
    Edited by: Vinod Kumar on Jul 28, 2011 5:48 PM

  • Cannot assign an empty string to a parameter with JDBC type VARCHAR

    Hi,
    I am seeing the aforementioned error in the logs. I am guessing its happening whenever I am starting an agent instance in PCo. Can somebody explain whats going on?
    Regards,
    Chanti.
    Heres the complete detail from logs -
    Log Record Details   
    Message: Unable to retreive path for , com.sap.sql.log.OpenSQLException: Failed to set the parameter 1 of the statement >>SELECT ID, PARENTID, FULLPATH, CREATED, CREATEDBY, MODIFIED, MODIFIEDBY, REMOTEPATH, CHECKEDOUTBY FROM XMII_PATHS WHERE FULLPATH =  ?  <<: Cannot assign an empty string to a parameter with JDBC type >>VARCHAR<<.
    Date: 2010-03-12
    Time: 11:32:37:435
    Category: com.sap.xmii.system.FileManager
    Location: com.sap.xmii.system.FileManager
    Application: sap.com/xappsxmiiear

    Sounds like a UI browsing bug (when no path is selected from a catalog tree folder browser) - I would suggest logging a support ticket so that it can be addressed.

  • Replacing NULL and EmptyString('') with "Unknown" in SSRS parameter dropdown

    All,
    What I want to do is, in the SSRS parameter drop down, instead of showing NULL and Blank values(), i want to categorize them as "Unknown", so, if the user selects "Unknown" from the SSRS drop down parameter, he should be able to see all
    the records that have NULL values or empty strings in that particular column in the result set.
    Can you tell me, how should I handle it in my main stored proc as well as in the dataset?
    Right now, i have something like this:
    Where
    (t1.name in (select value from dbo.Split(@TName,',')) OR @TName IN ('All'))
    -- Where t1.Name has empty strings and NULL values. Both of these values should be categorized under "Unknown"
    -- How would the dataset query look like? Right now I have this query for populating the drop down for that parameter:
    Select All
    UNION
    Select Distinct Name
    Order BY 1

    Hello,
    Please refer to the following stored procedure:
    SELECT
    CASE WHEN TName IS NULL OR TName = ''
    THEN 'Unknown' ELSE TName END AS TName
    From DemoTable
    Then, use following query code to get the parameter values:
    SELECT Distinct
    CASE WHEN TName IS NULL OR TName = '' THEN 'Unknown'
    ELSE TName END AS TName
    FROM DemoTable
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Host parameter null and convert SOAP to HTTPUrl

    Hi,
    We are trying to fire a SOAP request and print the response but its throwing this error
    Exception in thread "main" java.lang.IllegalArgumentException: host parameter is null
    The piece of code is:
    HttpClient hc = new HttpClient();
    System.out.println("Came here");
    int iResultCode = hc.executeMethod(post);
    executeMethod(post) is failing but when I print the value of post, its �org.apache.commons.httpclient.methods.PostMethod@fd54d6�
    Can anybody throw some light on this error and how to solve it??
    Also, there�s another issue.
    We are upgrading from Weblogic 7.2 to 9.1
    Earlier we were able to pass the request and get the response in HTTPUrl form but now after upgrading, its getting passed in SOAP format. Is there any way to bypass the SOAP and get it in HTTPUrl format or what are the configurations to be made to adapt to the SOAP format?
    connection =(HttpURLConnection) url.openConnection();
         This line was returning HTTPUrl format, now its coming in SOAP format

    your PostMethod takes the Url as the parameter. Check you are using the proper URl i.e like http://host:port/name?params like that

Maybe you are looking for