Copy BAPI_PR_CREATE - Create Services/Limits

Dear All,
Since we do not have the expected EHP on our system, BAPI_PR_CREATE doesn't provide us with the input parameters for Services and Limits. So, we are unable to use this BAPI .
We are expected to use a BAPI that is equivalent to tcode ME51N, so we can't use BAPI_REQUISITION_CREATE.
We are planning to copy existing BAPI_PR_CREATE and use it to create Serrvices/Limits. ( We can check this functionality from other systems that have expected EHP)
Can someone suggest how feasible is this solution?
Thanks
Edited by: shalaxy s on Sep 12, 2011 6:55 PM

As you have noticed that there are additional scenarios mapped in the latest versions, so, EHP4 will have all the earlier corrections/notes pre-implemented. Also, new scenarios, better performance, etc. are the added advantages.
Also, as you are attempting to make a copy in customer namespace, the errors can be handled.
But, it is strongly recommended to think about the option of upgrading to the latest patch levels.
Regards,
Pranav.

Similar Messages

  • DIM-00019 Cannot Create service (when running DBCA)

    DIM-00019 Cannot Create service (when running DBCA)
    Hello,
    I was trying to install Oracle9i and configure a DB instance (my first try at 9i, to be sure) and everything went ok until I was creating the DB instance. The dbca asked for all the parameters and when it was actually in the process of copying files/creating services it stops with the error
    DIM-00019 Create Service Error
    Then it tries to continue but another error comes up
    ORA-12560: TNS: Protocol Adapter Error.
    And then it aborts.
    Does anyone know what is going wrong here? I'm trying to install in Windows 2000 Server SP4.
    Thanks in advance for any help,
    --oswaldo santos.

    DIM-00019 Cannot Create service (when running DBCA)
    Hello,
    I was trying to install Oracle9i and configure a DB instance (my first try at 9i, to be sure) and everything went ok until I was creating the DB instance. The dbca asked for all the parameters and when it was actually in the process of copying files/creating services it stops with the error
    DIM-00019 Create Service Error
    Then it tries to continue but another error comes up
    ORA-12560: TNS: Protocol Adapter Error.
    And then it aborts.
    Does anyone know what is going wrong here? I'm trying to install in Windows 2000 Server SP4.
    Thanks in advance for any help,
    --oswaldo santos.

  • Error whil creating Service Line item in ME51N using BAPI_PR_CREATE

    Hi Experts,
                Am able to create PR number using BAPI_PR_CREATE, but when am trying to create Service line item am getting acc assignment error please check my code and solve my issue. ..its very adj  please help me .
    DATA : t_bapimereqitemimp TYPE TABLE OF bapimereqitemimp ,
          t_bapimereqaccount TYPE TABLE OF bapimereqaccount,
          t_bapimereqaccountx TYPE TABLE OF bapimereqaccountx,
          t_pritemx    TYPE TABLE OF bapimereqitemx,
          wa_bapimereqitemimp        TYPE bapimereqitemimp,
          pr_number  TYPE bapimereqheader-preq_no,
          wa_prheader  TYPE   bapimereqheader,
          wa_prheaderx TYPE  bapimereqheaderx,
          wa_pritemx   TYPE  bapimereqitemx,
          wa_bapimereqaccountx TYPE bapimereqaccountx,
          wa_bapimereqaccount TYPE bapimereqaccount,
          t_return     TYPE TABLE OF bapiret2,
          wa_return    TYPE bapiret2.
    DATA : t_bapi_srv_limit_data TYPE TABLE OF bapi_srv_limit_data,
            wa_bapi_srv_limit_data TYPE bapi_srv_limit_data.
    DATA servicelimitx  TYPE TABLE OF bapi_srv_limit_datax.
    DATA w_servicelimitx  TYPE bapi_srv_limit_datax.
    DATA : t_servicelines TYPE TABLE OF bapi_srv_service_line,
            w_servicelines TYPE bapi_srv_service_line,
            t_servicelinesx TYPE TABLE OF bapi_srv_service_linex,
            w_servicelinesx TYPE bapi_srv_service_linex,
            t_bapi_srv_acc_data TYPE TABLE OF bapi_srv_acc_data,
            w_bapi_srv_acc_data TYPE bapi_srv_acc_data,
            t_bapi_srv_acc_datax TYPE TABLE OF bapi_srv_acc_datax,
            w_bapi_srv_acc_datax TYPE bapi_srv_acc_datax.
    DATA : t_bapimereqitem TYPE TABLE OF bapimereqitem,
            w_bapimereqitem TYPE bapimereqitem.
    DATA :  t_bapimereqitemx TYPE TABLE OF bapimereqitemx,
            w_bapimereqitemx TYPE bapimereqitemx.
    wa_prheader-pr_type  = 'RV'."lv_doc_type.
    wa_prheaderx-pr_type = 'X'.
    wa_bapimereqitemimp-preq_item  = '1'."wa_eban-item.
    wa_bapimereqitemimp-pur_group  = '100'."wa_eban-ekgrp.
    wa_bapimereqitemimp-preq_name  = 'E.R. TITTO'."wa_eban-afnam.
    wa_bapimereqitemimp-short_text = 'AC Fitting'."wa_eban-txz01.
    wa_bapimereqitemimp-material   = ' '."wa_eban-matnr.
    wa_bapimereqitemimp-plant      = '1000'."wa_eban-werks.
    wa_bapimereqitemimp-store_loc  = 'ST00'."wa_eban-lgort.
    wa_bapimereqitemimp-matl_group = 'Z13'."wa_eban-matkl.
    wa_bapimereqitemimp-quantity   = '1'."wa_eban-menge.
    wa_bapimereqitemimp-unit       = 'AU'."wa_eban-meins.
    wa_bapimereqitemimp-deliv_date =  '20140604'."wa_eban-lfdat.
    wa_bapimereqitemimp-preq_price = '100'."wa_eban-preis.
    wa_bapimereqitemimp-item_cat   = 'D'."wa_eban-pstyp.
    wa_bapimereqitemimp-acctasscat =  'K'."wa_eban-knttp.
    wa_bapimereqitemimp-fixed_vend = ' '."wa_eban-flief.
    wa_bapimereqitemimp-purch_org  = '1000'."wa_eban-ekorg.
    wa_bapimereqitemimp-currency   = 'INR'."wa_eban-waers.
    wa_bapimereqitemimp-pckg_no = '00000001'.
    wa_bapimereqaccount-preq_item  = '1'."wa_eban-item.
    *wa_bapimereqaccount-serial_no  = '01'.
    wa_bapimereqaccount-gl_account = '0000002244'."wa_eban-sakto.
    wa_bapimereqaccount-costcenter = 'OPSD'."wa_eban-kostl.
    APPEND wa_bapimereqitemimp TO t_bapimereqitemimp.
    APPEND wa_bapimereqaccount TO t_bapimereqaccount.
    wa_pritemx-preq_item  = '1'."wa_eban-item.
    wa_pritemx-pur_group  = 'X'.
    wa_pritemx-preq_name  = 'X'.
    wa_pritemx-short_text = 'X'.
    wa_pritemx-material   = 'X'.
    wa_pritemx-plant      = 'X'.
    wa_pritemx-store_loc  = 'X'.
    wa_pritemx-matl_group = 'X'.
    wa_pritemx-quantity   = 'X'.
    wa_pritemx-unit       = 'X'.
    wa_pritemx-deliv_date = 'X'.
    wa_pritemx-preq_price = 'X'.
    wa_pritemx-item_cat   = 'X'.
    wa_pritemx-acctasscat = 'X'.
    wa_pritemx-fixed_vend = 'X'.
    wa_pritemx-purch_org  = 'X'.
    wa_pritemx-currency   = 'X'.
    wa_pritemx-pckg_no   = 'X'.
    wa_bapimereqaccountx-preq_item  = '1'."wa_eban-item.
    *wa_bapimereqaccountx-serial_no  = '01'.
    wa_bapimereqaccountx-preq_itemx = 'X'.
    wa_bapimereqaccountx-serial_nox = 'X'.
    wa_bapimereqaccountx-gl_account = 'X'.
    wa_bapimereqaccountx-costcenter = 'X'.
    APPEND wa_pritemx TO t_pritemx.
    APPEND wa_bapimereqaccountx TO t_bapimereqaccountx.
    **Service item limit
    *wa_bapi_srv_limit_data-doc_item = '10'.
    wa_bapi_srv_limit_data-overall_limit = '1000'.
    wa_bapi_srv_limit_data-exp_value = '800'.
    APPEND wa_bapi_srv_limit_data TO  t_bapi_srv_limit_data.
    *w_servicelimitx-doc_item = '10'.
    w_servicelimitx-overall_limit = 'X'.
    w_servicelimitx-exp_value = 'X'.
    APPEND w_servicelimitx TO servicelimitx.
    w_bapimereqitem-preq_item = '10'.
    ***w_bapimereqitem-preq_name = 'E.R. TITTO'.
    ***w_bapimereqitem-plant = '1000'.
    ***w_bapimereqitem-store_loc = 'ST00'.
    ***w_bapimereqitem-matl_group = 'Z03'.
    ***w_bapimereqitem-quantity = '1'.
    ***w_bapimereqitem-unit = 'AU'.
    w_bapimereqitem-item_cat = 'D'.
    w_bapimereqitem-deliv_time = '20140604'.
    w_bapimereqitem-acctasscat = 'K'.
    **w_bapimereqitem-consumpt = 'U'.
    APPEND w_bapimereqitem TO t_bapimereqitem.
    **w_bapi_srv_acc_data-doc_item = '1'.
    **w_bapi_srv_acc_data-outline = '0000000001'.
    *w_bapi_srv_acc_data-srv_line = '20'.
    w_bapi_srv_acc_data-serial_no = '10'.
    w_bapi_srv_acc_data-serial_no_item = 'D'.
    *w_bapi_srv_acc_data-quantity = '1'.
    *APPEND w_bapi_srv_acc_data TO t_bapi_srv_acc_data.
    **w_bapi_srv_acc_datax-doc_item = '1'.
    **w_bapi_srv_acc_datax-outline = '0000000001'.
    *w_bapi_srv_acc_datax-srv_line = '20'.
    **w_bapi_srv_acc_datax-serial_no = '01'.
    **w_bapi_srv_acc_datax-serial_no_item = '01'.
    *w_bapi_srv_acc_datax-quantity = '1'.
    *APPEND w_bapi_srv_acc_datax TO t_bapi_srv_acc_datax.
    w_servicelines-service = '00000001'.
    APPEND w_servicelines TO t_servicelines.
    w_servicelinesx-service = 'X'.
    APPEND w_servicelinesx TO t_servicelinesx.
    CALL FUNCTION 'BAPI_PR_CREATE'
       EXPORTING
         prheader        = wa_prheader
         prheaderx       = wa_prheaderx
       IMPORTING
         number          = pr_number
       TABLES
         return          = t_return
         pritem          = t_bapimereqitemimp
         pritemx         = t_pritemx
         pritemexp       = t_bapimereqitem
         praccount       = t_bapimereqaccount
         praccountx      = t_bapimereqaccountx
         servicelimit    = t_bapi_srv_limit_data
         servicelimitx   = servicelimitx
         servicelines    = t_servicelines
         servicelinesx   = t_servicelinesx
         serviceaccount  = t_bapi_srv_acc_data
         serviceaccountx = t_bapi_srv_acc_datax.

    Hi,
    Check this Thread , Thread1 . It might help you to resolve the issue.
    Thanks
    KH

  • Unable to create Service PR using BAPI_PR_CREATE

    Hi Guys,
    I am creating PRs using BAPI_PR_CREATE. I am able to create all type of PRs except Service.
    I have tried passing additional data to structures servicelines, servicelinesx, serviceaccount, serviceaccountx, but still i could not able to create service PR successfully. Getting error message like 'In case of account assignmernt, please enter acc. assignment data for item'.
    Please let me know what data I need to pass to get service PR created.
    Thx in advance.

    Hi,
    In order to create the Service PR you need to pass the list of services in a way similar to that in which they appear in the ESLL table i.e with the combination of the package number and the subpackage number and that option is not there in this bapi so either you need to activate the properties of the business function LOG_MM_CI_2 using the T-Code SFW5 or you need to use the
    BAPI:-       'BAPI_REQUISITION_CREATE'
    In which need to pass the following tables:-
    REQUISITION_ITEMS
    REQUISITION_SERVICES
    REQUISITION_SRV_ACCASS_VALUES
    The First table will contain the data relevant to the items that will be created in the PR.
    The Second table will contain the Header and Item level data for each item defined in the previous table
    Say for Example:-
    Header Data You need to pass a Pack Number that could be any number I passed 1234 and then the sub package number will be the pack number + 1. Other fields that we need to pass are ext_line line_no and short_text.
    ITEM DATA   Here we need to pass the subpackNumber from the header data as the pack number
    and the sub pack number will be left blank here at the item level and the other details like the qty and gross price and the activity number and others will be passed here.
    So if there are multiple services( Say 5 ) in the single line item of a PR you should create a single header data and append that to the table REQUISITION_SERVICES and then you must create or get the item data 5 times one for each service and append all those to the same table   REQUISITION_SERVICES.
    Third Table  This table will contain the account assignment data for the line items of the PR.
    In Case of any issue do revert back and i will give you the test data.
    <removed by moderator>
    Regards,
    Dev
    Message was edited by: Thomas Zloch

  • How to create SERVICE PR using BAPI_PR_CREATE

    Hi everyone,
    How to create SERVICE PR using BAPI_PR_CREATE
    Regards,
    My Code(it doesn't work,I don't know what's wrong.):
    *& Report  ZWTEST
    REPORT  zwtest.
    DATA: header TYPE bapimereqheader,
          headerx TYPE bapimereqheaderx,
          item LIKE TABLE OF bapimereqitemimp WITH HEADER LINE,
          itemx LIKE TABLE OF bapimereqitemx WITH HEADER LINE,
          account  LIKE TABLE OF bapimereqaccount WITH HEADER LINE,
          accountx LIKE TABLE OF bapimereqaccountx WITH HEADER LINE,
          service LIKE TABLE OF bapi_srv_service_line WITH HEADER LINE,
          servicex LIKE TABLE OF bapi_srv_service_linex WITH HEADER LINE,
          serviceaccount LIKE TABLE OF  bapi_srv_acc_data WITH HEADER LINE,
          serviceaccountx  LIKE TABLE OF bapi_srv_acc_datax WITH HEADER LINE,
          preq_no LIKE  bapimereqheader-preq_no,
          lt_return LIKE TABLE OF bapiret2 WITH HEADER LINE,
          wa_return LIKE bapiret2.
    header-pr_type = 'NB'."订单类型(采购)
    headerx-pr_type = 'X'.
    CLEAR: item.
    item-preq_item = '00010'.
    item-pur_group = '426'."采购组
    item-short_text = '服务类PR'."短文本
    item-plant = '1051'."工厂
    item-matl_group = 'AS07'."物料组
    item-item_cat = '9'."项目类别
    item-acctasscat = 'K'."科目分配类别
    item-pckg_no = '0000000001'."软件包编号
    APPEND item.
    CLEAR: itemx.
    itemx-preq_item = '00010'.
    itemx-preq_itemx = 'X'.
    itemx-pur_group = 'X'."采购组
    itemx-short_text = 'X'."短文本
    itemx-plant = 'X'."工厂
    itemx-matl_group = 'X'."物料组
    itemx-item_cat = 'X'."项目类别
    itemx-acctasscat = 'X'."科目分配类别
    itemx-pckg_no = 'X'."软件包编号
    APPEND  itemx.
    CLEAR: account.
    account-preq_item = '00010'.
    account-serial_no = '01'.
    *account-quantity = '0.955'.
    *account-distr_perc = '95.5'.
    account-gl_account = '4205020000'.
    account-costcenter = '1042000001'.
    *account-co_area = 'CNOC'.
    *account-profit_ctr = '9999999999'.
    APPEND account.
    CLEAR: accountx.
    accountx-preq_item = '00010'.
    accountx-serial_no = '01'.
    accountx-preq_itemx = 'X'.
    accountx-serial_nox = 'X'.
    *accountx-quantity = 'X'.
    *accountx-distr_perc = 'X'.
    accountx-gl_account = 'X'.
    accountx-costcenter = 'X'.
    *accountx-co_area = 'X'.
    *accountx-profit_ctr = 'X'.
    APPEND accountx.
    CLEAR: service.
    service-doc_item = '00010'.
    service-outline = '0000000001'.
    service-srv_line = '0000000010'.
    service-short_text = 'service test'.
    service-quantity = '10.000'.
    service-uom = 'AU'.
    service-gross_price = '10.00'.
    service-currency = 'CNY'.
    *service-matl_group = 'AS07'."物料组
    APPEND service.
    CLEAR: servicex.
    servicex-doc_item = '00010'.
    servicex-outline = '0000000001'.
    servicex-srv_line = '0000000010'.
    servicex-short_text = 'X'.
    servicex-quantity = 'X'.
    servicex-uom = 'X'.
    servicex-gross_price = 'X'.
    servicex-currency = 'X'.
    *servicex-matl_group = 'X'.
    APPEND servicex.
    CLEAR: serviceaccount.
    serviceaccount-doc_item = '00010'.
    serviceaccount-outline = '0000000001'.
    serviceaccount-srv_line = '0000000010'.
    serviceaccount-serial_no = '01'.
    serviceaccount-serial_no_item = '01'.
    serviceaccount-percent = '100'.
    APPEND serviceaccount.
    CLEAR: serviceaccountx.
    serviceaccountx-doc_item = '00010'.
    serviceaccountx-outline = '0000000001'.
    serviceaccountx-srv_line = '0000000010'.
    serviceaccountx-serial_no = '01'.
    serviceaccountx-serial_no_item = 'X'.
    serviceaccountx-percent = 'X'.
    APPEND serviceaccountx.
    CALL FUNCTION 'BAPI_PR_CREATE'
      EXPORTING
        prheader               = header
        prheaderx              = headerx
    *   TESTRUN                =
      IMPORTING
        number                 = preq_no
    *   PRHEADEREXP            =
      TABLES
        return                 = lt_return
        pritem                 = item
        pritemx                = itemx
    *   PRITEMEXP              =
    *   PRITEMSOURCE           =
        praccount              = account
    *   PRACCOUNTPROITSEGMENT  =
        praccountx             = accountx
    *   PRADDRDELIVERY         =
    *   PRITEMTEXT             =
    *   PRHEADERTEXT           =
    *   EXTENSIONIN            =
    *   EXTENSIONOUT           =
    *   PRVERSION              =
    *   PRVERSIONX             =
    *   ALLVERSIONS            =
    *   PRCOMPONENTS           =
    *   PRCOMPONENTSX          =
    *   SERVICEOUTLINE         =
    *   SERVICEOUTLINEX        =
        servicelines           = service
        servicelinesx          = servicex
    *   SERVICELIMIT           =
    *   SERVICELIMITX          =
    *   SERVICECONTRACTLIMITS  =
    *   SERVICECONTRACTLIMITSX =
        serviceaccount         = serviceaccount
        serviceaccountx        = serviceaccountx
    *   SERVICELONGTEXTS       =
    *   SERIALNUMBER           =
    *   SERIALNUMBERX          =
    * 处理错误消息:通过判断消息的类型,来判断BAPI是否成功
    READ TABLE lt_return INTO wa_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
      WRITE: / '成功创建采购申请', preq_no.
    ENDIF.
    LOOP AT lt_return INTO wa_return.
      WRITE: / wa_return-message, wa_return-type, wa_return-id, wa_return-number.
    ENDLOOP.

    see note:
    1950319 - How to create service PR with BAPI_PR_CREATE.pdf

  • Create service PR using BAPI_PR_CREATE

    Hi experts,
    I am trying to create service PR using BAPI_PR_CREATE, though i am a able to create a service PR with account assignment category =  'K'(i.e. cost centre), I am not ble to create PR with acc. assign. category = 'N' (i.e. network).
    It gives me an error saying please entre operation/activity number, when i pass the activity number in the acc. assgn. data structure in the BAPI, it gives an error that the network XXX cannot be assigned with an the activity number.
    As this BAPI is for ME51N, i do not understand why does it ask for an activity number.Can you please help.
    Regards

    Solved Using Item category 9 instead of D

  • Data Services wizard not creating service

    I am having huge problems with the Data Services wizard.
    I am using Flash Builder 4.6 on a Mac (10.7.2).
    Over the last year I have been working on a couple of proof of concept projects and now want to start work on a production version starting from scratch in a new project.
    The Data Services wizard has worked fine for me in the past, but now I am having serious problems.
    The first problem is the Data/Services window does not update when I create a new service with the wizard. (I am connecting to the Zenfolio Web Service.) If have to close the project and open it before I see the new service in the Data/Services window.
    While this problem is more an inconvenience, more seriously the wizard does not create either the "services" folder or the "valueObjects" folder as it did in the past.
    Now if I right click on a method in the service and select "Create Service Call", it creates the Call Responder but not the call itself.
    The relevant log entry starts with
    !ENTRY com.adobe.flexbuilder.dcrad 4 1 2012-01-12 22:39:20.962
    !MESSAGE Component type services.zfapi.Zfapi not found.
    If I create a "services" folder and copy the zfapi package from one of my previous projects, all works fine.
    This probably gives me a workaround - although I haven't tested this to any extent yet.
    It is very strange and worrying behaviour though.
    regards
    Chris

    OK, here are the log entries created when I try to create the service:
    !ENTRY com.adobe.flexbuilder.dcrad 4 1 2012-01-19 22:16:33.970
    !MESSAGE
    !STACK 0
    java.lang.reflect.InvocationTargetException
              at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:479)
              at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
              at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.addServices(ServicesManager.jav a:476)
              at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:536)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1530)
              at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5781)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092)
              at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084)
              at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2519)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5471)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2092)
              at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2252)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
              at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
              at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Priority
              at freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
              at freemarker.log.Logger.getLogger(Logger.java:255)
              at freemarker.template.utility.SecurityUtilities.<clinit>(SecurityUtilities.java:67)
              at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:147)
              at freemarker.template.ObjectWrapper.<clinit>(ObjectWrapper.java:69)
              at freemarker.core.Configurable.<init>(Configurable.java:132)
              at freemarker.template.Configuration.<init>(Configuration.java:109)
              at freemarker.template.Configuration.<clinit>(Configuration.java:96)
              at fiber.gen.freemarker.FreemarkerModelGenerator.buildFreemarkerConfiguration(FreemarkerMode lGenerator.java:328)
              at fiber.gen.freemarker.FreemarkerModelGenerator.<init>(FreemarkerModelGenerator.java:85)
              at fiber.gen.freemarker.FreemarkerStructuredTypeGenerator.<init>(FreemarkerStructuredTypeGen erator.java:62)
              at fiber.gen.as.ASClassGenerator.<init>(ASClassGenerator.java:84)
              at fiber.gen.as.vo.SuperGenerator.<init>(SuperGenerator.java:53)
              at fiber.gen.as.vo.ASValueObjectGenerator$2.<init>(ASValueObjectGenerator.java:225)
              at fiber.gen.as.vo.ASValueObjectGenerator.getBaseClassGenerator(ASValueObjectGenerator.java: 222)
              at fiber.gen.as.vo.ASValueObjectGenerator.getTemplateNames(ASValueObjectGenerator.java:392)
              at fiber.gen.as.ASGenerator.getTemplateNames(ASGenerator.java:465)
              at com.adobe.model.core.generators.wrapper.CodeGenerationUtils.getTemplateResources(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.getTemplateResourcesForGene rator(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateCodeForGenerator(Un known Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.internalGenerateAllCodeForM odel(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper$2.run(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateAllCodeForModel(Unk nown Source)
              at com.adobe.flexbuilder.dcrad.core.generation.ASVOGenerator.generate(ASVOGenerator.java:78)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.generateVO(ServicesManager.java :538)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.add(ServicesManager.java:403)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.access$11(ServicesManager.java: 356)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager$1.run(ServicesManager.java:484)
              at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
              ... 48 more
    Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Priority
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
              at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              ... 77 more
    Root exception:
    java.lang.NoClassDefFoundError: org/apache/log4j/Priority
              at freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
              at freemarker.log.Logger.getLogger(Logger.java:255)
              at freemarker.template.utility.SecurityUtilities.<clinit>(SecurityUtilities.java:67)
              at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:147)
              at freemarker.template.ObjectWrapper.<clinit>(ObjectWrapper.java:69)
              at freemarker.core.Configurable.<init>(Configurable.java:132)
              at freemarker.template.Configuration.<init>(Configuration.java:109)
              at freemarker.template.Configuration.<clinit>(Configuration.java:96)
              at fiber.gen.freemarker.FreemarkerModelGenerator.buildFreemarkerConfiguration(FreemarkerMode lGenerator.java:328)
              at fiber.gen.freemarker.FreemarkerModelGenerator.<init>(FreemarkerModelGenerator.java:85)
              at fiber.gen.freemarker.FreemarkerStructuredTypeGenerator.<init>(FreemarkerStructuredTypeGen erator.java:62)
              at fiber.gen.as.ASClassGenerator.<init>(ASClassGenerator.java:84)
              at fiber.gen.as.vo.SuperGenerator.<init>(SuperGenerator.java:53)
              at fiber.gen.as.vo.ASValueObjectGenerator$2.<init>(ASValueObjectGenerator.java:225)
              at fiber.gen.as.vo.ASValueObjectGenerator.getBaseClassGenerator(ASValueObjectGenerator.java: 222)
              at fiber.gen.as.vo.ASValueObjectGenerator.getTemplateNames(ASValueObjectGenerator.java:392)
              at fiber.gen.as.ASGenerator.getTemplateNames(ASGenerator.java:465)
              at com.adobe.model.core.generators.wrapper.CodeGenerationUtils.getTemplateResources(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.getTemplateResourcesForGene rator(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateCodeForGenerator(Un known Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.internalGenerateAllCodeForM odel(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper$2.run(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateAllCodeForModel(Unk nown Source)
              at com.adobe.flexbuilder.dcrad.core.generation.ASVOGenerator.generate(ASVOGenerator.java:78)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.generateVO(ServicesManager.java :538)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.add(ServicesManager.java:403)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.access$11(ServicesManager.java: 356)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager$1.run(ServicesManager.java:484)
              at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
              at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
              at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.addServices(ServicesManager.jav a:476)
              at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:536)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1530)
              at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5781)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092)
              at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084)
              at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2519)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5471)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2092)
              at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2252)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
              at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
              at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Priority
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
              at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              ... 77 more

  • BAPI_PR_CREATE for Service line items only

    Hi All,
    We are unable to create the Purchase Requistion Order using the BAPI_PR_CREATE for Service line items.
    The Error Message 436(06) " In case of account assignment, please enter acc. assignment data for item" is always received with respect to Account Assignment.
    We are currently using ECC 6.0 EHP 4. SAP instance to create the Purchase requisition order.
    We already did this analysis and came to this include previously for the Error Message 436(06) and could find thatt the accounting tables are not filled.
    Also, the accounting items table is refreshed and deleted in 3 places in the code.
    We did put debug on that u2026 but during debug, the control does not go to these places.
    I suppose there is some other major functionality related to Service PR is missing in the BAPI_PR_CREATE.
    Also we are unable to find the detailed documentation.
    Thanks and Regards,
    Shivakumar K.

    Hi Shivakumar,
                                                                                    Hi Shivakumar,
    in most of the cases this error - 06 436 - happens due to wrongly filled BAPI structures.
    Please check the entries in the x-structures in first line, for example:
    PRACCOUNT structure
    PREQ_ITEM                      00010
    SERIAL_NO                      01
    GL_ACCOUNT                     2222222     
    COSTCENTER                     SAP-DUMMY
    PRACCOUNTX structure
    PREQ_ITEM                      00010
    SERIAL_NO                      01    <<<<
    GL_ACCOUNT                     X
    COSTCENTER                     X
    SERVICEACCOUNT structure
    Line 1:
    DOC_ITEM                       00010
    OUTLINE                        0000000001
    SRV_LINE                       0000000010
    SERIAL_NO                      01
    SERIAL_NO_ITEM                 01
    SERVICEACCOUNTX structure
    Line 1:
    DOC_ITEM                       00010
    OUTLINE                        0000000001
    SRV_LINE                       0000000010
    SERIAL_NO                      01       <<<<
    SERIAL_NO_ITEM                 X     <<<
    Regards,
    Edit

  • User exit Or Badi for  creating Service order while modifying sales order.

    Hi Experts,
    I am creating Notification using transaction IW51.
    In IW51 there is a button to create a sales order.
    I click on sales order button and create a sales order.
    Now notification and sales order are created.
    Now i go in transaction VA02 and click on avalibility check push button .It gives me some popups in which i select copy all options.Then  i click on save button
    .At this point service order gets created.
    My requirement :
    Before the service order gets created i want to pass the notification data ; for ex- Equnr(Equipment number) to service order.
    Thanks & Regards,
    Chetan

    Hi,
    Are you saying first create notification,then service order
    and then Sales order.
    But the requirement is create notification then sales order and when you go in va02 and while modifying the sales order and create service order.
    Thanks & regards,
    chetan.

  • BAPI  for Creating Service Purchase Order

    Hi All,
      I am not able to create service po using bapi, after passing the parameters
      ls_polimits-LIMIT     = '30'.
      ls_polimits-EXP_VALUE = '20'.
      APPEND : ls_polimits TO gt_polimits.
        ls_poserv-quantity = '10'.
        ls_poserv-base_uom = 'AU'.
        ls_poserv-short_text = 'AAAAAAAA'..
        ls_poserv-price_unit = '1'.
        ls_poserv-GR_PRICE = '25'.
        ls_poserv-TAX_CODE = 'V0'.
        ls_poserv-MATL_GROUP = '6AD'.
        APPEND : ls_poserv TO gt_poserv,
               ls_poservx TO gt_poservtxt.
    message getting is
    500000280 00010 Purchase order still contains faulty items
    500000280 00010 No instance of object type PurchaseOrder has been created. External reference:
    500000280 00010 Please maintain services or limits
    please help me
    Appropriate points will be rewarded.
    Arun

    Dear Seshu,
    This is not the problem with data, coz, i am able to create the PO (Service) Manually.
    please let me know what all tabeles, i need to pass for this BAPI_PO_CREATE1
    presently I am passing
    CALL FUNCTION 'BAPI_PO_CREATE1'
           EXPORTING
                poheader          = g_pohdr
                poheaderx         = g_pohdrx
               testrun           = 'X'
           IMPORTING
                exppurchaseorder  = l_ponum
           TABLES
                return            = lt_return
                poitem            = gt_poitem
                poitemx           = gt_poitemx
                poaccount         = gt_poacct
                poaccountx        = gt_poacctx
                POSERVICES        = gt_poserv
                POSRVACCESSVALUES = gt_poservacc
    Regards
    Arun

  • Problem in Creating Service contract Quote

    Hi,
    I have a problem while creating Service Contract Quote. The Problem is "No Items being created in Service Contract Quote."
    I am copying these line items from the Package Quote(Programatically). I am reading the Package Quote Lines Items using CRM_ORDER_READ and I am looping these one by one, and copying into one Item Table. Passed this table, to MAINTAIN_ORDERADM_I function module. And Then I am calling SAVE function module.
    But, for me service contract Quote is being created with no line items.
    Can you please let me know, how can I solve this problem.
    And let me know what are the necessary steps to be taken progrmtically,  for creating Service Contract Quote from a Package Quote.
    Thanks,
    Sandeep

    A standard way of doing this would be to create an action in service contract with method call processing type, and method COPY_DOCUMENT. For this you need to do the following:
    1) Create a new action called "SRV_CNTRCT_QUOTE_CREATE" in action pofile already attached to Package Quote. Use
        CRMC_ACTION_DEF Tcode for this.
    2) Choose processing type as method call and method as COPY_DOCUMENT.
    3) Choose parameter CRMD_ORDERADM_H, PROCESS_TYPE with initial value as transaction type of Serv Contract Quote.
    4) Institute start and scheduled conditions if required in CRMC_ACTION_CONF.
    Note: For this copying controls at transaction level, item category level and itemcat determination while copying should have been determined.
    Regds,
    Raghu

  • Unable to Create Service Request Template in CRM

    Hello,
    I need to create a service request template in crm web ui,
    Following are the steps followed.
    I have identified the transaction type as SRQT screen shot attached below
    However when I click on on the work center link groups of the service pro role, I am not able to find the same for the service request template
    As per the post below it says that you need to go navigation bar profile and add the SM-SUPPORT work center and the work center link group as SM-SRQT-CR
    How to customize service request templates
    The error appears when I try to add the logical link id,
    Because of the above error I am not able to create service request template in sap crm, please advice which logical link ID, I need to use so that the service request template can be created in the system.
    Kind Regards
    Atul

    Hi Atul,
    1. Screen shot 1 is correct
    2. Screen shot 2 - You are at end of all work centers in your custom role which you might have copied from standard or Z role. If you look in standard role SERVICEPRO, navigation bar profile SRV-PRO, work center - SRV-ORD, you will find service request template
    In Cases work Center in standard SERVICEPRO role you can create service request template.
    Try copying this to your custom role in your required work center. It should work.
    Regards,
    Niraj

  • Is it possible to create service entry sheet without PO

    Hi,
    Is it possible to create service entry sheet without PO?
    rega

    Hi,
    It is not possible in standard SAP to create Entry Sheet without Ref. to PO.
    You can copy the Entry sheet from another one.
    PO> Entry Sheet-> Invoice.
    This the Std. Process developed by SAP to take care of Service render by Vendor to company.
    hope it helpss.
    manoj singh

  • Need to create service order in one system with SO from other sys

    Hi,
    i need to create a DTO program to copy service order from one system to other system. Both systems are SAP systems.
    My requirement is to create service order with same number as it was in the existing system.
    Service order type : SM03
    Now standard SAP automatically create a service order of type SM03 when i add repair qty within the repair tab of IRPA line within a RAS order.
    Can you please let me know if there is a way by which i can change the service order number while creating it from a RAS order??
    Thanks,
    Willban

    Hi!
    In the customizing, you have to set its numbering to
    external in the receiver system for the SM03 order type. And of course you have to set its range the same, as in the sender system. 
    It's working fine here.
    Regards
    Tamá

  • Created Service in Automator, shows up in Sys Prefs, nowhere in Services

    Hello, I'm brand new to the awesome idea of creating Services using the Automator. I needed a keystroke to give me a time stamp in any application, so I found this:
    http://superuser.com/questions/227213/what-is-the-easiest-way-to-get-a-yyyy-mm-d d-hhmmss-timestamp-hotkey-on-the-mac
    I followed the instructions there, copying the the macro into the Run Shell Script action, selected "receives no input in any application" and replaces selected text. Pressing command + R shows that it works there.
    Now, I have its check box selected in the keyboard shortcuts pane in System Preferences, and a keystroke assigned to it, but there are no services listed in the service tab of any application.
    What gives?
    I'm totally new to this so please forgive me, and thanks in advance.
    Cheers.

    You may have a corrupted system and/or a corrupted old user folder.
    Try booting into safe mode. Then do the following:
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. Then select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your OS X volume from the list on the left, click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now shutdown the computer for a couple of minutes and then restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior (3.0.3 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X. Note that Disk Warrior will not work on Intel Macs.
    Restart again in safe mode. Now see if you can archive the old user account.

Maybe you are looking for

  • How to create xml file through SDK?

    Hi, I need help in creating the xml file using SAP B1 SDK? i want to create xml file which is in tally xml format. Warm Ragards, Mahendra

  • IPhone with 2.0 update and iTunes 7.7 - Will not sync.

    I am unable to sync my iPhone at all with my MacBook. It was syncing fine, until I installed a few applications. Now it will not sync period, no errors either. It is in System Profiler: iPhone: Version: 0.01 Bus Power (mA): 500 Speed: Up to 480 Mb/se

  • Bbc wants me to install flash player. What do I do?

    I wanted to watch Wimbledon in the garden with my ipad mini. The bbc site wants me to install flash. Whereas I am used to that with my old .pC I am not sure about Apple add ons.  Please advise as I would rather be safe!

  • Business workflow

    Hi, I already write on this forum about my problem with mm02 and the determination of profit center with badi or user exit. I need a solution that allow to write the profit center value within the mm02 transaction. I tried with BADI_MATERIAL_REF but

  • Suitcase Fusion/Photoshop Font Issue

    I have Photoshop CS5.5 with Suitcase Fusion 15.0.5. When I use any kind of typeface in a Photoshop file it appears jagged. When I rasterized the type, the edges are still jagged. It does display the correct font and not defaulting to a generic one. I