Problem while creating the record in IT0080 from background

Dear All,
I have a requirement to Create the record for Maternity Leave in IT0080 from background, whenever applied from ESS.
Once the leave gets aaproved, while posting the documents from tcode PTARQ ( Program - RPTARQPOST), in the BADI PT_ABS_REQ, in method IF_EX_PT_ABS_REQ~POST_VIA_BLOP for the implementation, I am trying to submit the program in which the actual record is created in IT0080.
In this program through BDC i have created the BDC data and have used CALL transaction, as internally IT 2001 also needs to be updated, which gets calculated  indirectly...
But when executed, it gives error of Employee cannot be locked... as the Document which is posted through PTARQ, have several locks... I tried to dequeue the same...
but cannot resolve the problem...
Secondly i tried to create the Job also... which would be executed after some time... but still its not getting updated...
Any help... will be highly appreciated...
Regards,
Heena

Hello s.s
I'm not understand exacly what is your problem?
Field can have both values at the same time(Time Stamp and User stamp)  only if that field calculated
Maybe you told about two different fields?
User stamp field return username only it's standart functionality
Create stamp - return date/time combination
Remote key is avialable when you repository configured to work with some remote systems
All records from repository (LUT, taxonomy attributes ets.) you can map to corresponding Destination items
Regards
Kanstantsin

