BCC project creation through code and update sku properties

Hi,
I want to create a BCC project through my code and want to update some sku properties.
Can someone please let me know how can it be possible?
Please help me out.
Thanks,
Gaurav Agrawal

Hello!
If you look at $ATG_ROOT\Publishing\base\sample-code there is a ca-import-sample-code.jar file.
This file contais .java files explaining how to create a project and auto-approve them, and .properties files for the components.
It is really simple to use and understand.

Similar Messages

  • 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

  • Loop through xml and update the value

    I have the following xml table. I need to update the Field which name="data"
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <Root name="xyz">
    <Row id="1">
    <Field name="data">456</Field>
    <Field name="time">2005-02-08 10:43:51</Field>
    </Row>
    <Row id="2">
    <Field name="data">123</Field>
    <Field name="time">2005-02-08 10:43:16</Field>
    </Row>
    </Root>
    After update, the table should look like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <Root name="xyz">
    <Row id="1">
    <Field name="data">abc</Field>
    <Field name="time">2005-02-08 10:43:51</Field>
    </Row>
    <Row id="2">
    <Field name="data">edf</Field>
    <Field name="time">2005-02-08 10:43:16</Field>
    </Row>
    </Root>
    How do I update the value through java program? I do not want to load the data to database to update the value. The constrain is that i must have the value updated in java application before I loaded it to the database.
    Please any advise?
    Thank you!

    Use a DOM parser to parse the xml document...you will get a Document object, which you can use XPath or traverse the DOM tree and perform the updating.

  • Code and update

    I want to update my 6300 but i don't remember the security code. Is it a problem? Is it needed at any moment before or after updating?
    6300, excellent device. Thanks Nokia.

    standard sec code is 12345 unless you've set a personal one.
    When you say update, do you mean a software update? This should not ask for a security code - normlally things like restoring factory settings and clearing logs would need it.

  • Purchase Order item info entering through code

    In Purchase Order when i put item info through code ie i fill the matrix through code and click on ADD it gives an error saying
    Invalid Total[Purchase Order-Document Total]
    When total is all right
    can anybody give me reason of this error and solution
    Regards,
    Pavana Punja

    Hi Verma,
    It is all Correct i check that by manually putting the same itemcode and other details the calculation which is shown at this time the same is shown when i add through code
    Regards,
    Pavana Punja

  • Mass MRP Codes and Controller names creation/updation in configuration

    Hi all,
    Can any one guide me how to do mass creation of MRP Codes and controller names plant wise and also updation of existing
    mrp controller names in configuration ?.
    Is there any SAP standard tools available or need to do it manually or any other ways to acheive it ?.
    Thanks in advance.

    Hello,
    You can use Script Recording and Playback:
    1- Save step by step how one MRP controller is created.
    2- Adjust the script.
    3- Complete an excel file with the entries.
    4- Run the script.
    Kind Regards,
    Mariano

  • Automatic Asset creation through Project settlement

    Dear All,
    We have one issues where in AS02 AUC Asset quantity is in display mode still we can find the quantity there.
    Can any body help me about the Process of Auto Asset creation through Project settlement.
    I need to know how system calculate the Quantity from the Project settlement. if such type of Process exist in SAP
    Thanks
    Abhijeet
    Edited by: Abhijeet  Patil on Oct 5, 2011 3:05 PM
    Edited by: Abhijeet  Patil on Oct 5, 2011 3:05 PM

    Hi,
    There is process in SAP where we can create AuC from Projects. We need to have an investement profile set up and the same needs to be used in the project. You will have the details in SAP Help documnetation for this.
    Regards
    Sreekanth

  • Vendor Master Creation through IDoc with Multiple Company Codes

    I am trying to create vendor masters sent from a 3rd party into SAP using CREMAS05 IDoc.  I have the requirement that the vendor should be created in each of 3 company codes and the vendor number is internally assigned in SAP.
    I create my IDoc with the general data E1LFA1M and multiple E1LFB1M & E1LFB5M Children.  When I post the IDoc using IDOC_INPUT_CREMAS which uses Call Transaction, the vendor gets created for the first company code, but the IDoc errors on the vendor extension XK01 for the next company code with the error: "Fill all required fields SAPMF02K 0111 ADDR1_DATA-NAME1". 
    In debugging through this, it appears that the vendor number that gets created in the first XK01 transaction does not get passed into the data for the second XK01 call and SAP tries to create a new vendor instead of extending the newly created one.
    If I force the value in during debug after the initial call transaction into the variable h_lifnr, it works fine (Vendor created with multiple company codes.
    Any help would be greatly appreciated.
    -Larry

    I cannot give you exact solution, but can guess why this is happening, below is what I believe.
    I think Synchronous update is not happening in call transaction, second transaction is getting processed before the first one is saved, debugging it works fine, because we give system enough time to save while processing.
    Generally in call transaction we have MODE, if we pass S - then synchronous update happens, in your case, you need to find the way to incorporate this.
    Hope it helps.
    Regards,
    Ravi Kishore.

  • Reading and Updating MS Active Directory (AD) through Oracle APEX

    Hi All,
    Has anyone ever read and update the AD components using Oracle APEX?
    I know we can have APEX build in LDAP Authentication, but that is for the Authentication, what about reading other attributes like phone no., department, office etc. from MS AD; and about updating the same information.
    Is Oracle Identity Management the only solution?
    Windows 2008 R2 Server provide SOAP based AD web services (ADWS), has anyone used that with APEX (11g R2 with EPG configuration)?
    Is it possible to have a C# code (through external procedure) which could read and write MS AD; can we use only "C" code in oracle as external proc or C# as well?
    Any pointers would be of great help.
    Thanks,
    Ash

    Ash,
    It's possible to query data from the LDAP server, but it's not as easy as you'd like. I don't know about updating, but fopr querying, you're looking at creating a package using DBMS_LDAP and a pipelined function to get the data. Here's one example from a quick google search; there are others.
    One thing to be aware of that burned me: the default LDAP setting limits requests to 1,000 records. If your search gives more than that, you get an error (and no data at all). So you may find yourself having to use unions to get the full data, which slows things down a bit.
    -David

  • HT201413 i am getting a -1 security code when i try to restore and update

    i am getting a messege pop up saying itunes has detected a phone in recoery mode you must restore and update. restore will run through whole process then i will get another pop up saying itunes cannot restore ok more information -1 sec code
    Message was edited by: conniefrommerryville

    Hi there patsea,
    You may find the troubleshooting steps in the article below helpful.
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/ts3694
    Error 13, 14, 35 and 50 (or -50)
    These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
    Put a USB 2.0 hub between the device and the computer.
    Try a different Dock Connector or Lightning Connector to USB cable.
    Eliminate third-party security software conflicts.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. An incorrectly set default packet size can cause this error. Contact the software manufacturer that installed the packet-size modification for assistance. Or, follow this article by Microsoft to reset the packet size back to the default for Windows:How to reset Internet Protocol (TCP/IP).
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
    Try to restore from another known-good computer and network.
    -Griff W. 

  • Auto alert mechanism for ATG scheduled job failure and BCC project failure

    Hello all,
    Could you please confirm if there are auto alert mechanisms for ATG scheduled job failure and BCC project failure?
    Waiting for reply.
    Thanks and regards,

    Hi,
    You need to write custom code to get alerts if an ATG Scheduler fails.
    For BCC project deployment monitoring, please refer to the below link in the documentation.
    Oracle ATG Web Commerce - Configure Deployment Event Listeners
    Thanks,
    Gopinath Ramasamy

  • JournalEntry Creation and Updating

    Good Day
    Experts:
    I am working with the JournalEntry object and ran into a bit of trouble this morning.  Yesterday, all was well with the object when I was creating 1 set(2 lines  1 debit and 1 credit) per J/E.  Today I am trying to use the object to create multiple sets per J/E.  However, I have been unsuccessful in trying to figure that out.  Right out of the SDK help from the example, I am using the following code to generate the 1 set per J/E:
                        vJE.Reference = WorkOrder
                        vJE.Reference2 = WorkOrderLine
                        vJE.TaxDate = UDate
                        vJE.ReferenceDate = UDate
                        vJE.Memo = Memo
                        vJE.ProjectCode = Project
                        vJE.Lines.Reference1 = WorkOrder
                        vJE.Lines.Reference2 = WorkOrderLine
                        vJE.Lines.LineMemo = Memo & " F O/H"
                        vJE.Lines.AccountCode = AcctCode
                        vJE.Lines.ContraAccount = ContraAccount
                        vJE.Lines.Credit = WRMFOH
                        vJE.Lines.Debit = 0
                        vJE.Lines.TaxDate = UDate
                        vJE.Lines.ReferenceDate1 = UDate
                        vJE.Lines.ShortName = AcctCode
                        Call vJE.Lines.Add()
                        Call vJE.Lines.SetCurrentLine(1)
                        vJE.Lines.AccountCode = ContraAccount
                        vJE.Lines.ContraAccount = AcctCode
                        vJE.Lines.Credit = 0
                        vJE.Lines.Debit = WRMFOH
                        vJE.Lines.LineMemo = Memo & " F O/H"
                        vJE.Lines.ReferenceDate1 = UDate
                        vJE.Lines.ShortName = ContraAccount
                        vJE.Lines.TaxDate = UDate
    Do I have to run multiple blocks of this code in a row manipulating those 2 call lines for each successive set I want to add to the J/E?  Or do I have to Add the the J/E then go back and update it.  I have tried both ways and cannot seem to get either to work. 
    Any assistance is appreciated.
    Thanks,
    Ed

    Petr...thanks for replying. 
    I am not working and I am getting 2 sets per J/E now.  However, can you still take a look at my method here and see if this is the "right" way to do it?
    Here is my code for the first set:
              If AcctCode <> "" And ContraAccount <> "" Then
                        LinesCreatedCount = LinesCreatedCount + 1
                        vJE.Reference = WorkOrder
                        vJE.Reference2 = WorkOrderLine
                        vJE.TaxDate = UDate
                        vJE.ReferenceDate = UDate
                        vJE.Memo = Memo
                        vJE.ProjectCode = Project
                        vJE.Lines.Reference1 = WorkOrder
                        vJE.Lines.Reference2 = WorkOrderLine
                        vJE.Lines.LineMemo = Memo & " F O/H"
                        vJE.Lines.AccountCode = AcctCode
                        vJE.Lines.ContraAccount = ContraAccount
                        vJE.Lines.Credit = WRMFOH
                        vJE.Lines.Debit = 0
                        vJE.Lines.TaxDate = UDate
                        vJE.Lines.ReferenceDate1 = UDate
                        vJE.Lines.ShortName = AcctCode
                        Call vJE.Lines.Add()
                        Call vJE.Lines.SetCurrentLine(1)
                        vJE.Lines.AccountCode = ContraAccount
                        vJE.Lines.ContraAccount = AcctCode
                        vJE.Lines.Credit = 0
                        vJE.Lines.Debit = WRMFOH
                        vJE.Lines.LineMemo = Memo & " F O/H"
                        vJE.Lines.ReferenceDate1 = UDate
                        vJE.Lines.ShortName = ContraAccount
                        vJE.Lines.TaxDate = UDate
                    End If
    I run some code to get new variable values then run this code:
                    If AcctCode <> "" And ContraAccount <> "" Then
                        LinesCreatedCount = LinesCreatedCount + 1
                        vJE.Lines.Add()
                        vJE.Lines.Reference1 = WorkOrder
                        vJE.Lines.Reference2 = WorkOrderLine
                        vJE.Lines.LineMemo = Memo & " V O/H"
                        vJE.Lines.AccountCode = AcctCode
                        vJE.Lines.ContraAccount = ContraAccount
                        vJE.Lines.Credit = WRMVOH
                        vJE.Lines.Debit = 0
                        vJE.Lines.TaxDate = UDate
                        vJE.Lines.ReferenceDate1 = UDate
                        vJE.Lines.ShortName = AcctCode
                        vJE.Lines.Add()
                        vJE.Lines.AccountCode = ContraAccount
                        vJE.Lines.ContraAccount = AcctCode
                        vJE.Lines.Credit = 0
                        vJE.Lines.Debit = WRMVOH
                        vJE.Lines.LineMemo = Memo & " V O/H"
                        vJE.Lines.ReferenceDate1 = UDate
                        vJE.Lines.ShortName = ContraAccount
                        vJE.Lines.TaxDate = UDate
                    End If
    Here is when I do the Add:
                   If LinesCreatedCount > 0 Then
                        retVal = vJE.Add()
                        'Check the result
                        If retVal <> 0 Then
                            g_B1Connection.Company.GetLastError(lErrCode, sErrMsg)
                        Else
                            'GetByKey id value of just added record
                            TransId = g_B1Connection.Company.GetNewObjectKey
                        End If
                        'Release resource
                        vJE = Nothing
                    End If
    Does this look right to you?  I mean, it worked but I want to make sure I am not missing anything.
    Thanks,
    Ed

  • Auto project creation and coding mask

    hi to all,
    i dont understand how system determines name of project definition during automatic project creation based on sales order.
    if the standard project definition does not have a coding mask then the project created is simply the sales order number. (no problem with that)
    however if the standard project definition has a coding mask, then in my case the newly created project just contains a certain number of 000000 and includes the last part of the standard project.
    hope someone could enlighten me on this..

    Hi,
    This scenario is very well explained in PS under title "Assembly processing".
    An assemble to order environment is one in which the product or service is assembled on receipt of the sales order. Key components are planned in anticipation of the sales order. Receipt of the order initiates assembly of the customized product. This business process is called assembly processing. It creates a link between sales document and project. It is an indirect method of generating a network or a WBS from a sales order. It is used throughout SAP R/3 logistics applications to automatically generate the order types like Planned order, Production order, Process order, Service order, Network (project).
    You will find the "SD/PS assignment" indicator in the control data for the project definition of the standard project. This indicator determines whether, during assembly processing, a hierarchy is created in the operative WBS for each sales document item, or whether a hierarchy is created for the entire
    sales document in the operative WBS.
    If we use SD/PS assignment indicator, do not flag "Only one Root" option in the project profile ( t code OPSA).
    Regards
    Tushar

  • HT3576 Ok so i have this iPod touch (3rd gen) and i'm trying to update it through iTunes and when i click  check for update it keeps saying this version of iPod software (2.2.1) is your current version. what do i do? how do i update it?

    Ok so i have this iPod touch (3rd gen) and i'm trying to update it through iTunes and when i click  check for update it keeps saying this version of iPod software (2.2.1) is your current version. what do i do? how do i update it?

    You have a 1st generation iPod Touch. It can not be upgraded beyond iOS 3.1.3, it is available at the link below.
    http://support.apple.com/kb/HT2052

  • I need to update my phone, but my computer broke, and do not have a new one. I have an Itunes account, can I use someone else computer to go through with the update?  Is there a chance of loosing all my data, ie: music/photos?

    I need to update my phone, but my computer broke, and do not have a new one. can I use someone else computer to go through with the update if i log on with my itunes account or Is there a chance of loosing all my data, ie: music/photos? And if all else fails can i go to the apple store and have them update my phone?

    Update to what? The 3G you want to update? You have ios3 or 4 on that 3G?
    Go to a friend, authorize that pc.
    Read this : http://support.apple.com/kb/ht1848
    and this : http://support.apple.com/kb/ht2519
    Make a backup of your stuff (from the phone. apps/photos/music/blabla). Update your phone. The phone will restore the backup automatically.

Maybe you are looking for

  • No "Save As" in recent Pages Update

    I just updated to Mountain Lion and the most current version of iPages.  I no longer have a "Save As" function/option in my "File" menu.  I go to help and type "Save As" and I get the handy little animated help showing it, but that menu in NO WAY res

  • Create records in Data Manager - System creates dublicates

    Hello MDM-Experts, I have a kind of strange questions: has anyone ever had the following situation in MDM Data Manager? When creating one (1) record manually in Data Manager, the system dublicates the records, and suddenly, we have 2 or even up to 4

  • Install windows 7 64bit on T540p

    I bought a  T540p.  It came with windows 8.  I tried to install windows 7 pro 64 bit. It now hangs on the starting windows screen and I can't get to the desktop.  Any ideas how I can get it to work?  Are there any bios settings that need to be differ

  • SCCM 2012 Software Update Management for Windows Servers and how to automatic set SCOM maintenance mode?

    Hi, We planning to go one level higher to automat and have more dynamic Software Update Management for Windows Servers. We have SCCM 2012 R2, SCOM 2012 R2 and SCO 2012 R2. Our plan is to pur server in an AD-Group to get Update Schedule, from the serv

  • Problem with video after installing ipod software update 1.2

    I recently downloaded the ipod software update version 1.2 for my ipod. It seems to have changed the video screen output as some of my videos now do not play full screen and instead have black boarders down each side of the screen while playing. At f