SIT on SSHR using custom function

Dear Group,
I am implementing SSHR for a customer, the customer needs to have some special request that need to be entered from SSHR then follow an approval path.
So I have created a SIT and copy the original process using workflow and create a custom function in SSHR with different parameter for process and pCalledfrom.
My problem is that the with I try to display my segment only it’s not getting displayed
For example:
SIT: XX_Ticket_Request
Segments:
No_Ticket_Request
Ticket_Type
In the personalization:
In the segment field I wrote:
XX_Ticket_Request|SEGMENT1| SEGMENT2| SEGMENT3|
Nothing is displayed only start date and new date if I try to insert a new line the required segment are displayed.
How I can display the required fields only. before insert mode.

You need to use the name of the flex segments, not the columns, e.g.,:
XX_Ticket_Request|No_Ticket_Request|Ticket_Type|
Let us know if that works!

Similar Messages

  • Inconsistent Errors when processing  IDocs using custom Function Module

    I am encountering a most perplexing error. Here is the situation.
    We have a custom function module to update data in the EH&S system. We are having a bizarre error occurring. This is the basic processing of the function module:
    1. IDoc data is read and loaded into an internal table.
    2. Data is run through a series of checks to determine if the data is valid for entry into the system.
    3. After validation we use function module  C1F2_SUBSTANCES_READ_WITH_REF to read  characteristic data for the  substance. This data is used to validate whether current data exists to allow for loading of the IDoc data. (This is the step where the IDoc is receiving an error even if the data is valid. This only occurs if we are processing a large amount of Idocs and one IDoc contains valid data and another invalid data for the same substance. It occurs even if the Idocs are not processed in sequence.  If individually processed or reprocessed after initial failure they pass. This is what is so confusing!) If it exists, a flag is set and  the data is loaded using function module BAPI_BUS1077_CHANGE to modify the data.
    4. If the flag is set to allow further processing, the function module C1F2_SUBSTANCES_READ_WITH_REF is used again to select different characteristic data for the substance. A similar validation process occurs and if it passes, data is loaded using BAPI_BUS1077_CHANGE to update and BAPI_BUS1077_CREATE to create new data.
    Here is the situation:
    When processing one valid record for one substance, the record loads successfully.  When processing multiple valid records (all are valid) for one substance, they all load successfully.  The problem occurs when attempting to load valid and invalid records for the same substance.  Some times the program successfully loads the valid data (as expected).  Other times, it will not load any records.  It is not consistent!
    The order of IDoc processing does not have an impact on the success of the load.  Whether the valid or invalid record processes first does not have an impact on the success of the valid substance load.
    Does anyone have ANY Idea of what is going on? I am clearing all fields in the function module before processing occurs. I cannot find what is causing the error to occur.
    HELP!
    Jim Hardy

    I have some further information. It seems that if data for a substance is sent in two separate Idocs, one with valid and one with invalid data, As long as the two IDocs are processed consecutively, they process correctly. If they are separated by IDocs containing other substance information, they fail.
    thanks
    Jim

  • Using custom functions in a query

    Hi, I have a query in a PLSQL procedure where some of the fields are data retreived from custom functions,
    i. e.
    select a, b, funcThatNeedsA(a), funcThatNeedsB(b)
    from xxxx
    where ...
    but I also could use those functions by making a loop to a cursor
    i. e.
    cursor c_data is select a, b from xxxx where ...
    for r_data in c_data loop
    l_a = funcThatNeedsA(r_data.a);
    l_b = funcThatNeedsB(r_data.b);
    end loop;
    So, my question is: what is more efficient, to use the functions directly in the query or in a loop of a cursor?

    the overhead of calling your functions will not change based on using them in a loop vs a cursor. the concern is the performance of ANY loop vs not using a loop at all. so what else are you doing in the loop? does it really need to be in a loop? for example, this
    insert into a select * from b
    is faster than
    for rec in (select * from b) loop insert into a values(rec); end loop;

  • Using Custom function in Validation

    I have a custome function that returns a varchar of TRUE or FALSE.
    I have tested the function and even hardcoded with TRUE.
    However when I use it in the Validation and even thought all lines return True they get pushed into the Fail table.
    I have the rule Enabled and action on Fail is set to "Send To Fail"
    I have printed out the data being returned and all Pass so why are they being sent to the Fail.
    I call the function like this.
    So I assume that if the vlaue returned is True it should go to the true table.
    P2CMM01_LKP_STORAGE_LOC("Material Type(MTART)", "+STORAGE_LOCATION","+MATERIAL_NUMBER") = 'True'

    what is the value returned by the function True or False or TRUE or FALSE ?
    you will have to do a case-sensitive comparision
    TRUE = True  will fail

  • How to use custom function.

    i write a custom funciton contain a sql sentence like this:
    SELECT sum(QTY) INTO SUM_OUTPUTQTY FROM V_DW_SALE_INVOICE
    WHERE V_DW_SALE_INVOICE.INVOICEDATE LIKE 'aaa%' AND
    P2=MENUFACTURER_ID AND P3=METERIELNAME AND P4 =SPEC AND
    P5=ORG_ID;
    the table V_DW_SALE_INVOICE is in the source database.
    when i deploy the function,it response table or view is not exist.
    how to deploy the function?
    thx

    How did you create your custom function? The step-by-step instructions are in the User Guide here http://download.oracle.com/docs/html/B12146_01/maptransf.htm#i1149862 Note you can also import existing PL/SQL packages as described there.
    Minor comment: INTO [variable] is a PL/SQL element, not SQL.
    Nikolai Rochnik

  • Update the custom table by using Custom Function module.

    Hi Experts,
            My requirement is ,
    1) To create the Custom Z table with fields
               vbak-vbeln
               likp-vbeln
               vbuk-vbeln
      After creating this Z table.
    2) I have to create one custom function module.
        Based on this function module i have to update that Z table.
    3) Before these steps i have to write down an ALV report based on the tables vbak and vbeln, in that table i have to print vbak-vbeln. and also in report i generated check box and one custom button in application toolbar. after the report will displayed , when ever i click the button in application tollbar , this function module will executed and the table will be updated.
        But I developed the ALV report with custom button and check box successfully.
      My doubt is how to write the function module and based on that function module how to update the table.
          Please suggest me on this requirement.
        Thanks in Advance.
    Thanks and Regards
    Srihari.

    HI ,
         Can any one help me out on my above requiremnet..
    Thanks and Regards
    Srihari.

  • How to use custom functions from Dlls

    I would like to know if there a way to import functions from
    a custom DLL?
    Thanks

    Hi Wardell,
    Did you get any break through on this I was exploring on same.
    Egarly awaiting reply....
    Regards,
    Ankeet Pujara

  • How to use custom function for formatting the Line Chart Axes?

    Hi...
    I'm using a Line chart who's y axis value range from 0 to 50000. This is a number which it gets from it's dataProvider. I want to format this and show it as
    $50,000
    $40,000
    $30,000
    $20,000
    $10,000
    $0
    instead of
    50000
    40000
    30000
    20000
    10000
    0
    Here's my linechart code:
    <mx:LineChart id="revTimeLineChart"
                width="100%" height="100%"
                showDataTips="true" >
                <mx:horizontalAxis>
                   <mx:CategoryAxis id="lcCatAxis" categoryField="name"/>
                </mx:horizontalAxis>
                <mx:series>
                   <mx:LineSeries id="ls" yField="revenue" displayName="Revenue" showDataEffect="{slideIn}"/>      (yField is what I want to format....)
                </mx:series>
    </mx:LineChart>
    Can you please let me know how can this be achieved?
    Cheers!
    Deepak

    Hi,
    You could do something like this,
    http://www.codersrevolution.com/index.cfm/2008/10/14/Flex-Charting-Format-your-X-and-Y-Axi s
    hope it helps!
    Regards ,
    Bhavika

  • Essbase API Custom Function 11.1.2.1

    I recently decided to start playing around with the Essbase Java API to see if I could write a custom function that overwrites a subvar. I found the createSubstitutionVariable command is already in the API. I wrote a MaxL script that registers a new function by calling the API command.
    /* Create a log file for the script log and error information */
    spool on to $4;
    /* Login to the server */
    login $1 $2 on $3;
    CREATE or Replace FUNCTION '@SETGLOBALSUBVAR'
    AS 'com.essbase.api.datasource.IEssBaseObject.createSubstitutionVariable(String,String)'
    SPEC '@SETGLOBALSUBVAR(String SubVar, String SubVarValue)'
    COMMENT 'Sets the specificed subvar to the specified value';
    This creates the function (viewable in EAS). However, when I run a calc script that calls the function, I get an error that it belongs in a calc block. When I place it in a calc block, I get an error message that an operator is expected after my custom function.
    ex:
    Fix ("Actual", "Final")
    AC_12345=@SETGLOBALSUBVAR('test', 'hi');
    EndFix
    I also found Robb Salzmann's CDF http://codingwithhyperion.blogspot.com/2011/08/create-and-update-substitution.html and tried using that, but received the same error message. I was wondering if someone could point me in the right direction to creating and using custom functions to update the subvar.
    Thanks,
    Daniel

    Sorry about that.
    I have the MaxL log below that shows the function being created successfully. There is nothing in the essbase log file itself regarding the creation of the function.
    OK/INFO - 1051034 - Logging in user [admin@Native Directory].
    OK/INFO - 1241001 - Logged in to Essbase.
    MAXL> CREATE or Replace FUNCTION '@SETSUBVAR'
    2> AS 'com.hyperion.essbase.cdf.setSubVar(String,String,String,String)'
    3> SPEC '@SETSUBVAR(String app, String db, String subvar, String subVarValue)'
    4> COMMENT 'Sets the specificed subvar to the specified value';
    OK/INFO - 1056102 - Function @SETSUBVAR replaced.
    MAXL> logout;
    User admin is logged out
    The calc that I am running is:
    Fix ("ACTUAL","FORECAST")
    PJ_99999= @SETSUBVAR ('','', 'TestLocalVariable', 'TEST');
    ENDFIX
    The error message that displays in the log file is :Error: 1200324 Error compiling formula for [PJ_99999] (line 3): operator expected after [@SETSUBVAR]
    The code that I am trying to register is from your site http://codingwithhyperion.blogspot.com/2011/08/create-and-update-substitution.html Instead of activating SetMonthSubvar or SetYearSubvar, I am only trying to register the SetSubVar command in your jar file
    Thanks for your help! I appreciate all your responses.
    Daniel

  • Run time error due to custom function module in a program

    Hi,
    I  have created one program using custom function module ZIN_COMEV_CUSTDETAILNOTIF_OUT .The program is showing runtime error
    "Incorrect parameter with CALL FUNCTION."
    I have tested the FM using same set of parameter as in program it is working.It is throwing error while executing in program help.
    Regards
    Datta

    Hello Nagraj or harish
    I think you may be right.There is date  field in my function module ,when I am testing function module I am giving it as
    Y_DATE = 01.01.2011,but in program the field is DATS type and I have to give 20110101.If this is the problem how I can solve it.
    CALL FUNCTION 'ZIN_COMEV_CUSTDETAILNOTIF_OUT'
      EXPORTING
        Y_SENDER              = gv_g_sender
        Y_RECEIVER            = gv_g_reciever
        Y_PARTNER             = GV_V_PARTNER
        Y_BASIC_PROCESS       = GC_BASIC_PROCESS
      Y_SWITCHNUM           =
      Y_SEN_LOAD            =
        Y_INTUI               = GV_V_INTUI
      Y_TRANSACTIONID       =
        Y_DATE                = GV_V_DATE

  • Use CustomFunctionController to add Repository Custom Function to a reportclientdocument

    <p class="ssiBODYCOPY">I would love to know how to add a Repository Custom Function to a reportclientdocument - If this is possible?<br />I need to know how to instantiate an object of type Custom Function from the enterprise repository or get a list of available custom functions. <br />The following code takes a "custom function object" from an existing report (which is a repository custom function) and I THINK adds it to the reportclientdocument - in fact the count of items in the customfunctioncontroller is 1 after I add the custom function but when I save the reportclientdocument they dissapear - I am not sure if I should be using ADD or INSERT method. I also was able use other controllers such as the DataDefController which works sucessfully. Please can someone help me figure out how to do this (btw where in CI_INFOOBJECTS is a custom function stored?)<br /><br />Thanks Nicole<br /><br />Dim rptClientDoc As ReportClientDocument<br />&#39;open the report<br />rptClientDoc = OpenReport("report1", ceInfoStore)<br /><br />Dim myCustomfunctions2 As CrystalDecisions.ReportAppServer.DataDefModel.CustomFunctions<br />Dim myCustomcontroller2 As CrystalDecisions.ReportAppServer.Controllers.CustomFunctionController<br />myCustomcontroller2 = rptClientDoc.CustomFunctionController()<br /><br />myCustomfunctions2 = myCustomcontroller2.GetCustomFunctions()<br />Dim cf As CustomFunction<br />cf = getfunction(ceInfoStore, ceSession) &#39; Gets valid custom function object in ANOTHER report<br />myCustomfunctions2.Add(cf)<br /><br /><br />Dim datacont As CrystalDecisions.ReportAppServer.Controllers.DataDefController<br />datacont = rptClientDoc.DataDefController<br />datacont.RecordFilterController.SetFormulaText("currentdate > month(testing)")<br /><br />SaveNewReport(ceInfoStore, rptClientDoc, "report1", "report2")</p>

    Hello Nicole
    please also use our diamond sample site to search for samples which might solve your problem.
    Your need would be in CE managed samples which we publish for JAVA and NET.
    Please use this link:
    https://boc.sdn.sap.com/
    Falk

  • How to use standard function keys as custom keys

    how to use standard function keys as custom keys.
    i have encountered that problem while developing a screen, there i'm supposed to use standard function key F2 ( which actually meant for choose) for clearing the screen fields where the cursor is present and f1 for saving data that entered in screen fields, etc...
    kindly help me out.

    Hi ,
    Solution to use SAP reserve function keys F1 .. F4 (mostly this requirement comes up for RF screens) can be acheived by assigning your new Function code using the Menu path Utilities --> F key Consistency in the Menu Painter (SE41) . Once you assign your cutom function code to the standard Fn keys the only remaining step is to make sure that you set a curson on any of the field on sceen by using the Key Word "SET CURSOR" .
    If you dont use the key word SET CURSOR in the PBO of the screen then you might not see any response for F4.
    Thanks

  • Use standard Function kyes as custom in PF ststus

    Hi all,
    I want to use standard Function kyes(such as F1 & F3) as custom in PF ststus so that I will perform my code by these function keys. Is it possible.
    Thanks
    Sanket sethi

    Yes it is possible.

  • Using Variables in a "Report Custom Functions"

    Hi!
    I created a custom function using Basic Syntax where I am trying to declare/use variables.  I keep getting syntax errors and don't know why.  Here is my code so far:
    Function cdQSIPeriod () As String
    YY = Year(CurrentDate)
    MM = Month(CurrentDate)
    If MM = 1 then
        MM = 12
        YY = YY - 1
    else
        MM = MM - 1
    cdQSIPeriod = String(MM)& String(YY)
    End Function
    Any help you can provide will be appreciated.

    You need to add
    dim YY as number
    dim MM as number
    HTH,
    Carl

  • Is there a custom function available which can be used for logging errors captured in a sp in a sql table

    Is there a custom function  available which can be used for logging errors captured in a sp during and after execution in a sql table?
    Basically we  would like to utilize such function  in every sp and log errors of each sp in a error log table
    Mudassar

    Thanks .
    I was able to write this however I am thinking I am missing something
    CREATE FUNCTION testfunction1()
    RETURNS @temp_error TABLE (
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    AS
    BEGIN
    insert @temp_error(procedure_name,line_number,error_number,error_message,error_state,error_severity)
    select error_procedure(),error_line(),error_number(),error_message(),error_state(),error_severity()
    RETURN;
    END;
    CREATE TYPE test_type AS TABLE(
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    GO
    create proc usp_error_test
    @test_type AS test_type READONLY
    as
    begin
    begin try
    select 1/0
    end try
    begin catch
    select * from testfunction1(@test_type)
    end catch
    end
    Mudassar

Maybe you are looking for

  • Permission error in opening word 7file in acrobat pro

    I can create a pdf from within word 7 but can't open the file from within acrobat pro 9.  When I sent the document in they said it wasn't run through distiller.  When I open distiller and open the file I get a non-standard error, content flushed, no

  • Problems with pages and mail merging from Address Book

    hey guys. I have just created an invitation using one of the templates in Pages. this template is for four postcard size invites on one sheet of A4. i want to merge addresses from my address book. i can do the merge except that rather than four diffe

  • N8 re-connect to wlan all the time.

    I have search the forum and it seems that many people have the same problem. However I have not yet found a solution to the problem. Widgets are set to offline. Datapacket is "only when needed". Switch to wlan is "manual" Data use in home country is 

  • How to get set file name for MessageFileUploadBean in Advanced Table

    Hello Everyone.     I have a MessageFileUpload item in a advanced table. My requirement is to show file names instead of view when user uploads files. I know how to do this if the item is not inside advancedtable  (by using  uploadBean.setAttributeVa

  • Fill in all required entry fields 000 55

    Hi There, We have carried out a data load of 17'000 partners in CRM and 15'000 have been replicated correctly to ECC6 The remaining BDOC's are showing the error 000 55, fill in all required fields However, I cannot get to find which fields are missin