Create IT2013 entry with the decoupled infotype framework

Hello,
I tried to create an IT2013 (Quota corrections) entry with the new decoupled infotype framework but I didn't success.
I first tried by using if_hrpa_masterdata_bl->get_infty_container to get a container (and then change it and save it) but I get an error because the time constraint for IT2013 is set to 'Z' and the framework don't handle it.
So I guess this is because if_hrpa_masterdata_bl and other related classes/interface can only be used for PA and not for Time.
Therefore I tried to find Time infotypes dedicated classes and I found some.
The most interessant one is CL_PT_BLP_IT2013. It looked perfect, with everything I needed, but it doesn't work: when CL_PT_BLP_IT2013->IF_HRPT_BLP_INFOTYPE~GET_INFTY_CONTAINER is called, it tries to create an instance of CL_HRPT_INFTY_TIME_CONTAINER but raises an exception. Not surprising because the only non-commented line its constructor executes is:
METHOD constructor.
  RAISE EXCEPTION TYPE cx_hrpa_violated_assertion.
*  if_hrpa_infty_container~a_tclas          = 'A'.
*  if_hrpa_infty_container~a_pskey          = pskey.
*  if_hrpa_infty_container~a_infotype_logic = infotype_logic.
ENDMETHOD.
Moreover, the description of the class CL_HRPT_INFTY_TIME_CONTAINER is: "DO NOT USE! HR: Time Data Container", so it's not suprising at all it doesn't work.
I found some other Time infotypes related classes like CL_PT_BLP_INFOTYPE or CL_PT_TD_INFOTYPE but I couldn't figure out how to create a new IT2013 entry with those ones.
At the end of the day, I couldn't find any way to create a new IT2013 entry using the decoupled infotype framework.
Can someone please help?
Thanks in advance.
Mathieu

Hi,
The time infotypes 2XXX are not yet decoupled as per the standard infotype framework. Hence there are no decoupled classes delivered in standard.
Regards
Roy
SAP Labs

