Insert data in a user master data Table

Hi every body,
I've created a User Master data table named 'MyTable'. i want to add data to this table but there is an error which occur : 'to generate this. First Define the Numbering Series in the Administration Module'.  I want to add data to this table using C# code,  without using UDO.
Is it possible?
Thank you for helping me
Haifa

Hi,
thank you for your answer.
I didn't understand very well, i will ask the question in an other way.
it is possible to insert records in a master data table by using the code C#
I mean :
            usertable = _Company.UserTables.Item(tablename);
            usertable.Code = code;
            usertable.Name = name;
            usertable.UserFields.Fields.Item("U_ContCode").Value = ContCode;
            usertable.UserFields.Fields.Item("U_CardCode").Value = CardCode;
            lRetCode = usertable.Add();
without encountering the problem of numbering series.
Haifa

Similar Messages

  • Organizational Data on the User - Master Data

    Folks,
    I want to extract and load data from the datasources:
    0CRM_HR_UNAME_ORG
    - Organizational Data on the User
    0CRM_POSITION_ATTR
    - CRM Position Master Data.
    But I unable to locate the required infosources.
    The datasources are present but do not have any standard transformation to infoobjects.
    Can anyone pls help on the required infosources and infoobjects.
    Thanks & Regards,
    Raj Jain

    Hi,
    pls check if authorization problem ?
    Note 397208 - BW: Authorizations for HR data extraction
    *other note Note 872506 - 0HR_PA_PD_2: Only data in status '1' extracted **
    Organizational Management (PA-OS):
    For example, DataSource 0HR_PA_OS_1, 0ORGUNIT_ATTR, 0ORGUNIT_HR01_HIER, 0HRPOSITION_ATTR, 0CRM_HR_PA_OS_1, 0CRM_ORGUNIT_HR01_HIER, 0CRM_POSITION_ATTR
    P_PLAN_ALL and P_BAS_ALL
    hope this helps.
    regards
    CSM Reddy

  • Insert article picture in article master data

    Hi,
         I need to insert article picture in article master data, can anybody suggest me how can i do that. In article master data Basic data tab page i am unable to see the screen data view. Is there any possible way to view the article picture by placing the cursor in the article number.
    Thank you
    Kumar

    no no thats not true.
    But at the moment the screens sequence fashion assigned to article type FASH has this subscreen activated.
    For standard Retail users with screen sequence 23, the admin or consultant has to put the new screen on the basic data view.
    The logic works for retail only, but if you follow the instruction for customer own subscreen (see note) you can copy the retail screen, adjust some standard PBO PAI modules and ready to go.
    But remark, you will loos support if you use Retail functionality in MM systems.
    regards
    Björn

  • Deleted User Master Data with SQL Server Management Studio

    Hi All
    I've, recently restored an ECC 6.0 backup onto a test system. In an attempt to quickly delete most of the User Master Data from the source system, I deleted the User ID's from the USR02 table using SQL Management Studio.
    But within Transaction su01, the User ID's that were deleted that way, still show up in the "F4" search. I can select one of those deleted ID's, but get an informational pop up stating that the user does not exist, if I go to display.
    Does anyone know of a quick way to delete these User ID's from the "F4" search pop up?
    The only way I've found so far is to select the User ID, recreate it and then delete it from the su01 transaction. This is going to take me hours.
    Tried to save time, but caused more of a head ache.
    Ken

    Thanks Brian
    Yes, I have done this in the past as well. Although for this instance, I needed to keep about 20 of the 100 + User ID's that were in the system, and was hoping for an easy way to do it.
    In Table USR02, it was easy to pick all, but the 20 and delete. (Sometimes we think we're smarter than we really are I've since spoken to a Security team member and found out about there's a way to do "Mass" changes in transaction su01.
    tcode us01 -> Environment -> Mass changes.
    Ken
    Live - Learn - Laugh

  • User Master Data Changes in CUA Environment

    Hello,
    when a new user gets created.we have requirement for Indian system to set the decimal notation in user master data by default to 1,234,567.89 ,instead users doing it manually using SU3.We are using workflow tool for user creation.Globally our systems are connected to CUA system.User gets created in CUA system and then master data is distributed through IDOC to child systems.
    Now by defalut it the decimal notation is set to 1.234.567,89.

    Dear Sagar,
    Try to see which tables are changing when you chage that field with help of ABAP and then incorporate the same logic in your workflow for India User. I think there will be a need to add one more field in your workflow and should be done.
    But make sure you put some logic in your workflow if this India user then add this new field.
    Regards
    Shailesh Mamidwar

  • How to send User Master Data through XI

    Dear SAP gurus,
    We are currently configuring the e-recruiting module on a separate server than HR (following the SAP standard). 
    As our CUA is not connected to the E-REC systems, we are looking for a way to send properly the User Master Data from HR systems.  We have seen that the report RSCUSND enable us to send iDoc with message type USERCLONE, but this repport can be only run from the CUA then we can t use it.
    Another solution is to make a client copy with the profile SAP_USER, but we can t use this solution because in order to get the User Master Data in a real time we should make the copy each 15 minutes.
    We can t figure out with the question, what is the standard way to send User Master Data to our E-Recruiting module
    Regards
    Hadrien

    HR side:
    1-Below t-code is what you should go through:
    SM59
    BD64
    WE20
    WE21
    2-The key interface object is as below(I used it in LSMW, XI should be the same):
    Business Object      HRMASTER    
    Method               SAVEREPLICAMULTIPLE        
    Message Type         HRMASTER                   
    Basic Type           HRMASTER02                 
    XI side:
    1- The XI has the HR interface package in IR. You just need to select those you need.
    2-Goto ID and do interface mapping between IDOC interface & XI outbound interface
    All above is the skeleton processes. U can consult with XI consultant in details.
    Hope helpful..

  • How to populate date & time when user enter data for custom table in sm30

    Can anyone tell me How to populate system date & time when user enter data for custom table in sm30..
      Req is
      i have custom table and using sm30 user can enter data.
    after saving date i want to update date & time in table
    Pls let me know where to write the code?
    Thanks in Advance

    You have to write the code in EVENT 01 in SE54 transaction. Go to SE54, enter your Ztable name and in the menu 'Environment-->Events'. Press 'ENTER' to go past the popup message. In the next screen, click on 'New Entries'. In the first column, enter 01 and in the next column give some name for your routine(say UPDATE_USER_DATE_TIME). Then click on the souce code icon that appears in blue at the end of the row. In the code, you need logic like below.
    FORM update_user_date_time.
      DATA: f_index LIKE sy-tabix.
      DATA: BEGIN OF l_total.
              INCLUDE STRUCTURE zztable.
      INCLUDE  STRUCTURE vimtbflags.
      DATA  END OF l_total.
      DATA: s_record TYPE zztable.
      LOOP AT total INTO l_total.
        IF l_total-vim_action = aendern OR
           l_total-vim_action = neuer_eintrag.
          MOVE-CORRESPONDING l_total TO s_record.
          s_record-zz_user = sy-uname.
          s_record-zz_date = sy-datum.
          s_record-zz_time = sy-uzeit.
          READ TABLE extract WITH KEY l_total.
          IF sy-subrc EQ 0.
            f_index = sy-tabix.
          ELSE.
            CLEAR f_index.
          ENDIF.
          MOVE-CORRESPONDING s_record TO l_total.
          MODIFY total FROM l_total.
          CHECK f_index GT 0.
          MODIFY extract INDEX f_index FROM l_total.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " UPDATE_USER_DATE_TIME
    Here ZZTABLE is the Z table and ZZ_USER, ZZ_DATE, and ZZ_TIME are the fields that are updated.

  • Maintain output device in user master data

    when we try to print the Purchase order smartform we are getting the
    following update terminated error message.
    " Please maintain output device in user master data".
    1. If we maintain output device in my user profile as any printer name
    then we are not getting the update terminated error message.
    2. when we select the network printer it is always printing
    using the output device maintained in the user profile (example
    LOCL). it is not printing using network printer.
    when we select the network printer it should overwrite the user profile
    output device.
    Can we have the network printer selected irrespective of the printer
    maintained in the user profile?
    Please provide the solution
    Title was edited by:
            Alvaro Tejada Galindo

    Hi
    If you mention printer as LOCL the system will use network printer and the printer will be controled by Windows.
    If you specify printer name the printer will be controled by SAP.
    I hope now you can re-analyze your issue.
    Regards
    Surya.

  • Export and import change document for user master data

    Dear Gurus,
    I have two queries on change document for user master data:
    1. Are there any approaches to export and import change document for user master data?
    We often do system copy from PRD to QAS for UAT and troubleshooting. Before system copy we export the user master data from QAS and then import after the copy process. We would like to keep the change document for user master data on QAS from being refreshed from PRD for security reason.
    2. Change document for Role change in QAS
    When the role is created or modified in DEV and then transported to QAS, the role change document doen't include this change log. The role change document in QAS only records those role changes directly made in QAS.
    Could you advise this is by SAP design or are there any approaches to record this transported role change  in the role change document in QAS?
    Thanks
    YBY

    1. Perhaps you want to consider a system copy to a "virtual system" for UAT?
    2. Changes in QAS (as with PROD as well) will give you the delta. They should ideally be clean... You need to check the source system.
    Another option is to generate the profiles in the target system. But for that your config has to be sqeaky clean and in sync, including very well maintained and sync'ed Su24 data.
    Cheers,
    Julius

  • Date format in user master record cannot be interpreted

    When running an Infopackage from BW to an R/3 customer extractor, the R/3 job cancels with this error message, "Date format in user master record cannot be interpreted". I can restart the R/3 job program from the ABAP editor screen using the same variant that BW issued and the job runs without cancelling.
    NOTE: This process runs without any errors on our QAS system.
    Any idea what causes this error message and how I can fix it?

    Hi Alan,
    I have resolved this issue by myself. Same just like yours mine is also a custom Datasource.
    Solution for this is go to source system check your Background user id i.e like BWALEREMOTE or ALEREMOTE which ever id you have created for setting up RFC connection between R/3 & BW. Check your Date format which has been set for your background user. Use the second format mm/dd/yy. Then run your extraction you will not face any problem.
    If you still have any problem do let me know. If this solution helps you assign points.
    Regards,
    Bhuvana.

  • Web report data provider change from Master data table to InfoCube

    hi Experts,
    I have created one report on top of multiprovider but in the selection screen when i check the values for a variable I came to know that data is coming from master data table and not from data provider(InfoCube).Can any one help to change the data selection from master data table to data provider(InfoCube) and i am sure that there is no ODS involved in the multiprovider.
    Thanks in advance
    With Regards,
    Bala

    Hello,
    If u are using Analyser then just put a Analysis Grid on the output of the query(should cover all the rows and column) , click on the grid and put the dataprovider. and do auto fit.
    Rohit

  • Safegaurd User master Data during a System Copy

    Hello Gurus,
    I have a 3 system landscape and we are planning to have a system copy from PRD to QTY. Can any one suggest me the available options for safegaurding my User Master Data and retain it back as it is... What is the best practice methods that can be done in this scenario.
    Points gauranteed...
    Br,
    Sri

    Hello Raghu,
    User master data will get copied from source system during system copy. However if you want to protect this then I would suggest an unconventional way. In case you have CUA then before system  copy you need to  discontinue CUA.
    After this make a transport of all the roles along with user assignment. Include this transport in a transport of copies and release it with a target though please dont import it in the target system.
    After system copy is done follow the following proceedure.
    Delete all role assignments that the users have.
    You can make a CATT tool for this.
    Once user deletion is done import  the role tranport with user assignments.
    Now reset CUA and do SCUG activities.
    Hope it helps.
    Please award points accordingly.
    Regards.
    Ruchit.

  • Error : please mention output device in user master data

    I am new to ABAP development.I have created a smartform of address as a main window,then call the function module in a report program. When i run that report program, i m getting screen asking for output
    device saying "please mention output device in user master data".
    In main window, i have selected an address number whose details is to printed in the form,but instead of displaying the address, it's asking for output device.
    can you please tell me where lies the error & how to get rid of that?

    Hi Anupam,
    Refer this [wiki|https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/massAddressorLabelPrintinginSMARTFORMS]
    Regards,
    Sravanthi

  • Maintain out put device in your user master data

    Hi Experts,
    My invoice is not get printing, it is giving error as maintain an ouput  device in your user master data
    I have maintained output in SU01->user id->Default->printer name.
    still invoice is not printing it is giving same error & if i directly give print it gives error
    *An error occurred while output was being issued. It is possible, for example, that the form to be issued has not been activated or has an error. An error may also have arisen while the data to be issued was being edited.
    Procedure
    Check possible causes of the problem.*
    if I go in SP02 & check that spool request gives following error
    Spool request 29,663 in system SPS is empty
    If i send it by ZPDF it gives following error
    OTF end command // missing in OTF data
    Error in function CONVERT_OTFSPOOLJOB_2_PDF
    can anybody guide me?
    Thanks
    Trupti

    Hello
    Try using Tcode SPAD.
    Kindly refer following links for reference:
    - Please maintain an output device in your user master data. - Smartform
    - Maintain output device in user master data
    - update was terminated: maintain output device. How to avoid?
    Thanks & Regards
    JP

  • Any difference between Master data and User master data ?

    Any difference between Master data and User master data ?

    hi
    A user master record defines the authorizations assigned to a user. Based on these authorizations one can access the master data.
    Master data - it is the data which is used long term in SAP r/3 system such as vendor master , material master, customer master,
    there is no such thing like user master data to the best of my knowledge
    hope this helps
    regds
    Manan

Maybe you are looking for

  • Getting error using tokenize in xsl

    We are on 12.1.3 and am getting the following error while using the tokenize function in the custom po xsl file. error obtained: <Line 3030, Column 51>: XML-22015: (Error) Function 'tokenize' not found. Code used::   <xsl:variable name="tcline" selec

  • Mac Mini 2007 No OS

    Hello I have a macmini 2007 that my friend gave to me with no os and I said about the recovery discs and he said he doesnt know were they are so is there any chance of getting it to run ever again except to put windows on which I dont really want to

  • No VGA output

    Hi all, I have a small problem I have just purchased a new K7N2 Delta motherboard, from Scan.com.   I am running an Asus GeForce 4 V9480/TVD graphic card,  with 1 Gb of DDR 2700 memory and a 120Gb HDD, with Windows XP Pro. Now the problem I have is t

  • Please help me to get my webcam to work in VM windows 7

    I just downloaded VMWare Fusion and windows 7 and my machine won't recocnize the isight camera on my brand new macbook pro 13inch.  Please help...Thanks

  • How can we remove unwanted space?

    hi all, We have a requirement where in which we dont want to print blank lines in between. When the tag does not contain any value, then we dont want to print this blank place. we want to wrap the text if there is any null tag. can you please help me