PA30-create new PERNR via batch upload

Hi Gurus
Need your advice.
have done the recording for PA30 and coded the program for batch upload. However encountered problem with uploading infotype 185 and 186.
During dialog processing, the NRIC field in infotype 185 is populated to the CPF field in infotype 186. How do I code my batch upload to simulate this? Not able to do so now because the PERNR is not known at the start of the batch session.
Please advise.
Thanks.

Hi Hui,
In the single program only you can do this. If you are using the CALL TRANSACTIONS then you have MESSAGES INTO itab option where you get back all the messages from the BDC(error or success messages) you can look into that table in the program to get the PERNR generated and now in the program use the same PERNR.
Regards,
Atish

Similar Messages

  • Error message 'entry pernr inexistent dans pa0003' while creating new pernr

    Hi experts,
    I created a screen for creating new HR employee (pernr). Whatever FM I used to create the new pernr from the screen there is always the error message: 'entry 1234(pernr to create) doesn't exist in pa0003' when I save it. That's why???
    Thanks!

    When you say you are creating new pernr, are you doing a new hire? You will do this through transaction PA40 that will create a pernr when you do new hire! I will ask the same thing..what FM are you using?
    Mithun

  • Don't want user create new item via VA02

    Hi experts:
    If I don't want user create new item in sales order via VA02,
    how can I do it ??
    Thanks
    Shwan

    This can be done by Roles and authorisation.
    Basis can be able to do the settings in such a way that once the user save the sales order at VA01, he can' t change anything in that.
    THat can only be modified by the authorised person.
    Reward if useful.
    Regards,
    Kaleeswaran B

  • Creating/updating Workcenter via batch file

    Hello,
    I need to update/create workcenters via batch file, including the cost, capacity and scheduling views.
    Concerning the capacity views (table CRCA), could somebody tells me how to initialize the key field CRCA-CANUM (capacity allocation number) ?
    Thank you in advance

    hi
    good
    Definition:Operations are carried out at a work center. In the R/3 System work centers are business objects that can represent the following real work centers, for example:
    Machines, machine groups
    Production lines
    Assembly work centers
    Employees, groups of employees
    Use
    Together with bills of material and routings, work centers belong to the most important master data in the R/3 production planning and control system. Work centers are used in task list operations and work orders. Task lists are for example routings, maintenance task lists, inspection plans and standard networks. Work orders are created for production, quality assurance, plant maintenance and for the Project System as networks.
    Data in work centers is used for
    Scheduling
    Operating times and formulas are entered in the work center, so that the duration of an operation can be calculated.
    Costing
    Formulas are entered in the work center, so that the costs of an operation can be calculated. A work center is also assigned to a cost center.
    Capacity planning
    The available capacity and formulas for calculating capacity requirements are entered in the work center.
    Simplifying operation maintenance
    Various default values for operations can be entered in the work center.
    Look at CR01 ,CR02,CR03 Transaction
    table : CRHD Table
    thanks
    mrutyun^

  • Report template error when creating new report via SAP menu

    Hi everybody,
    we have the following error on our system:
    When trying to create a new crystal report on a SAP query, using the entry "Create new report from a SAP query" in the SAP menu an error occurs: An error ocurred while generating a new report template
    The error message appears after the SAP logon and the SAP query selection.
    I think this error is related to the report templates of Crystal...
    Is there any default template for SAP integrated queries?
    We are using Crystal Report 2008 SP2 with SAP Integration Kit.
    Thanks for any helps and comments.
    Sebastian

    The following SAP note might help you
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333363337333633343330%7D.do]
    Regards,
    Raghavednra.G

  • Error while creating new user via new MDM API

    Hi
    I have two questions:
    1) Is it possible to create a user in MDM via MDM4J?
    2) I am trying to create a user through new MDM API (not the MDM4J). When I execute the command CreateUserCommand, I get following error:
    com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: MDM repository data is out-of-date or is locked by another MDM Server. Refresh the data and try the operation again. If the error persists, contact the system administrator.
         at com.sap.mdm.security.commands.CreateUserCommand.execute(CreateUserCommand.java:93)
         at demo.dm.GetRoleList.main(GetRoleList.java:206)
    Here is the code that I execute:
              CreateUserCommand createusercommand =
                   new CreateUserCommand(connections);
              createusercommand.setSession(repsessionId);
              UserProperties userpp = new UserProperties();
              userpp.setName("Vijendra");
              //userpp.setRoleIds(roleids);
              createusercommand.setUser(userpp);
              //createusercommand.setInChangeStamp(-1);
              //System.out.println(createusercommand.getOutChangeStamp());
              try {
                   createusercommand.execute();
              } catch (CommandException e) {
                   e.printStackTrace();
                   return;
    Thanks
    Vijendra
    Edited by: Vijendra Bhanot on Feb 22, 2008 6:42 PM
    Edited by: Vijendra Bhanot on Feb 22, 2008 6:49 PM

    Hi
    I am also getting same exception.
    com.sap.mdm.internal.protocol.manual.ServerException: MDM repository data is out-of-date or is locked by another MDM Server. Refresh the data and try the operation again. If the error persists, contact the system administrator.
    Please help me.
    Thanks & Regards
    Vinit

  • Creating new client (via SCC4) doesn't create defualt users (SAP*,DDIC,...)

    I've created a new client (100) via <b>SCC4</b>. After this, I've tried to login at this client with <b>SAP*</b> user and password <b>PASS</b> (i've also tested with the password that i've changed at installation). The message that the system displays is "<u><b>Name or password is incorrect</b></u>". I've been querying the SAP table <b>USR01</b> and the user is not created for this client (only for clients <b>000</b>, <b>001</b> and <b>066</b>). What can I do to login at the system with client <b>100</b>?

    Hi Raphael,
    Thanks for choosing the SRM forum for this question.  But Netweaver or Web Application Platform would be more appropriate for this question.  You can also look for SAP Notes in the BC-CTS-CCO area.  See if Note 41839 helps.
    Kind Regards, Suresh.

  • Create new mailbox via Groupwise web service (SOAP)

    Good evening!
    I'm new to Groupwise integration via SOAP and was looking through the web service API at this page.
    Unfortunately, I was not able to find a method that would allow me to create a new mailbox. Do you have any info if this is even doable via the Groupwise web services? If so, what method should I be using?
    Kind regards
    Hubbovich

    That is only possible programmatically through
    the Admin API.
    Preston
    >>> On Sunday, May 29, 2011 at 12:36 PM,
    Hubbovich<[email protected]> wrote:
    > Good evening!
    >
    >
    > I'm new to Groupwise integration via SOAP and was looking through the
    > web service API at 'this page'
    >
    (http://developer.novell.com/document...ex.html?page=/
    > documentation/gwsoap/gwwbserv/data/b8cg4px.html).
    >
    > Unfortunately, I was not able to find a method that would allow me to
    > create a new mailbox. Do you have any info if this is even doable via
    > the Groupwise web services? If so, what method should I be using?
    >
    > Kind regards
    >
    > Hubbovich

  • Create new project files with uploaded word document

    How do I create a new project file with an uploaded word document.  I tried to follow the guidelines using the Robohelp PDF file but after I upload the word document, I cannot see it in the workspace.  Are there other steps to bring the document into Robohelp 9.  I am using the trial version and have never used Robohelp before.
    Thank you!

    I was finally able to fix my problem and I hope to publish this in as many pages as I can.  First I had the exact same issue.  My file was password protected (the one I used as a shell for a new project) spent two hours of work, went home and next
    day “Nothing” same errors.  Cannot open file etc. etc.  So after two hours searching the net I found this company that has a
    Project Repair Toolbox that is cloud based for FREE (no useless downloads).
    I went in > It asked me for the file that I had on my local drive > prompted me for the password and > BAM! the file opened right up.  Since it as viewer only I was able to at least begin re-typing the project plan which was small in nature.
     Check it out, hope it works for you. 
    http://www.project.repairtoolbox.com/

  • Unique username generation when creating new user via FIM Portal?

    Hi,
    Is it possible to create a new user using the FIM Portal, and have FIM create the unique username upon submission of the request in the Portal?
    So effectively, when you create a new user in the Portal, the 'accountName' attribute would not be a mandatory field and therefore removed from the GUI using RCDC , and instead be generated based upon the unique AD username rules.
    Thank you.

    Just my 2 cents worth ... make sure you identify and test the "edge cases" for whatever solution you end up implementing, and don't just assume a solution that works for someone else will automatically work for you in 100% of cases (this is most likely why
    this feature is not OOTB, even though most people would want something like this from the get-go).
    To be specific, I have implemented option #2 myself with success, after initially implementing option #3 and running into grief with a particular use case (education environment end-of-school year roll-over involving large numbers of concurrent leavers/joiners
    in the same import/sync cycle).  To be specific, when implementing a workflow-based solution to do this there is a small but nonetheless realistic chance that 2 user requests being processed in parallel calculate exactly the same AccountName value, and
    of course one will succeed and the other will fail ... and of course by default this will fail the entire request.
    I solved the problem in my case by adoption option #2 using an approach where I reserved a unique accountName in the MV (downside is that in some cases the user may never end up being provisioned to AD if this is in advance of the actual hire date), thereby
    avoiding clashes by getting the FIM Sync Service to control integrity rather than the FIM Service where parallelism is a design feature :).
    So just make sure you understand the pros and cons of each approach when deciding what is best for you.  Note that this discussion has come up many times before on previous posts on this forum, and it will be worth looking through these if you are still
    in the early stages of formulating your approach.
    Bob Bradley (FIMBob @
    TheFIMTeam.com) ... now using FIM Event Broker for just-in-time delivery of FIM 2010 policy via the sync engine, and continuous compliance for FIM

  • Create new item under Batch split

    Hi,
       my requirement says,
      For an INBOUND delivery
    under  2180152896  , 0010 is an item which is spitted into 90001,90002
    like
    item          material       qty
    10     500000376       30,000
    900001     500000376  25,000
    900002     500000376       10,000
    1 scenario says we need to create one more line item like 90003 say qty 10 and add qty and update the item 10 qty with
    like
    item          material       qty
    10     500000376       30,000
    900001     500000376  25,000
    900002     500000376       10,000
    900003     500000376       10,000 (new item)
    can anyone suggest me how to achieve this
    Cheers
    Pradeep.B

    Sundarachellam,
    Well, why do you need to create a new item category? It would help if you can clarify your business scenario so that it would be easier for us to make the right recommendation.
    Regarding your question, the answer is a NO. It is not possible to create a new item category in SAP. The item category table (T163) is an SAP system table and cannot be changed by customers. Please read OSS note 61345 for a further explanation.
    In simpler terms, SAP has built a great amount of control around the item category in the way it has designed its standard PO program and the way it is processed in the program. They do not want customers to mess around with this.
    Then again, nothing is impossible in SAP. Probably, an expert ABAP programmer can understand the way the item category is processed in the PO program and you may well be able to modify the system by creating an entry in table T163 and use it during PO creation. But, this is certainly not recommended by SAP.
    Hope this helps.
    H Narayan

  • Q: How to create new CLI via EEM ?

    I would like to build an applet/EEM-script that would run in the CLI when performing an exec level CLI command, eg: "show foobar status". What is the best option to do this ?

    You would register an applet using the CLI event detector with the "enter" keyword.  The enter keyword tells the parser not to deal with the command.  This will allow you to create your own command.  For example:
    event manager applet test
     event cli pattern "^show foobar state" enter
     action 1.0 puts "FOO!"

  • Can HR_INFOTYPE_OPERATION create a new PERNR

    Hi Gurus,
    I would like to know if HR_INFOTYPE_OPERATION can be used for creating a new record for IT00.. Since it still has no personnel number, would it be creating a new one or is there another FM/method to create first a PERNR then use it in IT00 creation with HR_INFOTYPE_OPERATION..
    Thank you

    Hi,
    It would perhaps be easier to handle this with FM HR_MAINTAIN_MASTERDATA, as you have to process several infotypes at once...
    A usefull thread over here: Create new pernr using HR_MAINTAIN_MASTERDATA
    Kr,
    Manu.

  • Creating new VM ends with Error code 3430 and 3040 in Hyper-V log. Does anyone have any insight into what might cause this?

    The new VM is being created via a P2V process run from SCVVM. It reaches a completion of 60% and dies. I asked about this in another question detail of the VVM can be seen at this link:
    http://social.technet.microsoft.com/Forums/en-US/virtualmachinemgrp2vv2v/thread/71aae7dc-13b5-46f1-b794-cc1b8085541f
    Running Win2008 R2 w/ Hyper-V role enabled & SCVVM 2008R2
    In any event I checked the Hyper-V logs to see if they might shead any light on the problem and there were two error messages associated with the attempted conversion. The first Event ID 3430
    Log Name:      Microsoft-Windows-Hyper-V-Worker-Admin
    Source:        Microsoft-Windows-Hyper-V-Worker
    Date:          5/23/2011 4:51:25 PM
    Event ID:      3430
    Task Category: None
    Level:         Error
    Keywords:     
    User:          NETWORK SERVICE
    Computer:      Virtual-Mgt.amrinc-corp.local
    Description:
    'test1' failed to set/change partition property: The system cannot find message text for message number 0xtest1 in the message file for 18568CA2-82E9-4A9F-B462-701D8FB4C447. '0x8007013D'.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="{51DDFA29-D5C8-4803-BE4B-2ECB715570FE}" />
        <EventID>3430</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2011-05-23T21:51:25.956775200Z" />
        <EventRecordID>1</EventRecordID>
        <Correlation />
        <Execution ProcessID="3316" ThreadID="2716" />
        <Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
        <Computer>Virtual-Mgt.amrinc-corp.local</Computer>
        <Security UserID="S-1-5-20" />
      </System>
      <UserData>
        <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
          <VmName>test1</VmName>
          <VmId>18568CA2-82E9-4A9F-B462-701D8FB4C447</VmId>
          <ErrorCodeString>%%2147942717</ErrorCodeString>
          <ErrorCode>0x8007013D</ErrorCode>
        </VmlEventLog>
      </UserData>
    </Event>
    And the second Event ID 3040
    Log Name:      Microsoft-Windows-Hyper-V-Worker-Admin
    Source:        Microsoft-Windows-Hyper-V-Worker
    Date:          5/23/2011 4:51:25 PM
    Event ID:      3040
    Task Category: None
    Level:         Error
    Keywords:     
    User:          NETWORK SERVICE
    Computer:      Virtual-Mgt.amrinc-corp.local
    Description:
    'test1' could not initialize. (Virtual machine ID 18568CA2-82E9-4A9F-B462-701D8FB4C447)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="{51DDFA29-D5C8-4803-BE4B-2ECB715570FE}" />
        <EventID>3040</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2011-05-23T21:51:25.956775200Z" />
        <EventRecordID>2</EventRecordID>
        <Correlation />
        <Execution ProcessID="3316" ThreadID="2716" />
        <Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
        <Computer>Virtual-Mgt.amrinc-corp.local</Computer>
        <Security UserID="S-1-5-20" />
      </System>
      <UserData>
        <VmInitialize xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
          <VmName>test1</VmName>
          <VmId>18568CA2-82E9-4A9F-B462-701D8FB4C447</VmId>
        </VmInitialize>
      </UserData>
    </Event>
    I have blownout the server and reinstalled the operating system and SCVVM and applied all the current updates to no avail. I have the exact same issue again. The problem seem to be at least on the serface an authority problem because I have no problem creating
    new VM via the P2V process on an old Virtual Server running on Win2003R2.
    Oh yes I can create new virtual machines on the system in question and move them to the library as was suggested to verify in a Blog post so I am really wondering what the problem is?
    Configuration Analyzer Just gave me a warning about reporting not being setup on the VVM which it isn't so no suprise there?
    Any information that might help me figure this would be greatly appreciated

    I've looked at both threads, and there simply isn't enough information for me to tell you what is wrong.  Please collect a trace (instructions in General forum) and open a case with CSS.  CSS can provide more in depth analysis than what a forum
    post allows. 
    As a shot in the dark, I have seen the issue outlined in the following KB article cause this exact same error message and symptom,
    http://support.microsoft.com/kb/967902
    Best Regards, Mike Briggs [MSFT] -- posting provided "AS IS" with no warranties and confers no rights

  • Creating New Folders using Windows Explorer is very slow

    Hi,
    We have a SharePoint 2013 environment upgraded from SharePoint 2010. When working with Windows Explorer, users are able to navigate the folders normally without any issues. However, if a user tries to create a new folder from inside Windows Explorer, the
    process takes up to 30 seconds to complete and most of the time through the process the window shows "Not Responding". However, after that the folder is created normally. We did not face this issue in the previous SharePoint 2010 environment.
    I have tried the various suggested solutions online like disabling "Automatically detect settings" in IE but that did not fix the issue.
    Our environment is SharePoint 2013 with Windows Server 2012 R2. Our users are using IE9.
    Any idea what might be causing the problem?
    Thank you.

    Hi,
    Please test the issue on more client PC and see if it is a client performance issue.
    If you create new Folder via Windows Explorer on a SharePoint server, does the issue still occur?
    Is there load balance deployed in your envrionment?
    Does the issue occur if you map a network drive to a SharePoint library per the steps in the article below, then create a new folder:
    https://support.microsoft.com/kb/2616712?wa=wsignin1.0
    Regards,
    Rebecca Tu
    TechNet Community Support

