WLST deployment scripts not installing ODSI created services

Some time ago, I modified some example scripts that installed ALDSP 3.0 assets into an ALDSP 3.0 domain, and everything was working dandily. A few months ago, we upgraded our ALDSP 3.0 domain to ODSI 10gR3. We also found we were still able to use the same WLST scripts with no modifications to install the assets into our ODSI domain.
Now, what I have found is that when we export a dataspace into an ODSI jar from ODSI Workshop and install it with this script, the script only installs those services that were originally created in the ALDSP Workshop. If I install the exact same jar through the ODSI console, it installs all of the services as expected.
Has anyone else seen this sort of behavior with using WLST scripts to deploy ODSI assets. I'm guessing something has changed that I need to account for in my script, but I haven't been able to find it yet. Any help would be appreciated.
Edited by: DoubleT on Oct 8, 2009 5:20 PM

so you have some dataspaces (projects) in ODSI that you can export and then deploy with WLST, and some dataspaces that you cannot, correct?
To make sure that the first bunch actually do deploy, you could go to the ODSI console, delete them, deploy with WLST and check the console to see if they have reappeared. When you're convinced that works, and you're convinced that the others don't deploy - your just left with figuring out the difference. The simpler they are, the easier to diff them. If you're down to something really simple and don't see anything - engage customer support to help.
It's unlikely that deployment fails without emitting some sort of error message - I would be looking in the server log.
In ODSI 10.3 - the sample wlst scripts - SessionCommands.py expects the jar to be in user.dir instead of "rootFolder" in 3.2. (see below). There is also a README.TXT and a DspSecurityPolicy.py script.
--------------------- ODSI 10.3 - SessionCommands.py ------------------
import DspCommonCommands as dsp
print 'Connecting to weblogic server instance...'
connect("weblogic","weblogic","t3://localhost:7001")
print 'Creating a deployment session...'
dsp.createDeploymentSession('ALDSP_WLST_SESSION')
#Import here uses the default DeploymentOptions
#To use fancier DeploymentOptions inline the code of dsp:importDataSpace
#and make necessary changes
userDir=System.getProperty('user.dir')
importJarPath=userDir+'/SimpleApp.jar'
print 'Importing ' + importJarPath
dsp.importDataSpace('SimpleApp','ALDSP_WLST_SESSION',importJarPath)
print 'Activating the deployment session...'
dsp.activateDeploymentSession('ALDSP_WLST_SESSION')
#Export here uses the default ExportOptions
#To use fancier ExportOptions inline the code of dsp:exportDataSpace
#and make necessary changes
exportJarPath=userDir+'/dataspace_with_config.jar'
print 'Exporting the dataspace to ' + exportJarPath
dsp.exportDataSpace('SimpleApp',exportJarPath)
print 'Disconnecting from weblogic server...'
disconnect()