Similar Messages

  • Issue while Creating the records in OAF by disabling one field.

    Hi Experts,
    I am having the scenario like this.
    From the OAF page I want to create the record by omitting one field(it is disable for OAF).
    Consider the folowing scenario..
    I am having the following fields Empno,Empname,Salary,Job in the OAF page where I made the Job field alone as disable and the style i am using for job field is message text input and i have set the initial value as 'Manger'.
    I am facing issue while creating the records in OAF page without the job filed value ie 'Manager' then the records were not inserted into my tables. Whereas if I enable the job field in OAF page(meaning I gave the job as 'Manager' in OAF page) I am able to create the records from OAF page and able get inserted in the database.
    Could Anyone can suggest where I fail as it is my Priority issue.
    Any Suggestion will be a great help for me.
    Thanks,
    Murugesh.

    or you can default it in the controller by handling add row event
    if(vo.hasNext())
    vorow = vo.next();
    vorow.setAttribute("xxxx",3838);
    --Prasanna                                                                                                                                                                                                                                                                                                                                   

  • Problem while creating the Partner Address in CRM

    Hi,
       We are facing one problem while creating the new address for the Business Partner.
       When ever customer wants to change the address : we are following one process : where we are      
       using 'BAPI_BUPA_ADDRESS_ADD' functin module. Becuse of this , new addrss number will be generated for the 
      corresponding account in BUT021_FS table.But this table contains old address number as a first record, so that when ever
      we display the partner address in UI, it is displaying the old address only because first entry of the the table 'BUT021_FS'
      contains the old address number.
      Because of this , we are getting lots of complaints regarding this.
    Can you please help on this ASAP.
    Thanks & Regards
    Pradeep.

    Try BAPI_BUPA_ADDRESS_CHANGE  for address change followed by BAPI_TRANSACTION_COMMIT . It works.

  • Problem while creating the ARE1

    Hi All,
    As per the client requirement, have to generate the ARE1 for the export sales process,
    In this process while creating the ARE1 (J1IA101) the BED, ECESS, SHECESS values are not displaying inthe screen, if i save without values also the Bond in not updating
    *Note: I can able to see only the ECESS% in the ARE1 Screen
    Process followed now:
    Sales Order
    Delivery
    Invoice(JEX)
    Excise Invoice(J1IIN)
    Bond creation
    ARE1 Creation
    guys, could you plz help me out in the above issues and plz let me know if any other process isthere to create the ARE1
    Otherwise plz confirm that is there any NOTE(PATCH) is require to update in SAP
    THANKS & REGARDS
    Rajasekhar

    *ISSUE has been resolved. Found the solution from the Forum,,,, Thanks to all who provided the below
    Solution as per the forum below:
    Plz do few changes and then your ARE-1 and ARE -3 both will work fine. Also the Report bond summary for ARE-1 will get updated
    Applied this note J_1I7_USEREXIT_DUTY_IN_EXPORT
    In case of ARE 3 Changes for ARE-3
    In fn module 'J_1IEX_DEFAULT_EXCISE_DUTY'
    before the call fn given below this update has initial in it convert it to 'Y'
    IF l_update_cond EQ 'Y'.
    *} REPLACE
    CALL FUNCTION 'J_1I6_DETERMINE_EXCISE_RATE'
    EXPORTING
    Go to SE 37
    and input
    FUNCTION J_1I7_USEREXIT_DUTY_IN_EXPORT.
    ""Local interface:
    *" IMPORTING
    *" REFERENCE(YVBRK) TYPE VBRK
    *" EXPORTING
    *" REFERENCE(SUPPRESS_CALCULATION) TYPE J_1IEXCHDR-STATUS
    *If you do not want the excise duty to be calculated for a particular
    *transaction then you need to mark the flag supress_calculation as 'X'
    *This flag when left blank will trigger calculation of ED during j1ii
    *When it is marked, the ED copied from billing will be left as it is
    *{ INSERT VDQK903541 1
    SUPPRESS_CALCULATION = 'X'.
    *} INSERT
    ENDFUNCTION.
    Thanks & Regards

  • Problem While creating the related entity DocFlowSet

    Hi,
    i am trying to create a Business Transaction and attach it to the another transaction.
    I am creating the Transaction T1 using the factory methods and I am facing issues while creating the related entity DocFlowSet to attach T1 as a follow on document to T0.
    i am using the model DocFlowSingle and passing the parameters like.
    ObjKeyA GUID of T0
    OBJTYPEA
    OBJKEYB GUID of newly created transaction T1
    OBJTYPEB
    RELKING
    RELATEDGUID: GUID of T1
    RELATIONID GUID: creating a new 22 character GUID and then assigning it
    But still I am not able to create the related entity. Can any one please help me in resolving this.
    Thanks,
    Ravi G

    Resolved by self

  • Problem While creating the proxies

    Hello,
    When I am trying to create the Proxy for my Inbound Message from TCode:SPROXY, after assigning the package in the next screen it is asking to enter the "Access Key". Even if I give the correct access key it is displaying a message Invalid Entry.
    I could create reports,function module etc. without specifing the access key at all.
    Is the access key which I am suppose to give while creating proxies are different from the normal developer access key.
    Please help me in solving this problem.
    Thanks and Regards,
    G.S.Chary

    Hi Udo,
    My Package name starts with "Z" and once I selected it is asking fo Access Key. But while creating this pacakge it has never asked me and access key at all.
    Regards,
    Chary

  • Mapping Problem while creating the DP through utils (dpcreate.bat)

    I am exploring on the command line and utils to create build and deploy the project in jcaps 5.1.3.
    Used dpcreate.bat (from the repository utils) to create the deployment profile and automapping the components.
    In a particular scenario when i have two web service invocation in a single project,I have two SOAP webservice external system clients in the environment.
    when i use the dpcreate util, the two web services are getting mapped into a single SOAP webservice external system client.
    However, I want them to be getting mapped into two different SOAP webservice external system clients.
    ------------------------------------------------THE OUTPUT OF THE COMMAND LINE--------------------------------------------
    C:\JCAPS\repository\util>dpcreate.bat Administrator STC "test1" "envTest1" "dpTe
    st1" "test1/cmTest1"
    URL: http://127.0.0.1:12000/RepositoryName
    User Name: Administrator
    Project Path: test1
    Environment Path: envTest1
    Deployment Name: dpTest1
    CME List: test1/cmTest1
    CME Exclude List: none
    Mapping File Name: C:/JCAPS/repository/util/dpmapping.properties
    Recreate DP if found: false
    Trying to connect to http://127.0.0.1:12000/RepositoryName ...
    Total time to load resource is : 8845
    Connected to http://127.0.0.1:12000/RepositoryName
    Deployment Profile dpTest1 has been created
    Deployment Profile dpTest1 has been added to project named test1
    Processing mappings for 4 deployables ...
    Deployable name CMap1_BusinessProcess11 mapped to system IntegrationSvr1
    Deployable name CMap1_BusinessProcess11_outq mapped to system SBJMSIQMgr1
    Deployable name CMap1_BusinessProcess11_Web Service Application1 mapped to system
    CLIENT1
    Deployable name CMap1_BusinessProcess11_Web Service Application2 mapped to system
    CLIENT1
    Saving changes to workspace
    Result:
    Successful. Deployed: 4, Undeployed: 0
    Disconnecting from http://127.0.0.1:12000/RepositoryName
    Can someone please guide me how to map these into different clients ? Is there any property file which I can modify ?
    Thanks in Advance
    Sushant

    You will have dpmapping.properties file which can tell you this. Again in dpcreate you need to have one more option "recreate" which can help re-creating the Deployment profile.
    Change your dpcreate.bat adding the recreate option and try.

  • Problem while updating the records. IN clause no. of items

    We have an issue in updating a table when the inside IN more than 1000 numbers are passed ,
    it throws error message - ORA-01795 : maximum nunbers of experssions in a list is 1000. Is there any workarround (wihtout using ARRAYs).
    experssions list is passed from java.
    update <table> c
    set c.data='test'
    where c.id in (123,345,.... 25,0000 records);We tried this way , it throws error.
    DECLARE
    txt  varchar2(32000):= <Text size 30000>
    BEGIN
    update <table> c
        set c.data='test'
      where c.id in (select To_number(REGEXP_SUBSTR (txt, '[^,]+', 1, level))  from dual
                         connect by level <= regexp_count(txt,',')+1
    );thanks in advance..

    Hi,
    you can use WITH refactoring clause and UNION like shown below:
    with gen1 as (select level x from dual connect by level <= 1000),
    gen2 as (select level+1000 x from dual connect by level <= 1000),
    gen3 as
    (select * from gen1
      union
    select * from gen2)
    select * from dual where 1 not in (select x from gen3);Best regards,
    Nikolay

  • Problem while creating the Transport Request in BI Development.

    Dear Friends,
    We are trying to transport the objects from BW Development System to BW Production system. We are using the Path RSA1-> Modeling -> Transport Connection.
    In Transport Connection i selected grouping "Only necessary objects" and later i selected the ODS object into right side panel (Transport Area), by default it showed as $TMP package, to change the Package into our own package we clicked on Package pushutton. It popup a screen "Select Objects for Changing Package" here we selected all and clicked on OK button and it asked for the new Package name where we specified our own package name (ZBIW) and clicked on save button and it got save after changing the package name we selected all the objects and clicked on the Transport pushbutton but it did not asked for a request id and we got the following message.
    Error/Info Message:
    Edit objects separately since they belong to different original systems.
    Choose 'Display object' or 'Cancel'.
    Please give us your valuable input for our issues.
    Thanks in Advance.
    Regards,
    Akash.

    Hi,
    find the Objects for which the system is creating this error from the error messages.
    And then search for those objecs in the collected objects ,in right hand side screeb of Transport connector. you can find them two times ticked.And then remove tick mark for one .So that. you are making tick mark for only one time for those objects.
    with rgds,
    Anil Kumar Sharma .P

  • Problems while creating the leave request via PTARQ

    Hi All......
    While trying to create leave request via PTARQ I am getting the following warning message
    Document created with warning: HRTIM00BLPRETRO 009 Earliest recalculation for time evaluation exceeded
    Please suggest what should be done.
    Abhi........

    It sounds like you are trying to post a leave request on a date that is too far in the past.
    Check:
    1. PA03, earliest retro acctg period.  The leave requst cannot be older than that data.
    2.. In IT0003 for the employee involved: Check Earl.pers RA date.  Leave request cannot be older than that date.
    If you want the leave request to be posted anyway, you either have to change the dates mentioned above (be careful, they are there for a reason). 
    Hope this helps
    Kirsten

  • Problem while Creating the LEAD through WEB UI

    Hi,
    I am trying to create Lead from WEB UI. But, it is asking Sales Rep., but I am not able to find that field in the WEB UI.
    And In the Status field, I am able to See only 2 statuses, "Open" and "In Process".  I am not able to see any other status like "Rejected By Sales" and "Closed".
    Can you please let me know the reason for this. Do we need to do any configuration or Coding Related , to achieve this.
    Thanks,
    Sandeep

    Hi,
    You can enter partners (Sales Rep) in Lead in assignment block Parties involved , for additional status check your status profile attached to transaction lead, also check lowest and highest value in status profile.
    Regards,
    Dipesh.

  • Quantity problem while creating the sales order

    Dear Experts,
    Need your inputs for the following case,
    the sales order has to accept only quantity 1, if more than 1 qty it has to show error message.
    how to control this,as i know not through incompletion log.
    Please let us know your valuable suggestions urgently.
    Thanks
    Raju

    Hi
    J Raju
    Go to SPRO
    Sales and Distribution- --- Sales Documents --  Sales Document Item - -- - Sales Document Item--Select yr sales doc item category view the same there u will find -- general control -- put tick on order qty=1
    Hope this will help you.
    Thx

  • Set sap Component mandatory while creating the support desk message

    Hi,
       When create the support desk message from any application sysytem, the sap component get selected automatically but when we create the suppport desk message from the Easy Access the component wiil be blank, so some user create the support message without giving the component. So we want to make the component as mandatory while createing the support desk message from application system and also  set mandatory  when we create support message in solman.can anybody help me in setting component mandatory.
      Regards
      charan

    Dear Charan,
    The logic of setting the SAP Component mandatory is explained in the note 640532.
    Kindly use the note to resolve the purpose.
    Hope this solution helps.
    Regards
    Amit

  • Problem while dowloading the file from Application Server

    Dear Experts,
                 I am facing the Problem while downloading the file from Application server.
    We done the automatic function while saving the invoice, this will create an idoc, and this idoc is written in the Application Server.
    I am running the Transaction AL11 and select the record, and from menu --> List, i am downloading into TXT format.
    But for some segments, the length is long, and so the last 3 to 4 fields values are not appearing in the File. Even though i am unable to view the values in the file before downloading. But i can view in IDOC.
    Please help me to solve this issue.
    Thanks & Regards,
    Srini

    but our user will use the Txn. AL11 and they will download from there
    Educate the user On a serious note, tell him this is not how data from app server should be downloaded. You can ask him to talk to the basis team to provide him access to the app server folder where the file is being stored.
    I can set the Variant and put this in background, But always the file name will be change, Like we use Time stamp in the File name.
    You can't automate this process by scheduling in BG mode. This is because the in BG mode you can't dwld the file to presentation server.
    Hope i'm clear.
    BR,
    Suhas

  • Facing problem in creating socket in a method from an already deployed application exe while same method is working from another exe from same environment from same location.

    Dll Created In: - MFC VC
    6.0
    Application Exe Developed In:
    - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit
    / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component which
    has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting Error
    code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming on
    client side so what we did, we created a driver in C# which invokes same method from same environment(on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest: -
    We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not working,
    actually  it is not executing Create () method,
    I will give snippet of the code for understanding the problem because we are not finding any kind solution for it.
    Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
    DWORD errorCode = GetLastError();
    CString errorMessage ;
    errorMessage.Format("%lu",errorCode);
    ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
    return  IS_ERR_WINDOWS;
    Note: -
    CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
    ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
    if(!Create())
    ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
     n_Err = GetLastError();
     ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
    return NET_INIT;
    ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
    if(!AsyncSelect(0))
    n_Err = GetLastError();
    return NET_INIT;
    if(!Connect(strIP,n_Port))
    n_Err = GetLastError();
    ErrorLog(n_Err,0,"ConnectTS","");
    return SERVER_NOT_CONNECTED;
    Code description: -
    From
    int GETImage_MT() method we call Initialize() method and pass client machine IP and Port and there we call
    ConnectTS() method, In this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System 
    0
    Note: - According to logs, problem is coming in Create method().
    Here 0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll
    from different exe, it is working fine and we are facing any kind of problem. While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

    Pointer variable was already initialized; I have mention in code; kindly assist us.
    Dll Created In: - MFC VC 6.0
    Application Exe Developed In: - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component
    which has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting
    Error code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming
    on client side so what we did, we created a driver in C# which invokes same method from same environment (on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest:
    - We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not
    working, actually it is not executing Create () method, I will give snippet of the code for understanding
    the problem because we are not finding any kind solution for it. Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
                       DWORD errorCode = GetLastError();
                       CString errorMessage ;
                       errorMessage.Format("%lu",errorCode);
                       ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
                       return  IS_ERR_WINDOWS;
    Note: - CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
              ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
              if(!Create())
                       ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
              n_Err = GetLastError();
              ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
                      return NET_INIT;
              ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
              if(!AsyncSelect(0))
                       n_Err = GetLastError();
                       return NET_INIT;
              if(!Connect(strIP,n_Port))
                       n_Err = GetLastError();
                       ErrorLog(n_Err,0,"ConnectTS","");
                       return SERVER_NOT_CONNECTED;
    Code description: - From int GETImage_MT() method
    we call Initialize() method and pass client machine IP and Port and there we call ConnectTS() method, In
    this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System  0
    Note: - According to logs, problem is coming in Create method(). Here
    0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll from different exe, it is working fine and we are facing any kind of problem.
    While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

