Bulk infoobject creation

Hello guru's,
Is any program or FM is avilable in sap BI/BW for bulk creation of infoobjects(Char/KF) in one go?
Thanks,
Rishi Nigam

Hi Rishi,
we don't have such an utiltiy in SAP BI/BW to create mass infoobjects in one go, but if you want to create mass infoobjects (char/KF). you can write the the custom program to create multiple infoobjects in one go.
by using the BAPI "'BAPI_IOBJ_CREATE'"and 'BAPI_IOBJ_ACTIVATE_MULTIPLE' you can create a utitity to bulk creation of infoobjects.
1. define the all the fields
2. use BAPI's to fetch the strucute of infoobjects
          BAPI6108IO
          BAPI6108
          BAPI6113
          BAPI6113IO
          BAPIRET2
For Compounding:
          BAPI6108CM
For Attribute use:
         BAPI6108AT
For Navigational Attribute:
         BAPI6108AN
3. Write a logic to fill this BAPI with the values of data file that has the infoobject details.
keep the file with all details of infoobjects
i.e.  INFOOBJECT, TYPE,TEXTSHORT,TEXTLONG, DATATP,INTLEN,COMPOUND,ATTRIBUTES,NAV ATTRS, KYFTP, FIXCUKY,
, FIXUNIT, UNINM,  DECIMAL
Take the help of ABAP person to build this logic.
Thanks,
Om Ambulker

