Creating / updating Custom infotype with different screen

Hi All,
I have created custom infotype having different screen for different subtype(1,2).
From Subtype 1, indotype is automatically updated as it is a standard program. But for subtype 2 i am using HR_INFOTYPE_OPERATION for updating the record which is ending with error, as employee which i am trying to update is already locked by me only through PA30. So this function module ends with Complex error. Please suggest how to update the infotype with subtype 2.
Thanking you..
Best regards
Akshay

Hi All,
I have created custom infotype having different screen for different subtype(1,2).
From Subtype 1, indotype is automatically updated as it is a standard program. But for subtype 2 i am using HR_INFOTYPE_OPERATION for updating the record which is ending with error, as employee which i am trying to update is already locked by me only through PA30. So this function module ends with Complex error. Please suggest how to update the infotype with subtype 2.
Thanking you..
Best regards
Akshay

Similar Messages

  • Is it possible to create a customer master with different address

    Hi Gurus,
    Is it possible to create a customer master with different address as we maintain in SAP CRM.
    Kindly help me onthis issue \
    Regards
    Kannan

    Hi Kannan,
    There are no multiple addresses but you can use multiple unloading ponts for the same address for the ship to Party.
    So when you create a Sales order the system will give a pop up with the unloading points allowing you to select the desired one.
    I hope I understand your query correctly.
    Regards
    Yogesh

  • Custom Infotype : Calling different screens for different subtypes

    Hi ,
    My custom infotype has 2 different subtypes. I want to assign these 2 subtypes with 2 different screens so that whenever a particular subtypes in used in PA20/PA30, the user gets the screen relevant to that subtype.
    I know some configuration is there but can't recall exactly what needs to be done.
    Any hints are greatly appreciated.
    Thanks a lot,
    Sandip.

    Hi Suresh, 
    thanks for the information. i tried doing that. i could hide the fields. but the problem is for both the subtypes the screen number(which i have to enter while using v_t588m) is the same. the field which i hide for subtype 1 should be available for subtype 2.
    for example consider fields a,b,c,d,e and f.
    For subtype 1 i should display a, b,c,d,f
    for subtype 2 i should display a,b,c,e.
    in the custom infotype i created i have all the fields  a,b,c,d,e and f.(currently all these fields appear for both the subtypes)
    in v_t588m i could hide the fields generally but could not do it separately for the subtypes.  hope you understood. thanks a lot Suresh.

  • Creating / Updating Custom Infotype Records

    Hello everbody,
    We implement alot of custom HR infotypes in our system, both PA &  HRP.
    For the past several we have been using BDC (Batch-Input) recorded functions in order to update / create the records in our infotypes.
    We're currently facing an upcoming ECC upgrade , and I would like to lead a change that will eventually lead to us using generic SAP supplied functions.
    I've researched a few functions that might do the trick:
    RH_INSERT_INFTY:
    This one is giving me an SY-SUBRC 2 error code - Insert error, I tried to select a current record and insert it as different objid but this doesnt work.
    HR_INFOTYPE_OPERATION:
    I've read of several people that recommended using this function, but it is not released by SAP and I couldnt get it to work as well.
    BAPI_HRMASTER_SAVE_REPL_MULT:
    This one seems to work for sap infotypes but I dont think it suits custom infotypes.
    What is the "official" way of doing such operations?
    thanks in advance,
    Eli.

    Hello Dilak,
    Im currently trying to insert a new infotype record of infotype HRP9226.
    First I call function RH_GET_NEXT_NUMBER to get an objid.
    then I fill an HRP9226 line.
    after this i call the function:
    call function 'RH_INSERT_INFTY'
    exporting
    FCODE = 'INSE'
    vtask = 'S'
    ORDER_FLG = 'X'
    COMMIT_FLG = 'X'
    AUTHY = ' '
    PPPAR_IMP =
    OLD_TABNR = ' '
    REPID = ' '
    FORM = ' '
    KEEP_LUPD =
    WORKF_ACTV = 'X'
    tables
    innnn = hrp9226_line
    ILFCODE =
    EXCEPTIONS
    NO_AUTHORIZATION = 1
    ERROR_DURING_INSERT = 2
    REPID_FORM_INITIAL = 3
    CORR_EXIT = 4
    BEGDA_GREATER_ENDDA = 5
    OTHERS = 6
    I'm getting an "Error_During_Insert" and Im out of options regarding what I can possibly do.

  • Updating custom infotype with FM 'HR_INFOTYPE_OPERATION' dumps

    Hi All,
    While updating a custom infotype 9008 with FM 'HR_INFOTYPE_OPERATION', its giving adump.
    Except.  CX_HRPA_INVALID_PARAMETER.
    I am using DIALOG_MODE as '1'. when I enter a valid field value to that particular field ( mandatory field) on that infotype, it gives dump.
    Can you suggest something which will solve this?
    Thanks.
    Dipti.

    Hi,
    Here is the dump.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                CX_HRPA_INVALID_PARAMETER
    Date and Time          12.11.2008 07:23:32
    Short text
    An exception occurred that was not caught.
    What happened?
    The exception 'CX_HRPA_INVALID_PARAMETER' was raised, but it was not caught
    anywhere along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_HRPA_RESOLVE_EXCEPTION=====CP' has to be
    terminated.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_HRPA_INVALID_PARAMETER', was not
    caught in
    procedure "RESOLVE_EXCEPTION" "(FORM)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    Invalid parameter EXCEPTION, value
    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_HRPA_VIOLATED_PRECONDITION", which was raised in the
    program "CL_HRPA_MASTERDATA_FACTORY====CP",
    specifically in line 6 of the (include) program
    "CL_HRPA_MASTERDATA_FACTORY====CM004".
    The cause of the exception was:
    Precondition Violated
    Missing RAISING Clause in Interface
    Program                                 SAPFP50P
    Include                                 FP50PE10
    Row                                     2,152
    Module type                             (FORM)
    Module Name                             RESOLVE_EXCEPTION
    Trigger Location of Exception
    Program                                 CL_HRPA_RESOLVE_EXCEPTION=====CP
    Include                                 CL_HRPA_RESOLVE_EXCEPTION=====CM001
    Row                                     80
    Module type                             (METHOD)
    Module Name                             RESOLVE
    Source Code Extract
    Line
    SourceCde
    50
    message_handler = message_handler.
    51
    return.
    52
    53
    catch cx_sy_move_cast_error.
    54
    endtry.
    55
    END-OF-DEFINITION.
    56
    57
    58
    try_to resolve_missing_infty_data    cx_hrpa_missing_infty_data.
    59
    try_to resolve_missing_authorization cx_hrpa_missing_authorization.
    60
    try_to resolve_invalid_feature       cx_hrpa_invalid_feature.
    61
    try_to resolve_unexpected_message    cx_hrpa_unexpected_message.
    62
    try_to resolve_missing_personid      cx_hrpa_missing_personid.
    63
    try_to resolve_invalid_infotype_db   cx_hrpa_invalid_infotype_db.
    64
    try_to resolve_invalid_customization cx_hrpa_invalid_customization.
    65
    try_to resolve_inconsistent_database cx_hrpa_inconsistent_database.
    66
    67
    68
    Just to ensure the macro can be used nowhere else.
    69
    DEFINE try_to.
    70
    END-OF-DEFINITION.
    71
    72
    If we can not remap we would like to just re-raise the
    73
    exception like below like "RAISE EXCEPTION exception.".
    74
    Unfortunately the kernel will then forget about the
    75
    original source position.
    76
    77
    So this is the fallback strategy. Calling this method
    78
    is only allowed if the exception can be resolved. Since
    79
    this is not the case we indicate a parameter violation.
    >>>>>
    RAISE EXCEPTION TYPE cx_hrpa_invalid_parameter
    81
    EXPORTING
    82
    previous  = exception
    83
    parameter = 'EXCEPTION'.
    84
    85
    ENDMETHOD.
    Regards,
    Dipti.

  • Custom infotype with table

    Hi Guyz,
    i have to create a custom infotype with a table in it.i have created the PS structure (PM01)with fields a,b,c,d,e. i gave the infotype charac, techn attr, activated the PA table and P structure . In the lay out editor i created a table and put the fields a, b and c. i dragged the input/output field on the table and then dragged the text fileds above them. when i check the layout i get the following error in the flow logic.
    Program MP988800 Screen 2000
    The field P9888-ZA is not assigned to a loop. "LOOP............ENDLOOP" must
    appear in "PBO" and "PAI"
    can anyone tell me how and where should i write the code for the table to get activated. Thanks a lot.

    HI Ranjeth,
      i have tried the code you provided. I am getting errors.can you please tell me what IT_TBCTRL_BEHAVIOR and IS_TBCTRL_BEHAVIOR are.
    i am getting the following errors.
    Statement CONTROLS is not defined.
    IS_TBCTRL_BEHAVIOR-CODETXT not defined
    IS_TBCTRL_BEHAVIOR-RATE not defined.
      i have replaced i_bc_tbctrl with the table name which i defined in the layout editor.  i have put your code in the flow logic. check the code below
    CONTROL: options TYPE TABLEVIEW USING SCREEN 2000.
    PROCESS BEFORE OUTPUT.
    LOOP AT IT_TBCTRL_BEHAVIOR
    INTO IS_TBCTRL_BEHAVIOR
    WITH CONTROL options
    CURSOR options-CURRENT_LINE.
    MODULE options_GET_LINES.
    ENDLOOP.
            general infotype-independent operations
      MODULE BEFORE_OUTPUT.
      CALL SUBSCREEN subscreen_empl   INCLUDING empl_prog empl_dynnr.
      CALL SUBSCREEN subscreen_header INCLUDING header_prog header_dynnr.
            infotype specific operations
      MODULE P9111.
      MODULE HIDDEN_DATA.
    PROCESS AFTER INPUT.
    LOOP AT IT_TBCTRL_BEHAVIOR.
    CHAIN.
    FIELD IS_TBCTRL_BEHAVIOR-CODETXT.
    FIELD IS_TBCTRL_BEHAVIOR-RATE.
    MODULE options_MODIFY ON CHAIN-REQUEST.
    ENDCHAIN.
    ENDLOOP.
    process exit commands
      MODULE EXIT AT EXIT-COMMAND.
            processing after input
            check and mark if there was any input: all fields that
            accept input HAVE TO BE listed here

  • Custom infotype with subtypes

    Hi Experts,
    I have a requirement to create a custom infotype with subtypes. I have maintained all the fields + 'zzsubty' field (to store subtype no. - of type subty) in PSnnnn and also maintained infotype characteristics and Technical attributes (all the standard steps). But, I want only some of the fields to be displayed depending on the subtype entered. By using the current method, I see all the fields I created in the structure irrespective of the subtype. So, is there anything else that I need to work on to make sure that only the fields I want to be displayed will be visible depending on the subtype? If I need to work on the module pool, could you please be descriptive as I am new to it.
    Thanks
    Sri

    Hello,
    Try using the user -exit EXIT_SAPFP50M_001 for ur requirement.
    Cheers,
    Manoj.

  • Is there a way to create a custom screensaver with pics/slides that display for different amounts of time?

    Is there a way to create a custom screensaver with pics/slides that display for different amounts of time? Or even add a "video slide" into the screensaver?
    My business has 3 TVs displayed in our lobby, each with its own apple TV and they are all linked to the same photo stream. Currently the Atv screensaver displays the photostream pictures of our products for the default 3 seconds. We just added pics/slides that now display messages and useful info for our customers but I want that info to be displayed for a longer period of time than the pictures to give people a chance to read it.
    I tried using flickr and powerpoint as a work around but no luck.  I created a slide in powerpoint with play length of 15 secs and saved it as a wmv file.  I added that file to a "screensaver" set in flickr and pointed the Atv screensaver to that flickr set.  It still displays everything, pics and the wmv file at the default 3 sec.
    I know I can increase the duration of all pics in the screensaver to display for longer but the goal is to have the pics display at 3 secs and the info slides to display at 15 secs.

    Welcome to the Apple Community.
    No that's not possible.
    If you have any suggestions that you think might enhance the Apple TV you can send Apple your feedback here 

  • How to create the custom infotypes in Campus Management

    Hi,
    Please help me how to create the custom infotypes in campus management.
    Thanks,
    Lakshmi.

    Hi,
    Steps to create a HR Infotype:
    1) Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the 'Employee Infotype' radio button.
    4) Select the 'PS Structure Infotype'.
    5) Click on Create... A separate table maintenance window appears...
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on 'All' push button. It takes a few moments.
    10) Click on 'Technical Characteristics'. Infotype list screen appears
    11) Click on 'Change'(pencil) button
    12) Select your Infotype and click on 'Detail' (magnifying glass) button
    13) Give 'T591A' as subtype table
    14) Give 'T591S' as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on 'Infotype Characteristics' ... Infotype list screen appears
    18) Click on 'Change' (pencil) button
    19) Click on 'New Entries'
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirement...
    25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select 'Layout Editor' and click 'Change'.
    27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Don't forget to 'Activate at every level)
    Subtype Creation :
    Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.
    Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.
    Subty.text tab is T591S and time const tab is T591A.
    See:
    http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
    HR related site:
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    Enhancement of Infotype
    Check the following
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf
    Infotype Enhancement overview screen
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1
    Cheers,
    vasavi.
    kindly reward if helpful.

  • Query Related to Custom InfoType Modification on Screen ?

    Hi There,
    We had created a custom infotype 9003, for entering service related details of the govt.employees. Here in the req had  a field regarding for Physically Handicap with only possible anwers as yes or no. so i went on creating two different field in the structure PS9003 two fields ZPHYC_Y & ZPHYC_N each having 1 character as input. after this i converted these two input fields to Radio button & combined them in group using Screen Painter also assigned a single function code to these two radio button. Now my other requirement is upon selecting Yes radio button a second field displaying a dropdown box of possible Phy.Category should be displayed. & upon selecting No the Box should remain greyed out.  This is a typicall HR Requirement Please provide your suggestions
    Edited by: priyeshosi on Apr 6, 2011 8:01 PM

    I have resolved this ticket by creating a subscreen inside the original Infotype screen & calling the custom visibility function module & at there doing LOOP AT SCREEN in PBO event of the subscreen.
    Edited by: priyeshosi on May 10, 2011 10:19 PM

  • Slave display with different screen..

    In many instances of machine applications where LV is used the PC monitor is the primary ( and only) display.
    But there are also many sensor DPMs ( digital panel meters ) which are provided for user convenience. And there is a problem here - never do the values displayed by LV match with that of the DPMs! Both are within 0.05 or so but still not the same.
    Also is the fact that I need to find a place to fix these DPMs . All in all there needs to be a more elegant solution.
    I was thinking of another 15" LCD monitor that can be made to show only the DPM values in a tabular format and the input for this monitor SHOULD come from LV and must the same as shown on the primary monitor. Maybe a shared variable can be used for this ?? If I use the same variable to update the value in primary as well as the slave montior, then the issue of variance is eliminated.
    Question is : Can LV be made to drive two different monitors with different screen images at the same time ? Is there any plug in hardware that can help do this ?
    Any ideas are most welcome.
    Thanks
    Raghunathan
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.

    Dear Johnsold,
    Yeah I have made some progress. But not got to the end still.
    - Put the secondary monitor in DualView  ( independent configuration )
    - Edit the VI properties of the MaxValGauge. vi  to run in the secondary monitor
    With all of the above I ran the MaxValMaster.VI. Immediatley the MaxValGauge also was launched and I could move it with my mouse "into the second monitor " So far so good.
    I stopped the main VI and then was surprised to see that the MaxValGauge.vi vanish from the second monitor and worse still the needle shrinked and the markings vanished ( I do not know how that happens ).See the attached image.
    I thought once manually positioned and stopped, LV will remember the position. But it is not so I think. Maybe I need to programmatically set the bounds as given in an example in this thread. In the meanwhile I would like to know why the needle got disfigured so badly ...?
    Thanks
    Raghunathan
    Message Edited by Raghunathan on 08-03-2007 06:58 AM
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.
    Attachments:
    DamagedGauge.zip ‏17 KB

  • Custom Infotype with multiple long text fields

    Hi,
    We have a need to create a custom Infotype (in PA or PD) that will contain more than one long-text area.
    I've searched this forum and found that there are generally two approaches :
    1. use the HR clusters for long-text and setting the ITXEX field in PA
    2. using SAP standard text area (SO10) and functions such as READ_TEXT, SAVE_TEXT, etc.
    The problem with (1) is that it can only store one long-text.  We need to have many.  Please correct me if we can hold more than one long text in the cluster...?
    With regard to (2), I'm just not sure that this is the correct place to store the long text...?
    If I was to adopt option (2), could I just use the key of PA9nnn (ie: PAKEY) as the key/TDNAME for STXH?
    Are there any other methods to store long text?
    As well, is it possible to create a custom Infotype in PD?  Can we use PM01 to create PD infotypes?
    Thanks,
    Raj

    Raj
    Sorry I'm not much help on the two questions you have raised...you have probably already got answers by now anyway..however FYI check out link below for enhancing PD infotypes (use transaction PPCI).
    enhance infotypes

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • Is it possible to create a customized survey with our organizations logo at the top?

    Is it possible to create a customized survey with our organizations logo at the top? I'm trying to create a survey for our members but instead of using a template we would like to use something simple with our logo included at the top.

    Just create a blank form and click Add Header at the top of the form page:

  • Please help me creating a new listener with different port#.

    I have two instances in a server. both have different homes. I want to create a seperate listener for the second one i created.
    But that is not happening.
    here i tried to give name from LISTENER TO LISTENER1 & Port# from 1521 to 1524.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /apps2/oracle)
    (PROGRAM = extproc)
    LISTENER1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = aixth53)(PORT = 1524))
    When I check lsnrctl status with LISTENER1 , it still shows the other instance home with port#: 1521
    Please help me creating a new listener with different port#.
    Thanks,

    marist89 wrote:
    sb92075 wrote:
    marist89 wrote:
    sybrand_b wrote:
    The listener is a broker only and doesn't play any role in normal communications.
    It just forks a process or a thread, and that's it.And the listener is a single point of failure. Listener goes down, you can't connect to the db. That's why you need two listeners.If listener one goes down, then listener two goes down for exact same reason since it is a single executable file.I'm not playing tit-for-tat with you. Fact is, there are situations where people who are not you might want to use more than one listener.Some folks might want to jab a sharp pencil into their eye, too.
    Just because you can do something, it does not necessarily mean it should be done.

Maybe you are looking for