Similar Messages

  • DIF Time infotypes: Availability of time infotypes in the decoupled infotype framework

    Hi (fellow) experts,
    My primary and most wondered question:
    Does anyone out there has an idea on SAP schedule to release compatibility fix for time infotype (constraint Z) in the decoupled infotype framework?
    Many of us lately talk about and use the decoupled infotype framework; I see many clients interested in HR-Renewal PAOM attractive interface but when question turns around time data I tend to change subjects)... HR Renewal 2.0 has awesome new features such as the Payroll Control Center and the possibility for dynamic action but still no access to time infotypes... Tricky to manipulate infotype 2010, 0416 data without accessing the backend system to correct payroll data... I don't even start on 2001 absence infotype..., etc...
    I also have some question on the SAP official working model for certain PA infotype that update in background time data (e.g. 0080 for instance). 
    There are some country specific infotypes that bothers me a little bit because I don't  understand the SAP working model behind it; it's about french infotype Work stopped (0424) which is a data entry screen for work incapacity derived from illness or accident at work that update infotype 2001 in the background.
    Now if I take a detailed look at the decoupled class CL_HRPA_INFOTYPE_0424 method SPECIFIC_INSERT_COMPUTATIONS for instance I can see how the specific logic to create infotype 2001 is nicely commented out in the code while in the backend both those infotype are completely integrated.
    So what am I to understand: class is actively decoupled and I can use it but I will never have the same functionality that I have in the backend system? or is something else? same question apply to infotype 0080 under not only the french template, but UK, Spain... etc... , in the french version it updates both infotype 0424 and 2001 in the backend but I don't see nothing of the sort in the DIF even though there is an active specif FR convertion class (does not seems to be in working order and no infotype 0424 update anywhere nor of course 2001)...
    Let me be clear: I think the DIF initiative is a great innovation from SAP; very easy to understand, manipulate and so much more versatile. It would be awesome if everything would be ready to use ... very powerful tool.
    Thank you for time gurus!!!
    Antoine

    Hi Gurus:
    Well well sounds like some effort in decoupling time infotype development has been released into EHP8.
    At least I am able to see development class and FPM configurations for infotypes 2001, 2006, 3355... so even if not everything is ready I can now see things are well on the way!
    Cheers.

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

  • Create log entries with command-line client?

    I am getting an error message that seems to indicate that it's impossible to create log entries with the command-line client. Can I ask one of you FCS gurus to advise me?
    Note the disturbing error message below: *Entity /log doesn't know how to do create*
    root# ./fcsvr_client create /log --xml < /tmp/logentry.xml
    <?xml version="1.0"?>
    <session>
    <values>
    <value id="CODE">
    <atom>E_NOTSUPP</atom>
    </value>
    <value id="DESC">
    <string xml:space="preserve">Entity /log doesn't know how to do create</string>
    </value>
    <value id="SRC_FILE">
    <string xml:space="preserve">PmdEntity.C</string>
    </value>
    <value id="SRC_LINE">
    <int>2017</int>
    </value>
    <value id="ERROR_TYPE">
    <atom>ET_PERM</atom>
    </value>
    <value id="ADDRESS">
    <string xml:space="preserve">/log</string>
    </value>
    </values>
    </session>
    root# cat /tmp/logentry.xml
    <?xml version="1.0"?>
    <session>
    <values>
    <value id="LOGASSETID">
    <string xml:space="preserve">26</string>
    </value>
    <value id="LOG_DETAIL">
    <string xml:space="preserve">I am your log entry detail.</string>
    </value>
    <value id="LOG_STATUS">
    <string xml:space="preserve">OK</string>
    </value>
    <value id="LOG_TYPE">
    <atom>response</atom>
    </value>
    <value id="LOG_USER">
    <string xml:space="preserve">admin</string>
    </value>
    <value id="LOG_SUMMARY">
    <string xml:space="preserve">Log Summary from Command-Line</string>
    </value>
    </values>
    </session>
    Message was edited by: dpotter-ntc

    Hmm, no, my 1.5.2 instance logs script responses twice- once to say it is executing and again after the process terminates to say that it ran. The second entry is where any stdout is printed. I don't know of any setting that would turn this off, it has always been there for me.
    A typical script response log entry looks like this:
    Summary
    "response \[Response Title] script triggered by Subscription \[Subscription Title] complete"
    Detail
    "response complete, completed command /fcsvrbin/\[scriptname.sh] with arguments { 43, 8 } "
    "stdout would print here, if there is any"
    You probably already tried it, but try filtering your log search for "script triggered" since it can be easy to miss spotting entries on a busy system, and they don't necessarily show up side by side in the logs with the other responses in their respective stack.

  • I want to create a mail merge for address labels into a table, but when I fill a table with merge fields, it ends up creating multiple entries for the same address, rather than one table full of each address.

    ...but when I fill a table with merge fields, it ends up creating multiple entries for the same address, rather than one table full of each address. Please help.
    Thanks!

    That is a quirk of Pagesthat  it applies only one record per page.
    There is a way around this:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=245&highlight=labels &mforum=iworktipsntrick
    Peter

  • Create Contra-Entry with FIDCCP01

    I am currently creating an "interface" between a third party supplier -> XI -> R/3 FI.
    Unfortunately, I am only passed across the single entry (credit posting), and I need to create the "contra entry/offsetting account" within the mapping.  I have created a look up to obtain the reconciliation account to post to, but am unsure about how to create an additional single line entry to post this 2nd entry.
    There could potential have upto 998 line items (which will be forced within the other software) which leaves me the single available line to create this entry.
    Can someone point me in the direction of some literature that covers this, if possible, or give me some pointers on creating this additional entry?  Will I use "constants" for this? and if so, how do I make sure only one entry is created and not an entry for each line item?
    This maybe a basic question, but it has been four months since my training, and my first go at creating an interface in XI.
    Regards
    Barry Neaves

    Hi,
    The time infotypes 2XXX are not yet decoupled as per the standard infotype framework. Hence there are no decoupled classes delivered in standard.
    Regards
    Roy
    SAP Labs

  • Error in creating New Entry from the Client in NW Mobile 7.1

    Hi All,
    I have created a mobile application for Laptops in NW Mobile 7.1.
    I have a requirement to create an entry from the client, i.e., I need to create a PR in the client. The model bindind, the backend adapters, bapi wrappers are in place.
    I have used the standard create BAPI for PR and wrapped it in a BAPI wrapper. I just have to give the PR details and save the entry in the client. The BAPI wrapper has the logic for generating the new PR number.
    My problem here is, when I try to create a new PR, give the details and save, the entry is not getting updated in the backend and the sync state is '201'.
    I checked the "Message Monitoring" in the NW Mobile Administrator for the particular SWCV.
    For this create PR transaction, the particulars are as below
    Message State: Error - Stop Flow
    Message Type: Transaction
    Error: "Error occurred while fetching synckeys from table ZDOE01700000SL"
    "ZDOE01700000SL" is the Sync key look up table for PR(my data object).
    Please let me know where I have gone wrong and guide me in rectifying this problem.
    Thanks and Regards,
    Sunil

    Hi Sunil,
    From my understanding, looks like you are not filling synckey when you are creating a PR in your client. Synckey is a unique key on the DOE using which you can uniquely identify any node.
    There are two scenario's atleast as I know, where this error would have come.
    Case 1. If you are modifying something on client, which has been send by DOE, then you are not supposed to change synckey because it is a primary key. Now if we assume that you are not modifying synckey but when you are sending an update, check if by any chance the synckey is not going to DOE which is one case, and the second one is, after DOE has end that record to client, someone has cleaned up all the tables on DOE for that dataobject or someone has deleted that entry on the backend because of which the entry has been deleted on DOE. In either case, you are modifying something on client which is actually not present on DOE because of which when the DOE tries to look up based on synckey it doesn't find the needed record.
    Case 2. If you are creating something on client, then you are supposed to create a synckey which is a 32 bit character GUID. I think in your case, you are missing the synckey when you are sending it to DOE. Check if there is any API for doing that or you have manually create a GUID and send it.
    Hope it works out.
    Best Regards,
    Siva.
    PS: Reward with points if you find the post useful.

  • Unable to create database entry in the directory service. - TNS-04

    We run into this error when we tried to register an Oracle 10.2.0.4 database with OID server (10.1.4.3):
    Unable to create database entry in the directory service. - TNS-04409: Directory service error
    We use Oracle DBCA to register to the OID. Both Oracle database and OID server are all running under Sun Solaris environment.
    In the meantime, I found these errors in the oid logs:
    oidldapd01.log:
    2009/07/13:21:15:47 * DispatcherListener:2 * ERROR : gslsflAcceptConnAndSend : OS 2 : Unable to accept New TCP
    connection
    Any ideas?
    Thanks
    Naiying

    Hi,
    Thanks for update.
    No, didn't find DSCC agent logs get updated when I have the pop up.
    C:\dsee7\var\dcc\agent\logs
    In the glassfish server log, I didn't find new transaction when I hit the issue
    C:\glassfish3\glassfish\domains\domain1\logs

  • [svn:osmf:] 14765: Put gate around autoRewind code, to prevent possibility of an infinite loop ( which could happen if you create a SerialElement with the last child a DurationElement of duration zero ).

    Revision: 14765
    Revision: 14765
    Author:   [email protected]
    Date:     2010-03-15 13:48:04 -0700 (Mon, 15 Mar 2010)
    Log Message:
    Put gate around autoRewind code, to prevent possibility of an infinite loop (which could happen if you create a SerialElement with the last child a DurationElement of duration zero).
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/MediaPlayer.as

    Step by step, how did you arrive at seeing this agreement?

  • Usе decoupled infotype framework at dismissal or repeated acceptance for work

    Whether there are FM or class for dismissal(fire) and repeated acceptance for work constructed for work using on decoupled infotype framework?
    As works (on hire) FM 'HR_PAD_HIRE_EMPLOYEE' I understood. Possibly somebody has examples on dismissal and the repeated device?
    PS - sorry for my English = \

    Hi,
    The time infotypes 2XXX are not yet decoupled as per the standard infotype framework. Hence there are no decoupled classes delivered in standard.
    Regards
    Roy
    SAP Labs

  • F110- not able to clear the debit and credit entry with the same reference

    Hi,
    I am not able to clear the debit and credit entry with the same reference in F110 even after having the payment terms as immediate payment, payment method is maintained in document no and vendor master data. Both debit and credit entry is appearing in FBL1N as an open item but it is not appearing in F110.
    In Log message appear as 8 days grace period is existing whereas as payment term is just 0001- immediate payment.
    Kindly advice me what could be wrong.
    Thanks,
    Manya.

    Hi,
    Credit and debit balance in vendor account are not cleared automatically when only vendor line item has payment method and credit memo has not payment method. Also when there is not payment method maintained in vendor master data.
    In such case to avoid payment to vendor when vendor has debit balance we perform debit balance check.
    In second scenario when u2018individual paymentu2019 is selected in vendor master data vendor invoice and credit memo are not cleared automatically in F110.
    To setoff vendor credit and debit balance in F110 you to uncheck u2018individual paymentu2019 check in vendor master data > company code data > payment data.
    Thanks!
    Raju

  • Web Matrix FTP Remote Connection Error - "Connection Error - Failure to get file list from server. An entry with the same key already exists."

    Does anyone have experience with this issue when connecting to a Linux FTP Web Server running a FTP Site?
    "Connection Error - Failure to get file list from server. An entry with the same key already exists."
    I cannot access the root directory of the ftp file server using Web Matrix 3. The site is .php based, and
    is accessible when connecting with FileZilla or Remote Connecting via FTP with Visual Studio.
    All sites have been deleted from Web Matrix, the user Application Data has been cleared and Web Matrix has been reinstalled.
    Issue Persists....
    Thanks in advance,
    Justin

    Turns out that the program leaves metadata in your app data folder that is not removed upon uninstallation of the software.
    This is incorporated to communicate with a file that uploaded into the ftp directory when publishing pages.

  • Creating Materialized View with the Distinct key word

    Hi
    I need help to create Materialized View with the Distinct key word.
    my query is
    select distinct col1, col2 from t1;
    is there any alternate of DISTINCT because I can not refresh the MV as fast on demand if I am using it and Fast on Demand is a must for me.

    hi
    check out this link
    http://download-west.oracle.com/docs/cd/B12037_01/server.101/b10736/basicmv.htm#i1007299
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/intro.htm#sthref183
    hope this helps
    CHeers

  • How to create a pdf with the correct size?

    Hi there
    How do I create a pdf with the correct size? I created several albums and ordered them. Now I want to backup the album and I know how to create a pdf, but when I choose A5 it's to big, when I create my own size it's not the size it should be. The original (made with iphoto) is a small size album 200x150mm. But when I create my own size (200x150) it shows some white borders.
    Does anybody have some tips ore workarounds?
    Yuri
    Imac
    Iphoto 11 (9.4.2)

    Books are designed for and printed on 8.5 x 11 inch stock, US Letter size.  You shouldn't have to select any size.  While viewing the All Pages mode in the book Control-Click on the page and select Save Book as PDF from the contextual menu. 
    That will create a PDF that iPhoto uses to upload and print.  Not all pages will be the same size as the dust jacket will be present in it's full size, 32.8 inches x 8.91 inches:
    If you want a PDF that's designed for your own printing the type Command+P while viewing the All Pages window.  In the first print window click on the PDF button.  It will present you with a contextual menu where you should select Save as PDF.  That will give you an 8.5 x 11 PDF file with all pages the same size.
    OT

  • How to create a button with the drop-down menu?

    I want to create a button with the drop-down menu, which is like the 'back' on the tollbar in IE. I heard JPopupMenu can reach the certain result, but the button hadn't a down arrow. Who can help me?

    i have made something like this :
    //======================================================================
    package com.ju.guiutils
    import java.awt.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.util.Vector;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.event.*;
    import javax.swing.plaf.basic.BasicComboBoxUI;
    * @version 1.0 14/04/02
    * @author Syed Arshad Ali <br> [email protected]<br>
    * <B>Usage : </B> ButtonsCombo basically performs function button + JComboBox, if we have different options for
    * <BR>same button then we can use this ButtonsCombo.
    *<BR> By the way there is no button at all in <I>ButtonsCombo</I>
    public class ButtonsCombo extends JComboBox {
    //===================================================================================
    * Create ButtonsCombo with default combobox model
    public ButtonsCombo () {
    super ();
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that takes it's items from an existing ComboBoxModel.
    public ButtonsCombo ( ComboBoxModel model ) {
    super ( model );
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that contains the elements in the specified array.
    public ButtonsCombo ( Object [] items ) {
    super ( items );
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that contains the elements in the specified Vector.
    public ButtonsCombo ( Vector items ) {
    super ( items );
    init ();
    //===================================================================================
    private void init () {
    setBorder ( BorderFactory.createBevelBorder ( BevelBorder.RAISED ) );
    setRenderer ( new ComboRenderer() );
    setUI ( new ComboUI() );
    addMouseListener ( new ComboMouseListener() );
    //===================================================================================
    * Set items for ButtonsCombo in the specified array
    public void setItems ( Object [] items ) {
    setModel ( new DefaultComboBoxModel( items ) );
    //```````````````````````````````````````````````````````````````````````````````````
    * Set items for ButtonsCombo in the specified Vector
    public void setItems ( Vector items ) {
    setModel ( new DefaultComboBoxModel( items ) );
    //```````````````````````````````````````````````````````````````````````````````````
    * Get current items in a array
    public Object [] getItemsArray () {
    ComboBoxModel model = this.getModel ();
    if ( model != null ) {
    int size = model.getSize ();
    if ( size > 0 ) {
    Object [] items = new Object[ size ];
    for ( int i = 0; i < size; i++ ) {
    items[ i ] = model.getElementAt ( i );
    return items;
    return null;
    //```````````````````````````````````````````````````````````````````````````````````
    * Get current items in a Vector
    public Vector getItemsVector () {
    ComboBoxModel model = this.getModel ();
    if ( model != null ) {
    int size = model.getSize ();
    if ( size > 0 ) {
    Vector itemsVec = new Vector();
    for ( int i = 0; i < size; i++ ) {
    itemsVec.addElement ( model.getElementAt ( i ) );
    return itemsVec;
    return null;
    //===================================================================================
    class ComboMouseListener extends MouseAdapter {
    public void mouseClicked ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    public void mousePressed ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    ButtonsCombo.this.setBorder ( BorderFactory.createBevelBorder ( BevelBorder.LOWERED ) );
    public void mouseReleased ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    ButtonsCombo.this.setBorder ( BorderFactory.createBevelBorder ( BevelBorder.RAISED ) );
    //===================================================================================
    class ComboRenderer extends JLabel implements ListCellRenderer {
    //````````````````````````````````````````````````
    public ComboRenderer () {
    setOpaque ( true );
    //````````````````````````````````````````````````
    public Component getListCellRendererComponent ( JList list, Object value, int index, boolean isSelected, boolean cellHasFocus ) {
    setBackground ( isSelected ? Color.cyan : Color.white );
    setForeground ( isSelected ? Color.red : Color.black );
    setText ( ( String )value );
    return this;
    //````````````````````````````````````````````````
    //===================================================================================
    // We have to use this class, otherwise we cannot stop JComboBox's popup to go down
    class ComboUI extends BasicComboBoxUI {
    public JButton createArrowButton () throws NullPointerException {
    try {
    URL url = getClass ().getResource ( "/images/comboarrow.gif" );
    JButton b = new JButton( new ImageIcon( url ) );
    b.addActionListener ( new ActionListener() {
    public void actionPerformed ( ActionEvent ae ) {
    return b;
    } catch ( NullPointerException npe ) {
    throw new NullPointerException( "/images/comboarrow.gif not found or /images folder not in classpath" );
    catch ( Exception e ) {
    e.printStackTrace ();
    return null;
    //======================================================================
    you can cutomize this according to your requirement , okie ;)

Maybe you are looking for

  • Serial number not working with upgrade from production studio

    I have an old WinXP with the first Adobe CS Production Studio Premium that I've been using for more than six years. I recently had to reinstall my system and now I have an install error with serial number.  The Prod Studio Prem is an upgrade to the V

  • Display a text as blinking in classical report

    Hi experts, I've to display a text as blinking in classical report output. Is this possible? If possible, how to do this? Need your help. With regards, Goutam

  • Is there a limit of ipods per authorized computer??

    I know thwre is a limit to the number of computers you can authorize to run iTunes. Is there a limit to the number of ipods I can connect to my computer or do I need to "deauthorize" the ones I don't use any more? This is my third ipod and now both k

  • STMP problem : check email settings

    Hello, I am trying to use the smtp demo to send email through my work account how ever i am encountering this error SMTP SEND FAILED: Command: MAIL FROM:<DSSOUTBOUND@DSSopen1> RetCode: 551 Response: 551 Sender address is not valid for your login. Che

  • Copy Transitions + Effects

    As I currently have Adobe Premiere Pro cs3 installed on my PC i'm trying to get the most out of it as its only a trial version- however, I also have Adobe Premiere Elements 2.0 which is the normal software I used previously and after having Pro I rea