Similar Messages

  • InfoObject Creation Dynamically

    Hello Experts,
    I need to create thousands of custom infoobjects and trying to implement through BAPI. I am trying to create infoobject reading the infoobject structure from tab delimited tax file:
    io_name io_type io_txsht io_txlng io_datatype io_length
    ZEA_IO1 CHA IO Test IO Test 1 CHAR 20
    ZEA_IO2 CHA IO Test IO Test 2 CHAR 20
    I was able to load the text file to internal table. Now I have to work with the following function modules (please check the code):
    'BAPI_IOBC_CHANGE' - To get the InfoObject Catalog so that all the infoobject will be created under InfoObject Catalog. What would be the code?
    Call Function 'BAPI_IOBJ_CREATE' -
    IMPORTING - Is that right?
    What to write under EXPORTING to check the error validation one by one?
    RETURN = BAPIRET2 ??
    Call Function 'BAPI_IOBJ_ACTIVATE_MULTIPLE' - To activate all the infoobjects. What would be the code?
    Here is my Code:
    *& Report ZBAPI_TEST *
    *& InfoObject Creation through BAPI.
    *& Read the Text file, call a BAPI to create InfoObjects. *
    *& Text file will hold the Info Object Structure. Text file will be *
    *& located either work station or local PC.
    *& Step 1. Create internal table to hold InfoObject structure *
    *& Step 2. Retrieve/Load text file into Internal Table structure *
    *& Step 3. Call BAPI Function to Create IO *
    *& Step 4. Call BAPI Function to Activate IO *
    REPORT ZBAPI_TEST .
    Declaring Internal table for creating InfoObject
    DATA: p_file TYPE string.
    DATA: BEGIN OF itab_bapi OCCURS 0,
    io_name like BAPI6108-infoobject,
    io_type like BAPI6108-type,
    io_txsht like BAPI6108-textshort,
    io_txlng like BAPI6108-textlong,
    io_datatype like BAPI6108-datatp,
    io_length like BAPI6108-intlen,
    END OF itab_bapi.
    DATA ibapi LIKE STANDARD TABLE OF itab_bapi.
    PARAMETERS: sel_file(1500) TYPE c default ' ' OBLIGATORY LOWER CASE.
    PUT THE TEXT FILE PATH TO P_FILE
    p_file = sel_file.
    **Copy the file from the workstation to the server/ internal table**
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = p_file
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    HEADER_LENGTH = 0
    DAT_MODE = SPACE
    CODEPAGE = SPACE
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    READ_BY_LINE = 'X'
    IMPORTING
    FILELENGTH =
    HEADER =
    TABLES
    data_tab = itab_bapi[]
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    not_supported_by_gui = 17
    error_no_gui = 18
    OTHERS = 19.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    MESSAGE e012(zea_spms) WITH 'Method' 'GUI_UPLOAD' sy-subrc.
    &1 &2 issued return code &3
    ENDIF.
    loop at itab_bapi.
    write: /5 itab_bapi-io_name,
    20 itab_bapi-io_type,
    30 itab_bapi-io_txsht,
    50 itab_bapi-io_txlng,
    75 itab_bapi-io_datatype,
    85 itab_bapi-io_length.
    endloop.
    SELECT THE LOCATION FOR TEXT FILE
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR sel_file.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    def_filename = ''
    def_path = 'C:\'
    mask = ',Documentos de texto (*.txt), *.txt.'
    mode = ''
    IMPORTING
    filename = p_file
    EXCEPTIONS
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    OTHERS = 5.
    find '.txt' IN p_file.
    if sy-subrc <> 0.
    concatenate p_file '.txt' into sel_file.
    else.
    sel_file = p_file.
    endif.
    Change InfoObject Catalog through BAPI Function
    *CALL FUNCTION 'bapi_iobc_change'
    ""Lokale Schnittstelle:
    *" IMPORTING
    *" VALUE(INFOOBJCAT) LIKE BAPI6113-INFOOBJCAT
    *" VALUE(DETAILS) LIKE BAPI6113 STRUCTURE BAPI6113
    *" TABLES
    *" INFOOBJECTS STRUCTURE BAPI6113IO
    *" RETURN STRUCTURE BAPIRET2 OPTIONAL
    Create InfoObject through BAPI Function
    CALL FUNCTION 'BAPI_IOBJ_CREATE'
    IMPORTING
    INFOOBJECT = itab_bapi-io_name
    TYPE = itab_bapi-io_type
    TEXTSHORT = itab_bapi-io_txsht
    TEXTLONG = itab_bapi-io_txlng
    DATATP = itab_bapi-io_datatype
    INTLEN = itab_bapi-io_length.
    *EXPORTING
    INFOOBJECT = itab_bapi-io_name
    RETURN = BAPIRET2.
    TABLES
    COMPOUNDS STRUCTURE BAPI6108CM OPTIONAL
    ATTRIBUTES STRUCTURE BAPI6108AT OPTIONAL
    NAVIGATIONATTRIBUTES STRUCTURE BAPI6108AN OPTIONAL
    ATRNAVINFOPROVIDER STRUCTURE BAPI6108NP OPTIONAL
    HIERARCHYCHARACTERISTICS STRUCTURE BAPI6108HC OPTIONAL
    ELIMINATION STRUCTURE BAPI6108IE OPTIONAL
    RETURNTABLE STRUCTURE BAPIRET2 OPTIONAL
    Activate InfoObject through BAPI Function
    *CALL FUNCTION 'BAPI_IOBJ_ACTIVATE_MULTIPLE'
    *" TABLES
    *" INFOOBJECTS STRUCTURE BAPI6108IO
    *" RETURN STRUCTURE BAPIRET2 OPTIONAL
    *" INFOOBJECTS_ERROR STRUCTURE BAPI6108IO OPTIONAL
    If anyone knows any better idea creating IO dynamically, I can look at that too. Appreciate your help.
    Regards,
    Mau

    what are your reference points
    Is it always from current date then it that case your data will change daily.
    Also is there a created date or something else associated with store id. how do you determine that

  • Bulk ServiceItems Creation though HTTP REST API call on CiscoPrimeServiceCatalog10

    Creating single service item is happening as mentioned below, but i want to know how to do it for bulk of service items can be processed in single request?
    Please provide me xml or a way to do bulk create service items.
    Create Service Item
    Creates a service item.
    POST URL:
    http://<ServerURL>/RequestCenter/nsapi/serviceitem/process
    xml:
    <serviceitem>
    <name>custom_sitype</name>
    <serviceItemData>
    <serviceItemAttribute name="Name">sit1</serviceItemAttribute>
    <serviceItemAttribute name="Field1">a</serviceItemAttribute>
    <serviceItemAttribute name="Field2">b</serviceItemAttribute>
    </serviceItemData>
    </serviceitem>

    This is the format we used earlier for bulk SI creation. But never tried with in CCP itself. Try your luck.
    <?xml version="1.0" encoding="UTF-8"?>
    <
    create>
    LaptopComputer
    LT-LENVT60-17032
    Thinkpad T60
    LENOVO
    899.99
    3
    2009-04-15
    12:00:00
    jsmith
    Finance
    DesktopComputer
    DT-DELLV200-02274
    Vostro 200
    DELL
    755.99
    4
    2010-03-01
    12:00:00

  • Bulk user creation in iLearning

    Does anyone know if the bulk creation of users from a file is possible in iLearning? I've been scouring the web but can't find anything useful.
    Thanks

    Yes!
    Oracle iLearning adheres to the IMS Enterprise User Specification for import of users and organizations. XML files that comply with this spec can be imported manually via the administrative interface or imported via our User Import Web Service API.
    Please check out the Oracle iLearning Web Services documentation on metalink, note ID #295865.1
    Scott

  • Bulk-NewADGroup-Creation

    Everything works great in this script as long as there is an entry for each field in the csv file.
    This is the csv file formant:
    GroupName,Description,ManagedBy,extensionAttribute2,extensionAttribute3,extensionAttribute4
    TstPosh20,REQ#\TASK#,smith,True,cohen,lawrence
    TstPosh21,REQ#\TASK#,cohen,True,lawrence,
    TstPosh22,REQ#\TASK#lawrence,,,
    Issue: If on of the fields does not have an enty, "The server is unwilling to process the request". I've multiple things with no success. One of the things was to incorporate the following the If/Else:
    if ($item.extensionAttribute3 -eq ""){
    }Else{
    Is there a way around this issue using this script of do I have to change this script to include the IF logic?
    Import-Module ActiveDirectory
    $csv = Import-Csv -Path "C:\Temp\Bulk-NewADGroup.csv"
    foreach($Item in $csv){
    if(Get-ADGroup -filter 'Name -eq "$($item.GroupName)"'){
    Write-Host "$($item.GroupName) already exists at that location! Group creation skipped!" -ForegroundColor Red}
    else{
    $newgrp=@{
    Name=$Item.GroupName
    GroupScope =1
    Path="OU=Hers,DC=MY,DC=His,DC=org"
    Description=$Item.description
    ManagedBy=$Item.managedBy
    OtherAttributes=@{Info='Auto-Provisioned';extensionAttribute2=$Item.extensionAttribute2;extensionAttribute3=$Item.extensionAttribute3;extensionAttribute4=$Item.extensionAttribute4}
    Try{
    New-ADGroup @newgrp -ErrorAction Stop
    Write-Host "Group $($item.GroupName) created!" -ForegroundColor Green
    Catch{
    Write-Host "$_" -ForegroundColor Cyan
    mamadukes

    $other=@{
    Info='Auto-Provisioned'
    if($Item.extensionAttribute2){$other.extensionAttribute2=$Item.extensionAttribute2}
    if($Item.extensionAttribute3){$other.extensionAttribute3=$Item.extensionAttribute3}
    if($Item.extensionAttribute4){$other.extensionAttribute4=$Item.extensionAttribute4}
    $newgrp=@{
    Name=$Item.GroupName
    GroupScope =1
    Path="OU=Hers,DC=MY,DC=His,DC=org"
    Description=$Item.description
    ManagedBy=$Item.managedBy
    OtherAttributes=$other
    ¯\_(ツ)_/¯

  • COPA -Automatic infoobject creation in BI 7.0

    Hi Gurus
    We r implementing COPA in BI 7.0 version. I know that we can automatically get the infoobjects created in BI 3.5 version for the value fields and customer-defined characteristics if you assign the DataSource to an InfoSource via the source system view in the BW Administrator Workbench.
    In BI 7.0 is there such a facility? when i generate the COPA datasource in R/3 and replicate it to BI 7.0, the datsource gets generated as the Datasource in BI.7.0 version  and hence the option to assign the infosource to the datasource does not show up in BI.
    I wanted to know if there any other way that we can create these infoobjects for value fields and customer defined charasteritics automatically in BI.7 version
    Thanks for ur help

    Hi Voodi,
    I followed ur instructions and tried to create a transformation between 3.x infosource and 7.0 datasource. system prompted to create new infsource and copied all the infoobjects which were part of the 3.x standard infosource.
    But still system does not propose any infoobjects for the value fields starting with VV* . In BW3.5 for all VV* fields, system used to propose infoobjects strating with 0GV*.  Did u get system to propose these infoobjects?
    Thanks for ur help

  • ISE 1.2 Patch 6 Bulk account creation Sponsor portal bug

    Hi all, not sure whether anyone has this issue but I noticed yesterday when I do a bulk csv import of users into the sponsor portal that it does not hold the user group I specifiy. In summary I select my CSV file, choose my user type as contractor (guest or contractor) and submit. The import succeeds except that all users are placed into the guest group not the contractor group I specified. You then have to manually alter every single one of them to be in the right group.
    Any ideas?

    Hi -
    I also see this when I import a CSV file of accounts for a different guest role.  We have created a second portal (other than the default "guest").  All the new accounts get assigned to Guest regardless of what is specified. The fix has so far been simply reassigning them manually.

  • Bulk User creation in Essbase

    Hi All
    How can we create bulk users in Essbase ? say if there are 500 users need to be created at a time. what is the technique ? please get back to me ASAP
    Thank You

    Suppose you have 500 users in c:\user.csv, you can create batch of MaxL command using next JavaScript code. Copy the below code and name as gm.js, execute gm.js in Windows.
    var fso = new ActiveXObject("Scripting.FileSystemObject");
    var rs = fso.OpenTextFile("C:\ \user.csv");
    var fso1 = new ActiveXObject("Scripting.FileSystemObject");
    var ws = fso1.CreateTextFile("C:\ \MaxL.txt");
    for(var i=1;i<=500;i++)
    username = rs.ReadLine();
    var x="create user " + username + "identified by " +"'password'" +" member of group " + "'testgroup'" ;
    ws.WriteLine(x);
    rs.Close();
    ws.close();
    http://hyprionexpert.blogspot.com

  • Bulk User creation Exchange Online Protection standalone

    Hi,
    We have on premise Exchange 2013 servers and we're planned to go for EOP only for SPAM filtering. I have couple of questions with EOP:
    When we create bulk user accounts from a CSV file do we need to Allow users to sign in to EOP?
    what will be the EOP address for On-Premise send connector(send emails from the organization)? and how to get it?
    is there any proper step by step guide to setup EOP standalone?
    Thanks..
    Roshan

    You don't need to allow sign in today, but in the
    future there will be a personal
    quarantine for users.
    set the value to the MX record given to you during EOP setup, such as <your organization>-com.mail.protection.outlook.com.
    (http://community.office365.com/en-us/wikis/exchange/4238.aspx)
    http://technet.microsoft.com/en-us/library/jj723153(v=exchg.150).aspx
    Mike Crowley | MVP
    My Blog --
    Planet Technologies

  • InfoObject Creation Date

    Hi All,
    I want to collect the infoObjects for a transport but i am afraid i might missed out or accidentally collect more then it suppose to.
    Is it possible to trace down all the infoObjects created e.g from 01.05.2010 , by date?
    Thank you.
    Regards,
    Maili

    RSA1 -> select ENVIRONMENT menu METADATE SEACH -> select INFO OBJECT in SEARCH IN -> ADVANCE SEARCH -> and u mention the criteria and click on SEARCH.
    Edited by: NVDVPRASAD on Oct 1, 2010 6:41 AM

  • InfoObject Creation through Code

    Hi,
    Is there a way to create infoobjects through a code??
    Can an ABAP code be written to create Infoobjects and other objects in BW?
    If so, pls. give me details...
    Thanks

    Hi vaishali,
    Why do u want to create IO thru ABAP code. SAP makes our development simple by the presentation screens, so just do like this.
    Think of craeting different tables which are created while generating IO. all the table u have to create and no whare u can link SID table with P table.
    Narendra Reddy

  • Infoobject creation

    Hi all
    I have a flat file with the contents as below
    cid            pid            amt          price    qty   currency    unit
    c100        p100           100        50        2         INR            EA
    C200        P200           200    100           2          INR          EA
    C300        P300           300      100          3            USD      EA
    now how many infoobject i have to create ? according to my knowledge 7 infoobject i have to create is it correct plz correct me if i were wrong

    Hi garima
    thanx for ur reply
    where do i find the fixed currency tab in the infoobject .
    Suppose i kept the fixed currency tab as blank  and choose the currency as 0currency , so here on what basis the currency will be made . i mean 100 INR OR USD  on what basis the currency will be made , should we give any field as reference field so that the field currency will be reflected
    Thanx and regards
    RaviChandra
    Edited by: Ravichandra.bi on Apr 25, 2011 3:45 PM

  • ASA bulk object creation

    Does Cisco have a tool that will make the creation of a 500 + network objects easier for a new FW build?

    Hi,
    There is a tool that I have never used but remember it being listed on the Cisco pages download section when downloading new software versions. Maybe its something you are looking for
    Here is a screencap of the section of the pages as an example (click to enlarge)
    Theres a "Checkpoint Security Conversion Tool"
    I dont think it requires any service contract with Cisco.
    You could try this link for example
    http://software.cisco.com/download/release.html?mdfid=279916854&flowid=4373&softwareid=283748421&release=1.1.1&relind=AVAILABLE&rellifecycle=&reltype=latest
    Hope this helps
    - Jouni

  • Bulk Invoice creation

    Dear friends,
    I have a requirement where several number of sales orders are there and i need to create the invoices for all those in bulk at a time. Here there is no delivery document for all those sales orders numbers as it being a service orders.
    I have tried by using the VF06 T code but i am not succesful in doing so. Request you to suggest the way out for my requirement.
    Thanks in Advance,
    Mahendar.

    Hi,
    Goto the T.Code "VF04".
    Select your documents to be selected as "Order-related".
    Execute.
    Select all and click on Individual billing.
    Regards,
    Krishna.

  • Bulk form creation, merge, and retrieve form data

    I am new to acrobat, and can't even find a place to start for what I want to accomplish.  I have a directory with 1000 single page pdfs (filenames are data_0001.pdf, data_0002.pdf, etc.).
    For every single page pdf, I want to embed a form with a radio button list containing several options and a comment text box.
    Every page needs a unique form ID that can be related to the original single page pdf filename.
    I want to merge all the single page pdf files with the embedded form into a single multi-page pdf.
    A user looks through the multi-page pdf and selects from the radio button and adds comments on every page, and saves the pdf.
    I then want to export from the saved pdf a three column spreadsheet or csv file with columns
    "original pdf filename" "result of radio button list" "comment text box"
    I need to do this at least 100 times, so each stage needs to be scripted.
    Can anyone point to a link for anything remotely close to the work flow steps needed to accomplish this with acrobat.
    Thanks for any help you can provide.

    You can use a batch process to add the form fields to each PDF. You should make the field names for each page unique, so that when you combine the individual pages into a single PDF, the form will behave properly. You can base the field names in each PDF on the original file name to achieve this. To add field with a script in a batch sequence, use the doc.addField JavaScript method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.435.html
    You can then combine the single page PDFs with form fields into a single PDF, either using an external script (e.g., VBScript) or a script in Acrobat, but you'd need the list of files to combine, especially if you care about the order of pages. Acrobat also has the "Files > Combine > Merge Files into Single PDF" feature, but I can't say it will work to combine that many forms at once, so you'll just have to see.
    As for exporting data, This too can be scripted. I'd suggest that the script can create the data file that gets added to the document as a file attachment (data object), which can then be extracted. Creating a tab separated text file is simpler than ensuring a properly constructed CSV, so that's what I'd be inclined to do. A user is not able to enter a tab character into a form field, so you shouldn't have a problem with this. See the createDataObject documentation for more information: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.450.html
    Good luck,
    George

Maybe you are looking for