Maybe you are looking for

  • Bridge CC Adobe Bridge CC 6.0.1 Update Update is not applicable. Error Code: U44M2P28

    (MAC) I downloaded Bridge CC and accidently deleted it unproperly. I just trashed it in the trash can and emptied it. I can't restore/ re-download it becuase it still says on Creative Cloud that Bridge is up to date, but when I looked online to prope

  • Images Behind Text in RTF Template

    While creating a few rtf templates, I noticed that if an image is to be shown behind text then the image will not render to back to .rtf by bi pub. If I put the image inline with text, it renders just fine. Am I missing a step that would allow me to

  • Syncing outlook over a iMac and Mac Book Pro

    I'm having some trouble figuring out how to sync outlook over a iMac and Mac Book Pro without connecting them by a cable each time. Had the Mac Book first and did a migrate to the iMac. Everything is working fine but when I open an email on one it do

  • Alerting for complete async scenario

    I'm new to XI and I need advice from XI experts. Could any one explain me how to setup the alert scenario for complete async scenario in case of any errors in XI like mapping error etc. I have gone through some alert config documents but what I'm loo

  • IOS8: Ipad Air Display Flashes when opening photos or music

    Hi, I have upgraded to IOS 8 recently on my Ipad Air. It works fine but sometime I see display flashes once when I try to open photos or Music. Dont know if its happening to others as well.