Similar Messages

  • Deployment script not installing 10.1.53.64

    Hi,
    I'm trying to script at startup a silent installation for Adobe Flash Player ActiveX 10.1.53.64. The script manages to successfully uninstall the older version, but then when it comes time to install the new version, it throws an error in the log that says:
    "MessageBox: 12582960,"The version of Adobe® Flash® Player ActiveX that you are trying to install is not the most current version.
    Please visit http://www.adobe.com/go/getflashplayer to obtain the latest, most secure version."
    I'm pretty sure 10.1.53.64 is the latest version, if i'm not mistaken. If i run the installer manually, it gives me no problems and installs fine. If i run the vbscript manually (as in not at startup) it installs fine. But when i run it via script at startup, it gives this error. Anyone have this issue or know what could be causing it?
    Thanks

    Anyone got any tips? Advice, insults, anything? Here is the script, if it makes it easier:
    ========================================================================================== =========
    Option Explicit
    On Error Resume Next
    Dim Shell,Fso,Wn,All_Users,User_Profile,Win_Dir,computer_name,all_usersprofile,system_drive,p rograms,Script_Path, oEnv
    Set Shell = WScript.CreateObject("WScript.Shell")
    Set Fso = CreateObject("Scripting.FileSystemObject")
    Set Wn = Wscript.CreateObject("Wscript.Network")
    Const ForReading = 1, ForWriting = 2, ForAppending = 8
    Const wbemFlagReturnImmediately = &h10
    Const wbemFlagForwardOnly = &h20
    'Returns C:\Documents and Settings\All Users
    All_Users = ucase(Shell.ExpandEnvironmentStrings("%ALLUSERSPROFILE%"))
    'Returns C:\Documents and Settings\%Username%
    User_Profile = ucase(Shell.ExpandEnvironmentStrings("%USERPROFILE%"))
    'Returns C:\Windows
    Win_Dir = ucase(Shell.ExpandEnvironmentStrings("%WINDIR%"))
    'returns computername
    computer_name = ucase(Shell.ExpandEnvironmentStrings("%COMPUTERNAME%"))
    'returns c:\documents and settings\
    all_usersprofile = ucase(Shell.ExpandEnvironmentStrings("%ALLUSERSPROFILE%"))
    'returns C:\
    system_drive = ucase(Shell.ExpandEnvironmentStrings("%SYSTEMDRIVE%"))
    'returns c:\program files
    programs = ucase(Shell.ExpandEnvironmentStrings("%PROGRAMFILES%"))
    'Define E Drive
    Script_Path = "\\networklocation"
    'Start of process
    Dim cur_ver
    cur_ver = Shell.RegRead ("HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\FlashPlayer\CurrentVersion")
    If (cur_ver <> "10,1,53,64") Then
      Fso.CopyFolder Script_Path & "\flashv10","C:\windows\temp\",True
      'Uninstall all Flash versions
      Shell.run Win_Dir & "\temp\flashv10\uninstall_flash_player.exe /s",1,True
      'Install Flash 10.1.53.64
      Shell.run Win_Dir & "\temp\flashv10\install_flash_player_10_active_x.msi /qn",1,True
      'Disable autoupdates.
      Shell.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\FlashPlayer\AutoUpdateTest","","REG_SZ" ' Dont update flash automatically.
      Fso.CopyFile Win_Dir & "\flashv10\mms.cfg",Win_Dir & "\SYSTEM32\Macromed\Flash\",True
    End If
    ========================================================================================== ============

  • Iphone 5 SIM card not installed or no service

    Hi from lady few weeks I am having this problem where phone says SIM card not installed or no service. Turning the phone on and off does work but it happens at least ten times a day. I have got a new SIM card thinking its a problem with the SIM card.
    But now I have noticed the moment I switch on to 3G mode from the settings it does the same thing.
    Can anyone tell me is it the problem with the phone or my service carrier. I have been working iPhone for almost two years never had this problem before.
    I am using iPhone 5. Thanks

    Have you followed all steps in the article below?
    iPhone: Troubleshooting No Service

  • Not able to create service in 9i

    I have installed oracle 9.2.0.6 on 2003 EE r2 edition
    8/10g also installed
    but i couldnt create service on 9i and in the eventlog
    The description for Event ID ( 0 ) in Source ( OracleServiceSps ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: OracleServiceSps: 0, OPS: SOFTWARE\ORACLE\OSD9i\STARTDLL not found,
    I tried everything i know..
    I dont which one i have missed out ..ANy clues...
    Not URGENT:)
    Message was edited by:
    Maran Viswarayar

    When i tried through DBCA it hanged...
    through oradim it the posted error was appearing
    I have all the privileges as i logged in as domain admin.
    Oradim says it cannot create but the service has been created in services.msc but when i start the service the posted error message was appearing on the Eventlog

  • Custom Report - Show Deployed, But Not Installed, Security Updates

    I'm trying to create a custom report that will show all patches that have been deployed, but have not been installed for a particular collection. Any ideas?

    Answered my own question.
    This will pull all Security Updates that have been Deployed but are still Required (not installed) for the All Systems collection (SMS00001). You can directly modify the code to limit it to the All Servers or All Workstations depending on your site code. You
    can also change the CategoryInstanceName filter to see different Update Classifications.
    select distinct
    sys.Name0,
    ui.BulletinID as BulletinID,
    ui.ArticleID as ArticleID,
    ui.Title as Title,
    catinfo.CategoryInstanceName as Vendor,
    catinfo2.CategoryInstanceName as UpdateClassification,
    CASE ((ui.IsDeployed))
    When 0 Then 'No'
    Else 'Yes' End as 'Deployed',
    CASE((ui.Severity))
    When 2 Then 'Low'
    When 6 Then 'Moderate'
    When 8 Then 'Important'
    When 10 Then 'Critical'
    Else 'NA' End as 'Severity'
    from v_UpdateComplianceStatus css
    join v_UpdateInfo ui on ui.CI_ID=css.CI_ID
    join v_R_System sys on css.ResourceID=sys.ResourceID
    join v_ClientCollectionMembers ccm on ccm.ResourceID=sys.ResourceID
    join v_CICategories_All catall on catall.CI_ID=ui.CI_ID
    join v_CategoryInfo catinfo on catall.CategoryInstance_UniqueID = catinfo.CategoryInstance_UniqueID and catinfo.CategoryTypeName='Company'
    join v_CICategories_All catall2 on catall2.CI_ID=ui.CI_ID
    join v_CategoryInfo catinfo2 on catall2.CategoryInstance_UniqueID = catinfo2.CategoryInstance_UniqueID and catinfo2.CategoryTypeName='UpdateClassification'
    where css.Status=2
    and ccm.CollectionID='SMS00001'
    and ui.isDeployed=1
    and catinfo2.CategoryInstanceName='Security Updates'
    and catinfo.CategoryInstanceName = 'Microsoft'
    order by sys.Name0, ui.ArticleID
    select distinct
    sys.Name0,
    ui.BulletinID as BulletinID,
    ui.ArticleID as ArticleID,
    ui.Title as Title,
    catinfo.CategoryInstanceName as Vendor,
    catinfo2.CategoryInstanceName as UpdateClassification,
    CASE ((ui.IsDeployed))
      When 0 Then 'No'
      Else 'Yes' End as 'Deployed',
    CASE((ui.Severity))
      When 2 Then 'Low'
      When 6 Then 'Moderate'
      When 8 Then 'Important'
      When 10 Then 'Critical'
      Else 'NA' End as 'Severity'
    from v_UpdateComplianceStatus css
    join v_UpdateInfo ui on ui.CI_ID=css.CI_ID
    join v_R_System sys on css.ResourceID=sys.ResourceID
    join v_ClientCollectionMembers ccm on ccm.ResourceID=sys.ResourceID
    join v_CICategories_All catall on catall.CI_ID=ui.CI_ID
    join v_CategoryInfo catinfo on catall.CategoryInstance_UniqueID = catinfo.CategoryInstance_UniqueID and catinfo.CategoryTypeName='Company'
    join v_CICategories_All catall2 on catall2.CI_ID=ui.CI_ID
    join v_CategoryInfo catinfo2 on catall2.CategoryInstance_UniqueID = catinfo2.CategoryInstance_UniqueID and catinfo2.CategoryTypeName='UpdateClassification'
    where css.Status=2
    and ccm.CollectionID='SMS00001'
    and ui.isDeployed=1
    and catinfo2.CategoryInstanceName='Security Updates'
    and catinfo.CategoryInstanceName = 'Microsoft'
    order by sys.Name0, ui.ArticleID

  • Not able to create service requests in E-Service

    HI all,
    I am unable to create service requests in the e-service scenario, after i enter all the data and press save button, it says that number is null.
    There is no dump in the crm system.
    I am able to create the same service request in CRM system and also can see these transactions in search list of e-service, but cant view them.
    its giving an error message "An error occurred. The action that you requested could not be performed"
    Regards,
    Karunakar.

    When i tried through DBCA it hanged...
    through oradim it the posted error was appearing
    I have all the privileges as i logged in as domain admin.
    Oradim says it cannot create but the service has been created in services.msc but when i start the service the posted error message was appearing on the Eventlog

  • Vista itunes not installed correctly.  Error 7.  Windows error 998.  Itunes helper not installed correctly.  Service Apple Mobile Device failed to start.  Insufficient privileges.

    OK, spent about 25 frustrating hours so far this weekend doing everything recommended on numerous threads here -- uninstalling and reinstalling itunes and all Apple items.  Help?
    I am using Windows Vista home premium.  After the last iTunes update to 12, it suddenly would not work.  I followed, to a T, all instructions to uninstall all Apples software, in the correct order, reboot, download the latest iTunes, run as administrator, plug in the iPhone 5S, let the driver install, and then finish.
    Along the way, I received the error that "Service 'Apple Mobile Device' (Apple Mobile Device) failed to start.  Verify that you have sufficient privileges to start system services."  I am the administrator and have privileges.  (I previously followed instructions from anther thread to change the read-only privileges for Apple folders, but to no avail.  I also deleted every file with the word Apple in it after I uninstalled everything.)  I did a retry and then an ignore during installation of the AMD error, which I have received 10 times.
    The other error I keep getting is:  "iTunesHelper was not installed correctly.  Please reinstall iTunes.  Error 7."  I have done that 20 times.
    Other frequent error:  "iTunes was not installed correctly.  Please reinstall iTunes.  Error 7 (Windows error 998)."
    I followed other threads suggestions to install Windows .NET versions 3.5 and 4.0.  No help.  I also looked for various specific Apple files in various folders for DLLs, etc.  Not present.  I have rebooted 50 times and tried different users on my home account as well.  Nothing.
    I also followed instructions to Manage my computer under "services."  Under Apple Mobile Device, the setting is for "automatic."  When I try to get it to "start," the error I receive is "Windows could not start the Apple Mobile Device on Local Computer.  Error 1053:  The service did not respond to the start or control request in a timely fashion."  (I followed previous thread instructions to use the CMD prompt to stop it.  That caused problems because the status was then "stopped," but I was able to restart it later once I figured that out -- but with the 1053 error again.)
    I think I've tried every suggestion in every thread for the four errors I keep getting (AMD failed to start; iTunesHelper Error 7; Windows error 998; and AMD Error 1053.)  I am fresh out of ideas and very frustrated.  I mostly want to make sure I don't lose my music and photos, which I was about to sync.
    The only other thing I see that is strange on my computer (which I discovered along the way) is that I cannot receive automatic windows updates and have not had an update since 2012.  My iTunes worked a month ago, so that was obviously not a show-stopper in the past, but perhaps there is a Vista update I need for iTunes 12?  I have service pack 2 for Vista.  I have followed all threads to try to set my windows to automatic update, but no joy there either.  It checks for updates and then fails.  I followed instructions and did run an installation to install windows automatic updates, but that doesn't work either.  I tried 10 times.  It runs and takes a while, but is never able to successfully update windows.  It says "checking for updates" for a while.  Then it dies.  My last update was 6/19/12 (failed) and it says the most recent check was 6/22/12, but I have tried 20 times on 10/31/14 and 11/1/14.
    When asked to "Install new Windows Update software" to check for updates, I have done so 10 times.  It downloads and installs, but never works.
    It's an old Dell desktop computer from 2006, and I'm using an iPhone 5S.  I am fresh out of ideas.  Anyone really smart here?
    Thanks.
    Tristan

    Upon latest reboot, I also received this error message:  "The application failed to initialize properly (0xc0000005).  Click OK to terminate the application."
    Then I got the iTunesHelper not installed correctly error again.
    Then the "Windows can't check for updates" error message.
    Then "Apple Push has stopped working."  Then a quick DEP error message that disappeared but said something about Apple Push being closed.
    I'm also getting denials of service logged by McAffee.  Not sure if I'm getting a virus/attack or not.
    Not sure if it's a problem with my old desktop machine, my Windows Vista updates, or iTunes, but I'm very frustrated and out of ideas to try.
    Thank you for your help!
    Tristan

  • Not able to create Service Contract from another svc.contract as followup

    Hi,
    I am trying to create a service contract from another service contract as folllow up document as a part of contract renewal process. However, when I click on follow up button, in the popup, not able to the option Service Contract. Hence I am unable to create.
    Could you please let me know, what needs to be done such that Service Contract also will be shown in the popup.
    Thanks for all the replies.
    Thanks,
    Sandeep

    Hello Sandeep,
    It is not possible to create a follow up service contract (BUS2000112) for another service contract (BUS2000112).
    I do not know your business scenario, you can debug method GET_FOLLOWUP_CUST of class CL_CRM_UIU_BT_GET_PROCTYPES and see where the follow-up transaction types are filtered out.
    I met similar case before, the solution provided at that time was
    - modify FM CRM_UBB_FILTER_SUC_PROC_TYPE in line 49. You can comment out the following line:
    delete ct_suc_proc_type where process_type = ls_suc_proc_type-process_type.
    Hope this could be helpful.
    Best regards,
    Maggie

  • Exchange BPA Errors (Exchange server is a virtual machine but the additional tools are not installed and The 'Services' string type value located in 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Setup\Services' registry key is missing)

    Hi,
    I am running BPA on My Exchange 2010 VM (Server 2008 R2 VM on Hyper-V) and get the following errors:
    The 'Services' string type value located in 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Setup\Services' registry key is missing or inaccessible. The Microsoft Exchange Information Store service won't start. As a result, all services that depend
    on this service won't be able to start
    Exchange server [Exchange Server FQDN] is a virtual machine but the additional tools are not installed. This configuration is not supported. Install Virtual Machine Additions for this guest.
    Problem is that, for the first, that Key exists and the service is actually running fine. And for the second my VM tools are already installed.
    Hopefully someone out there has had the same issue and can assist.
    Pete

    Hi Pete,
    For the first error message, please try the following steps:
    Make sure the Information Store service is in Starting status,
    Automatic startup type and works well, as a test we can try to
    restart the Infroamtion Store service and verify the service works well.
    Start
    Registry Editor, find the registry key “Services” under “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Setup”, its value is “C:\Program
    files\Microsoft\Exchange Server\v14”(default install location), please check your registry, make sure the key “Services” exist and value is the Exchange Server install location and the
    location is accessible;
    Start
    Registry Editor, and locate the following registry key:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\Setup
    Use the
    Permission option under the Security tab to check the permission setting on this key. Make sure
    System is in the list with Full Control permissions if the service account is Local System. If you are not using Local System as the service account, check the existence of the corresponding account in the list and ensure that
    it has Full Control permissions. Please refer to this article:
    Title: Exchange Store Does Not Start: Errors 7024, 1026, 9542, and 5000
    Link:
    http://support.microsoft.com/kb/285116
    Start
    ADSI Edit, and then browse to the following location:
    Domain.com/Configuration/Services/Microsoft Exchange/Org/Administrative Groups/AdminGroup/Servers/Server Name
    Right-click the
    server name, and then click Properties.
    Click the
    Security tab, make sure this own server’s server object have
    full control permission on its own server.
    If not or the object is missing, please modify the permission or click
    Add, locate the computer account for the Exchange Server computer, add it to the Permissions list with full control.
    Click OK, and then close ADSI Edit.
    Use
    Active Directory Users and Computers to add the current affected
    Exchange Server computer account to the Exchange Servers(previous version should be “Exchange Domain Servers”) group in the
    Microsoft Exchange Security Groups( or Users) OU. Refer to this article:
    http://support.microsoft.com/kb/297295.
    Restart the Exchange Server computer, then rerun the ExBPA.
    For the second error message, Microsoft don’t recommend to install Exchange Server on virtual machine without additional tools, so the error message occurs. We can just ignore
    this message, it will not affect the Exchange servers.
    Regards, Eric Zou

  • TestStand deployment does not install LabView on WinXp SP1

    I have built a TestStand 3.1 deployment that installs correctly on Windows XP SP2. However, when I install the same deployment on Windows XP SP1, it does not seem to get the LabView runtime installed correctly. LabView does not show up on the Start menu, and attempting to load any .seq files that use .vis lead to an error message about not being able to start the LabView ActiveX server.
    Any ideas what could cause this? I found the FAQ about running dcomcnfg.exe, and, of course LabView is not listed as a DCOM application on the Win XP SP1, but it is OK on Win XP SP2. That still doesn't tell me why it isn't loading - it just confirms that it isn't.
    Thanks and regards,
    Ed Kuzemchak
    Software Design Solutions, Inc.

    LabVIEW development system is the only thing that shows up in the start menu; the runtime engine does not have an entry there. Based on your messages I'll bet you have LabVIEW installed on your SP2 machine but not installed on the SP1 machine.
    Did you set the LabVIEW module adaptor to use the runtime engine instead of the development system?

  • WLST deploy does not activate

    I'm running into a problem where I use WLST (weblogic 10.1) to deploy a series of apps and libs, and on certain files (happens with both apps and libs) the deploy command doesn't activate. To the user it appears the script is hung, and the solution is to login to the admin console (as the same user WLST is connected) and press the Activate button. Below is a snippet of debug for a failed lib:
    ####<Jan 10, 2009 3:00:42 PM GMT+00:00> <Debug> <Deployment>
    <dvpgap06.tbifdev.be> <AdminServer> <[ACTIVE]
    ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <weblogic> <> <> <1231599642795> <BEA-000000> <DeploymentManager:
    Created Deployment : 'weblogic.deploy.internal.Deployment@372bc7f[...]'>
    ####<Jan 10, 2009 3:00:42 PM GMT+00:00> <Debug> <Deployment>
    <dvpgap06.tbifdev.be> <AdminServer> <[ACTIVE]
    ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <weblogic> <> <> <1231599642795> <BEA-000000> <DeploymentManager:
    deployment 'weblogic.deploy.internal.Deployment@372bc7f[...]' initiated by
    'principals=[weblogic, Administrators]'>
    ####<Jan 10, 2009 3:00:42 PM GMT+00:00> <Debug> <Deployment>
    <dvpgap06.tbifdev.be> <AdminServer> <[ACTIVE]
    ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <weblogic> <> <> <1231599642795> <BEA-000000> <DeploymentManager: added
    deployment: weblogic.deploy.internal.Deployment@372bc7f[...] to list of pending
    deployments for edit lock owner>
    ####<Jan 10, 2009 3:00:42 PM GMT+00:00> <Debug> <Deployment>
    <dvpgap06.tbifdev.be> <AdminServer> <[ACTIVE]
    ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <weblogic> <> <> <1231599642795> <BEA-000000>
    <([email protected]7091c2):
    Found Same Operations : []>
    ####<Jan 10, 2009 3:01:18 PM GMT+00:00> <Debug> <DeploymentServiceTransport>
    <dvpgap06.tbifdev.be> <AdminServer> <[ACTIVE]
    ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS
    Kernel>> <> <> <1231599678170> <BEA-000000> <Creating and sending out
    heartbeat to : [Server01]>
    ####<Jan 10, 2009 3:01:18 PM GMT+00:00> <Debug> <DeploymentServiceTransport>
    <dvpgap06.tbifdev.be> <AdminServer> <[ACTIVE]
    ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS
    Kernel>> <> <> <1231599678171> <BEA-000000> <sending heartbeat to server
    'Server01'>
    Basically my script takes 1 or more app/lib names, and in turnss calls an undeploy and then deploy on each one. I've tried putting in some sleeps and re-arranging the order of the apps and libs, but without fail I always get some that get "stuck". Any help would be appreciated.
    Mike
    Update: The problem was due to an edit session being left behind if one of the apps/libs failed. The fix is better error handling to end the edit session:
    stopEdit('y')
    Edited by: prattm on Jan 15, 2009 3:15 PM

    check whether the change is activated
    configManager = getConfigManager()
    try:
         configManager.getChanges()
         isLocked = true
    except:
         isLocked = false
    ....

  • With  'BAPI_REQUISITION_CREATE' not able to create service line item

    Hi Experts
    Please help me with this.
    Am working with 'BAPI_REQUISITION_CREATE'. Able to create PR ( with constant data) but the service line item is not seen with ME53N. No error message displayed. Have checked the SAP note 420331.
    The code is as below:
    move '9' to  it_BAPIEBANC-ITEM_CAT. 
    move 'sdfgsdfgdfsg'  to     it_BAPIEBANC-SHORT_TEXT. 
    move 'F' to it_BAPIEBANC-ACCTASSCAT.
    move 1 to       it_BAPIEBANC-QUANTITY.
    move 'M2' to      it_BAPIEBANC-UNIT.
    move '1'  to  it_BAPIEBANC-DEL_DATCAT. "it_file-del_date_cat
      move sy-datum to      it_BAPIEBANC-DELIV_DATE.
      move '100CC' to        it_BAPIEBANC-MAT_GRP.
      move '1CEN'  to it_BAPIEBANC-PLANT.
      move 'CIVIL' to it_BAPIEBANC-PREQ_NAME.
        move '1001' to it_BAPIEBANC-PURCH_ORG.
      move 'P11' to it_BAPIEBANC-PUR_GROUP.
      MOVE 'NB' TO it_BAPIEBANC-DOC_TYPE.
    MOVE 'X' TO it_BAPIEBANC-GR_IND.
    MOVE 'X' TO it_BAPIEBANC-IR_IND.
    CALL FUNCTION 'NUMBER_GET_NEXT'
           EXPORTING
                NR_RANGE_NR = '01'
                OBJECT = 'SERVICE'
           IMPORTING
                NUMBER = v_packno
                RETURNCODE = RCODE.
      it_BAPIEBANC-PCKG_NO = v_packno.
      MOVE '00010' to it_BAPIEBANC-PREQ_ITEM.
      APPEND it_BAPIEBANC.
      CLEAR it_BAPIEBANC.
      move '000001000341'  to  it_BAPIEBKN-ORDER_NO.
      move 'AMINFRA'  to     it_BAPIEBKN-COST_CTR.
      move '0040401100' to    it_BAPIEBKN-G_L_ACCT.
      MOVE '00010' to it_BAPIEBKN-PREQ_ITEM.
      MOVE '01' to it_BAPIEBKN-SERIAL_NO.
      APPEND it_BAPIEBKN.
      CLEAR it_BAPIEBKN.
    move v_packno to IT_BAPIESLLC-PCKG_NO.
    IT_BAPIESLLC-subpckg_no = v_packno + 1 .
    move '0000000001' to IT_BAPIESLLC-LINE_NO.
    move '0000000000' to IT_BAPIESLLC-EXT_LINE.
    MOVE 'sdfgsdfgf'  TO  IT_BAPIESLLC-SHORT_TEXT.
    IT_BAPIESLLC-OUTL_IND = 'X'.
    IT_BAPIESLLC-FROM_LINE = '1'.
      APPEND IT_BAPIESLLC.
      CLEAR IT_BAPIESLLC.
    **service with master
      IT_BAPIESLLC-PCKG_NO = V_PACKNO + 1.
      IT_BAPIESLLC-subpckg_no = 0 .
      move '0000000002' to IT_BAPIESLLC-LINE_NO.
      move '0000000010' to IT_BAPIESLLC-EXT_LINE.
      move '000000000003000193' TO  IT_BAPIESLLC-SERVICE.
      MOVE 'sdfgsdfgf'  TO  IT_BAPIESLLC-SHORT_TEXT. "it_file-DESC(40)
      MOVE 1      TO  IT_BAPIESLLC-QUANTITY. "it_file-QTY
      MOVE 'M2'      TO  IT_BAPIESLLC-BASE_UOM. "it_file-UNIT
      IT_BAPIESLLC-UOM_ISO = 'MTK'.
      MOVE 1      TO  IT_BAPIESLLC-price_unit .
      IT_BAPIESLLC-GR_PRICE = 100.
      APPEND IT_BAPIESLLC.
      CLEAR IT_BAPIESLLC.
    service without master
      IT_BAPIESLLC-PCKG_NO = V_PACKNO + 1.
      IT_BAPIESLLC-subpckg_no = 0 .
      move '0000000003' to IT_BAPIESLLC-LINE_NO.
      move '0000000020' to IT_BAPIESLLC-EXT_LINE.
    move '000000000003000193' TO  IT_BAPIESLLC-SERVICE.
      MOVE 'sdfgsdfgf'  TO  IT_BAPIESLLC-SHORT_TEXT. "it_file-DESC(40)
      MOVE 1      TO  IT_BAPIESLLC-QUANTITY. "it_file-QTY
      MOVE 'M2'      TO  IT_BAPIESLLC-BASE_UOM. "it_file-UNIT
      IT_BAPIESLLC-UOM_ISO = 'MTK'.
      MOVE 1      TO  IT_BAPIESLLC-price_unit .
        IT_BAPIESLLC-GR_PRICE = 100.
      APPEND IT_BAPIESLLC.
      CLEAR IT_BAPIESLLC.
    it_BAPIESKLC-PCKG_NO = v_packno + 1.
    it_BAPIESKLC-LINE_NO = '0000000002'.
    it_BAPIESKLC-SERNO_LINE = '01'.
    it_BAPIESKLC-SERIAL_NO = '01'.
    it_BAPIESKLC-PERCENTAGE = '100'.
    it_BAPIESKLC-QUANTITY = 2.
      APPEND IT_BAPIESKLC.
      CLEAR IT_BAPIESKLC.
    it_BAPIESKLC-PCKG_NO = v_packno + 1.
    it_BAPIESKLC-LINE_NO = '0000000003'.
    it_BAPIESKLC-SERNO_LINE = '01'.
    it_BAPIESKLC-SERIAL_NO = '01'.
    it_BAPIESKLC-PERCENTAGE = '100'.
    it_BAPIESKLC-QUANTITY = 2.
      APPEND IT_BAPIESKLC.
      CLEAR IT_BAPIESKLC.
      CALL FUNCTION 'BAPI_REQUISITION_CREATE'   IMPORTING
         NUMBER                               = REQ_NO
        TABLES
          REQUISITION_ITEMS                   = it_BAPIEBANC
          REQUISITION_ACCOUNT_ASSIGNMENT      = it_BAPIEBKN
         REQUISITION_SERVICES                 = IT_BAPIESLLC
         REQUISITION_SRV_ACCASS_VALUES        = it_BAPIESKLC
        RETURN                               = IT_BAPIRETURN.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Thnx and Regards
    Ebrahim

    First read [Note 499626 - FAQ: BAPIs in the service procurement|https://service.sap.com/sap/support/notes/499626] and especially  [Note 420331 - BAPI_REQUISITION_CREATE: Template for services|https://service.sap.com/sap/support/notes/420331]
    Regards,
    Raymond

  • Error message BP does not exist while creating service order in WEB UI

    Hi Experts,
    i have an issue while creating a service order in WEB UI the system is automatically taking the BP ""created By"" but while saving the document Error message showing "BP does not exist"
    we have already completed set up integration with HR .created the user as  BP Role "employee"
    Kindly suggest what are the other configuration that need to be checked.
    Regards,
    D Panda

    Hi,
    Have you made the assignment of the user (defaulting in created by) to the employee (under the identification tab in employee)?
    Regards,
    Parul

  • Account Assignment is not populated while creating service PO using BAPI

    Hi All,
    I am creating a service PO using BAPI_PO_CREATE1 and Its creating PO, But when I go to ME23n and check Account Assignment in Services then Its empty.
    Please help me as I am not able to understand what could be the problem...
    Thanks & Regards,
    Prabhat Pandey

    Thanks for your most valuable answer.
    Regards,
    Prabhat

  • Itunes 10.2.2 not installing message is -Service 'ipad service'could not be installed. verify that you have sufficient privelge to install system services . I have windows 7 , am administrator in windows 7, but i have an iphone not an ipad, Hints?

    I tunes tries to update over and over again to 10.2.2.  Each time it fails and lists  message"Service 'ipad service'could not be installed. Verify that you have sufficient privelege to install system services."
    I have an iphone and use itunes to update it. I do not have an ipad if that is an issue.  Is this problem related to apple, or to Windows vista?  I am system administrator on Windows 7 so the problem must be related to apple. I would appreciate a clue as to what I need to do. Or are there sufficient problems with 10.2.2 that I should be happy it will not update? This problem is getting beyond annoying since i have work to do other than cater to apple itunes.

    I would say it is Windows.
    Which are you using btw, Vista or 7?
    And did you download the 64-bit version if that is what you run?
    There were a lot of tips to troubleshoot (never needed to in 4 yrs though knock on wood).
    Uninstall itunes
    run chckdsk and sfc /scannow
    CCleaner 3.05
    If 7 did you upgrade to SP1? Driver Sweeper has been known to cause some problems with Windows 7 SP1
    Trouble installing iTunes or QuickTime Windows
    iTunes Troubleshooting quits, freezes, or launch issues

Maybe you are looking for