Maybe you are looking for

  • Sharing problems with iTunes 9

    Under iTunes 8 I had sharing of my music collection working well with 2 other computers on my home network by pointing iTunes on each computer to a common iTunes Media Folder Location on a network drive. I installed iTunes 9 and turned Home Sharing o

  • Duplicates files and DVD failed

    Hi all. I'm new to FCPX and Compressor 4.1.3. Both FCPX and compressor creates many video duplicates and the iMac is running out of memory. Some of the video file sizes duplicated and increased up to 138GB. I bought WD My passport 2T external hard dr

  • Regarding Migrating data from Legacy to SAP

    Hi All, We are in Migration Project. We have to upload data from legacy to SAP, either using BDC or Cross-Applications in the following SD scenario's. 1. Customer Master 2. Inquiries 3. Quotations 4. Proposals 5. Sales Order 6. Goods Issue I would li

  • Can we create items dynamically in forms 6i??

    Dear All, Is it possible to create items,i.e. Text items,display items etc. dynamically? Suppose I select Table name EMP,then it must get all columns from database and place it on form.Now I change table name from EMP to DEPT,now it should get all co

  • Is it Possible to have videos and music in the same playlist for Apple TV?

    Hi I'm new here so apologies if this has been asked before but is it possible to create a playlist that contains music AND videos to play on Apple TV? Thanks! Mark