Error while creating service PO by BAPI_PO_CREATE1
Hi,
I am trying to create a service PO using the BAPI_PO_CREATE1 with reference to service PR and I am getting an "In case of account assignment, please enter acc. assignment data for item" for which i found so many threads but none had resolved this error in my case eventhough i filled up all the required structure such as
LOOP AT gt_esll INTO gs_esll.
gs_services-pckg_no = gs_esll-packno.
gs_services-line_no = gs_esll-introw.
gs_services-subpckg_no = gs_esll-sub_packno.
gs_services-quantity = gs_esll-menge.
gs_services-base_uom = gs_esll-meins.
gs_services-gr_price = gs_esll-brtwr.
gs_services-outl_ind = 'X'.
APPEND gs_services TO gt_services.
CLEAR gs_services.
ENDLOOP.
LOOP AT gt_esll1 INTO gs_esll1.
gs_services-pckg_no = gs_esll1-packno.
gs_services-line_no = gs_esll1-introw.
gs_services-ext_line = gs_esll1-extrow.
gs_services-quantity = gs_esll1-menge.
gs_services-base_uom = gs_esll1-meins.
gs_services-gr_price = gs_esll1-brtwr.
APPEND gs_services TO gt_services.
CLEAR gs_services.
gs_servalues-pckg_no = gs_esll1-packno.
gs_servalues-line_no = gs_esll1-introw.
gs_servalues-serno_line = '01'.
gs_servalues-quantity = gs_esll1-menge.
gs_servalues-net_value = gs_esll1-brtwr.
APPEND gs_servalues TO gt_servalues.
CLEAR: gs_servalues, gs_esll1.
ENDLOOP.
gs_poacct-po_item = gv_poitm.
gs_poacct-serial_no = gs_ebkn-zebkn.
gs_poacct-quantity = gs_ebkn-menge.
gs_poacct-gl_account = gs_ebkn-sakto.
gs_poacct-costcenter = gs_ebkn-kostl.
gs_poacct-co_area = gs_ebkn-kokrs.
APPEND gs_poacct TO gt_poacct.
CLEAR gs_poacct.
gs_poacctx-po_item = gv_poitm.
gs_poacctx-serial_no = gs_ebkn-zebkn.
gs_poacctx-po_itemx = 'X'.
gs_poacctx-serial_nox = 'X'.
gs_poacctx-quantity = 'X'.
gs_poacctx-gl_account = 'X'.
gs_poacctx-costcenter = 'X'.
gs_poacctx-co_area = 'X'.
APPEND gs_poacctx TO gt_poacctx.
CLEAR : gs_poacctx, gs_ebkn.
LOOP AT gt_ppsitm INTO gs_ppsitm.
CLEAR: gs_poitm. " gt_poitm.
READ TABLE gt_matnr INTO gs_matnr WITH KEY banfn = gs_ppsitm-banfn bnfpo = gs_ppsitm-bnfpo.
CLEAR: gs_poitm.
gv_poitm = gv_poitm + 10.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = gv_poitm
IMPORTING
OUTPUT = gv_poitm.
gs_poitm-po_item = gv_poitm.
gs_poitm-quantity = gs_ppsitm-menge.
gs_poitm-po_unit = gs_matnr-meins.
gs_poitm-net_price = gs_ppsitm-quote_price.
* gs_poitm-price_unit = '1'.
gs_poitm-tax_code = gs_ppsitm-mwskz.
gs_poitm-preq_no = gs_ppsitm-banfn.
gs_poitm-preq_item = gs_ppsitm-bnfpo.
IF gs_matnr-packno IS NOT INITIAL.
gs_poitm-pckg_no = gs_matnr-packno. " ADDED BY SKE FOR SERVICE PO
ENDIF.
gs_poitm-item_cat = gs_matnr-pstyp.
gs_poitm-acctasscat = gs_matnr-knttp.
APPEND gs_poitm TO gt_poitm.
ENDLOOP.
aftrer executing this bapi, the accounts structure has been cleared whereas other sturcture has values.
Please give me some hints to fix this.
Thanks in Advance,
Kalidass.
Hi pranav,
from EBAN table i got the package no for a PR and passing that package No into ESLL table i am getting the subpaack No.
SELECT banfn bnfpo txz01 matnr bsart ekgrp meins pstyp knttp packno FROM eban
INTO TABLE gt_matnr
FOR ALL ENTRIES IN gt_ppsitm
WHERE banfn = gt_ppsitm-banfn
AND bnfpo = gt_ppsitm-bnfpo.
SELECT packno introw package sub_packno FROM esll
INTO CORRESPONDING FIELDS OF TABLE gt_esll
FOR ALL ENTRIES IN gt_matnr
WHERE packno = gt_matnr-packno.
IF gt_esll IS NOT INITIAL.
SELECT packno introw extrow package sub_packno menge meins brtwr ktext1 FROM ESLL
INTO TABLE gt_esll1
FOR ALL ENTRIES IN gt_esll
WHERE packno = gt_esll-sub_packno.
ENDIF.
LOOP AT gt_esll INTO gs_esll.
gs_services-pckg_no = gs_esll-packno.
gs_services-line_no = gs_esll-introw.
gs_services-subpckg_no = gs_esll-sub_packno.
gs_services-quantity = gs_esll-menge.
gs_services-base_uom = gs_esll-meins.
gs_services-gr_price = gs_esll-brtwr.
gs_services-outl_ind = 'X'.
APPEND gs_services TO gt_services.
CLEAR gs_services.
ENDLOOP.
LOOP AT gt_esll1 INTO gs_esll1.
gs_services-pckg_no = gs_esll1-packno.
gs_services-line_no = gs_esll1-introw.
gs_services-ext_line = gs_esll1-extrow.
gs_services-quantity = gs_esll1-menge.
gs_services-base_uom = gs_esll1-meins.
gs_services-gr_price = gs_esll1-brtwr.
APPEND gs_services TO gt_services.
CLEAR gs_services.
gs_servalues-pckg_no = gs_esll1-packno.
gs_servalues-line_no = gs_esll1-introw.
gs_servalues-serno_line = '01'.
gs_servalues-quantity = gs_esll1-menge.
gs_servalues-net_value = gs_esll1-brtwr.
APPEND gs_servalues TO gt_servalues.
CLEAR: gs_servalues, gs_esll1.
ENDLOOP.
Edited by: Kalidass Etienne.S on Jan 31, 2012 11:07 AM
Similar Messages
-
ABAP dump Error while creating service order in PCUI.
Hi Experts,
We are getting following ABAP dump error while creating service order in PCUI which is working fine in GUI.
Runtime Errors RAISE_EXCEPTION
Date and Time 02.01.2008 14:55:38
Short text
Exception condition "TYPE_NOT_FOUND" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
A RAISE statement in the program "CL_CRM_ELEMDESCR==============CP" raised the
exception
condition "TYPE_NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
| function module from the display of active calls.
We have added custom fields in the service application. these custom fields with Z-structure & data elements are included in BSP structure CRMT_BSP_SRV_OIC_SRCHRES in development system.But the same Z structure & custom fields are exist in the production system but not included in BSP Structue CRMT_BSP_SRV_OIC_SRCHRES.
This may be the reason resulting this ABAP dump error in PCUI while creating Service order.
How these Z structures can be included in the BSP Structure CRMT_BSP_SRV_OIC_SRCHRES in production system?
Helpful answers would be rewrded max points as it is high priority issue.
Regards,
Basavaraj PatilHi Thirumala,
Thnaks for the reply.
I have enhanced service application using transaction EEWB to add new custom fields. these fields are there in Z structure created by the system in production system. All the transports are moved to target system. Problem is that Z structure( contains custom fields) created while doing EEWB is not included in BSP structure.
I f transports are missed to move to target system, Is there any other alternative to solve this problem?
Regards,
Basavaraj Patil -
No Functional Area Found Error while creating service data in me22n
Hello,
While creating service data for a purchase order in ME22n I am getting error like " No functional area found" .
Please tell me how to maintain the Functional area for a particular GL account
In the help i can found that we can find the functional area "The functional area can be determined either using the cost element, the account assignment object (such as the cost center or order)"
How we can determine this please through some light on this statement.
Thanks
Pradeep
Moderator message: not directly related to ABAP development, please post again in the appropriate functional forum.
locked by: Thomas Zloch on Oct 15, 2010 9:55 AMHello Madhav,
You have to maintain your 'business transaction profile' (SPRO->CRM->IC Web->Business Transaction->Define bus. trans. prof.) in the customizing and assign that profile to your IC WebClient profile (the one you assigned in the org. model)
In the business transaction profile you must make sure that at least one transaction type (e.g. ZSRV) is assigned as 'Dependent business transaction' and that entry is flagged as 'Service'.
Also make sure that that transaction type (ZSRV) has leading business transaction category 'Service process' (BUS2000116).
This should solve your problem!
Kind regards,
Joost -
Error while Creating a PO using BAPI_PO_CREATE1
Hi Friends,
The following issue that I have observed and as explained below is one of the weirdest scenarios that I have seen while working with SAP. Hence, kindly help me with possible errors from my end. I am working on ECC 6.0.
Requirement: To automatically create a PO.
Option used: I have used a BAPI: u2018BAPI_PO_CREATE1u2019
Scenario: When I execute the BAPI u2018BAPI_PO_CREATE1u2019 directly in sequence with u2018BAPI_TRANSACTION_COMMITu2019, the PO gets created successfully. The data entered as input is:
POHEADER-COMP_CODE
POHEADER-DOC_TYPE
POHEADER-PMNTTRMS
POITEM-PO_ITEM
POITEM-QUANTITY
POITEM-TAX_CODE
POITEM-TAXJURCODE
POITEM-RFQ_NO
POITEM-RFQ_ITEM
POITEM-PREQ_NO
POITEM-PREQ_ITEM
POITEM-PREQ_NAME
POSCHEDULE-PO_ITEM
POSCHEDULE-SCHED_LINE
POSCHEDULE-QUANTITY
POSCHEDULE-PREQ_NO
POSCHEDULE-PREQ_ITEM
Problem: I need to pass data to the BAPI through code, so I called the BAPI u2018BAPI_PO_CREATE1u2019 and u2018BAPI_TRANSACTION_COMMITu2019 in a test function module as well as report. I passed the same data as mentioned above i.e. while creating the PO by passing data to the BAPI directly.
But the BAPI returns an error BAPI header data still faulty, enter plant, Pur. Org., Pur. Grp., etc.
I tried by passing all the available data for the header and then for the items, but finally, I still get an error that the item is from a different order account and just cannot create a PO.
The Test FM code is as shown below:
DATA : PYMNT_TERMS TYPE YOAF_SEC_MASTER-TER_PYMNT.
DATA : ITEM_NO(4) .
DATA : CURRENCY TYPE LFM1-WAERS.
DATA : POHEAD TYPE BAPIMEPOHEADER.
DATA : POHEADX TYPE BAPIMEPOHEADERX.
DATA : EXP_HEAD TYPE BAPIMEPOHEADER.
DATA : POITEM TYPE TABLE OF BAPIMEPOITEM WITH HEADER LINE.
DATA : POITEMX TYPE TABLE OF BAPIMEPOITEMX WITH HEADER LINE.
DATA : POSCHED TYPE TABLE OF BAPIMEPOSCHEDULE WITH HEADER LINE.
DATA : POSCHEDX TYPE TABLE OF BAPIMEPOSCHEDULX WITH HEADER LINE.
DATA : EX_PO_NUMBER TYPE BAPIMEPOHEADER-PO_NUMBER.
CONSTANTS : C_X VALUE 'X'.
POHEAD-COMP_CODE = 'P110'.
POHEAD-DOC_TYPE = DOC_TYPE.
POHEAD-PMNTTRMS = 'P10'.
POHEADX-COMP_CODE = C_X.
POHEADX-DOC_TYPE = C_X.
POHEADX-PMNTTRMS = C_X.
POITEM-PO_ITEM = '00001'.
POITEM-QUANTITY = '1.000'.
POITEM-TAX_CODE = 'D2'.
POITEM-TAXJURCODE = 'MH01'.
POITEM-RFQ_NO = '2300009491'.
POITEM-RFQ_ITEM = '00001'.
POITEM-PREQ_NO = '200003583'.
POITEM-PREQ_ITEM = '00001'.
POITEM-PREQ_NAME = 'SACHIN'.
APPEND POITEM.
POITEMX-PO_ITEM = '00001'.
POITEMX-PO_ITEMX = C_X.
POITEMX-QUANTITY = C_X .
POITEMX-TAX_CODE = C_X .
POITEMX-TAXJURCODE = C_X .
POITEM-RFQ_NO = C_X.
POITEM-RFQ_ITEM = C_X.
POITEM-PREQ_NO = C_X.
POITEM-PREQ_ITEM = C_X.
POITEMX-PREQ_NAME = C_X.
APPEND POITEMX.
POSCHED-PO_ITEM = '00001'.
POSCHED-SCHED_LINE = '0001'.
POSCHED-QUANTITY = '1.000'.
POSCHED-PREQ_NO = '1200003583'.
POSCHED-PREQ_ITEM = '00001'.
APPEND POSCHED.
POSCHEDX-PO_ITEM = '1'.
POSCHEDX-SCHED_LINE = '0001'.
POSCHEDX-PO_ITEMX = C_X.
POSCHEDX-SCHED_LINEX = C_X.
POSCHEDX-QUANTITY = C_X.
POSCHEDX-PREQ_NO = C_X.
POSCHEDX-PREQ_ITEM = C_X.
APPEND POSCHEDX.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = POHEAD
POHEADERX = POHEADX
IMPORTING
EXPPURCHASEORDER = EX_PO_NUMBER
EXPHEADER = EXP_HEAD
EXPPOEXPIMPHEADER =
TABLES
RETURN = RETURN_ERROR
POITEM = POITEM
POITEMX = POITEMX
POADDRDELIVERY =
POSCHEDULE = POSCHED
POSCHEDULEX = POSCHEDX
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = RETURN_ERROR.Hi,
As mentioned that this error was one of the wierdest SAP issues I have faced, it was due to the silliest copy paste errors on my behalf. I completely overlooked the POITEMX naming.
For 4 values of RFQ_NO, RFQ_ITEM, PREQ_NO, PREQ_ITEM, I didnt have the 'X' for POITEMX and kept on looking for errors for days.
BAPI_PO_CREATE1 works with min. possible inputs successfully.
Thanks to all! -
Validity period error while creating Service Entry Sheet.
Hi SAP experts,
Users are facing below two error messages while creating serivce entry sheet with respect to Standard PO (NB).The PO has RFQ refrence where Validity start and end date is blank. Also PO has Item category 'D' (Services)
1) "Runtime of entry must fall within Run time of the PO (05.12.2008-05.01.2009)
2) Entry must be wihin validity period of purchase order (05.12.2008-05.01.2009)
In the EKKO table system is showing validity start and end date for PO but it is not present in the PO (NB) by ME 22 / 23N.
Basically standard PO (NB) should not have validity start date and end date but still it is showing in the table EKKO.
Kindly provide me related resolution ASAP.
Thanks
BR,
RahulHi Alex,
Thanks for the quick reply.
There is no Validity period maintained in the PO header under "Additional data".
but still I am getting Validity data in the table EKKO for standard PO (NB).
BR,
Rahul -
Error: while creating Service Entry Sheet - for HELD PO
Hi experts,
While PO XXXXXXXXXX is in the status of Hold. System allowed me to create & delete a service entry sheet(SES) on particular date.
Another day i tried to create SES for the same PO. System is not allowing me to create SES and it gives me error as 'Purchase order XXXXXXXXXX incomplete (parked)'.
While debugging I found that ekko-memory field set to 'X'. At this point I am getting error.
My question is why the system is allowed me to create SES for a PO which is in HELD status?.
Please help me.
Thanks In advance,
VinodThanks for the reply.
We are aware that system will not allow to create Service entry sheet for held po. But it is allowed me to create on a particular date. Another day i tried to create/delete a SES for the same PO or new PO(held status) system is not allowing me to delete/create SES.
Please help me what might be the reason which allowed me on a particulare date.
Thanks in Advance,
Vinod.... -
Error while creating service entry sheet
Hi Experts,
I am trying to create service entry sheets using bapi 'BAPI_ENTRYSHEET_CREATE' for a purchase order with multiple line items. The bapi creates SES for the first line item but gives error 'User xxxxxx already processing purchase order nnnnnnnnnn' for the rest of all. Tried using 'COMMIT AND WAIT' after bapi call but it's not working.
Kindly help me out with the solution.
Regards,
B.SiddheshHi Siddhesh,
Please use below code before calling the 'BAPI_ENTRYSHEET_CREATE' to unlock the PO.
Hope this is helpful.
**Delete the Lock objects EKKO Header PO.
CALL FUNCTION 'ENQUEUE_READ'
EXPORTING
GNAME = 'EKKO'
GARG = ''
GUNAME = SY-UNAME
TABLES
ENQ = ENQ
EXCEPTIONS
OTHERS = 0.
IF NOT ENQ IS INITIAL.
DESCRIBE TABLE ENQ LINES SY-TFILL.
CHECK SY-TFILL > 0.
CALL FUNCTION 'ENQUE_DELETE'
EXPORTING
SUPPRESS_SYSLOG_ENTRY = 'X'
IMPORTING
SUBRC = RC
TABLES
ENQ = ENQ.
ENDIF.
**Delete the Lock objects EKPO Header PO.
CALL FUNCTION 'ENQUEUE_READ'
EXPORTING
GNAME = 'EKPO'
GARG = ''
GUNAME = SY-UNAME
TABLES
ENQ = ENQ
EXCEPTIONS
OTHERS = 0.
IF NOT ENQ IS INITIAL.
DESCRIBE TABLE ENQ LINES SY-TFILL.
CHECK SY-TFILL > 0.
CALL FUNCTION 'ENQUE_DELETE'
EXPORTING
SUPPRESS_SYSLOG_ENTRY = 'X'
IMPORTING
SUBRC = RC
TABLES
ENQ = ENQ.
ENDIF.
Reward if helpful.
Regards,
Shakeel Ahmed -
Error while creating service for BW query
Hi All,
I am creating service in gateway system by using BW query.
I had created service using Entity Type -> Redefine -> BW query Service
It is generated successfully but when i am running through Gateway Client, It is throwing error, given below
" The argument '67.504.82831' cannot be interpreted as a number."
All properties are string but still it is giving error in number.
I am using Netwiever Gateway 7.3.
Kindly advise, what could be issue and , how we can analyse.
Thanks in Advance.
Regards
VivekThanks for the reply.
We are aware that system will not allow to create Service entry sheet for held po. But it is allowed me to create on a particular date. Another day i tried to create/delete a SES for the same PO or new PO(held status) system is not allowing me to delete/create SES.
Please help me what might be the reason which allowed me on a particulare date.
Thanks in Advance,
Vinod.... -
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 -
Error while creating services contract
dear all
when i am trying to create service contract i am getting error message as
Enter reason for change for version
Message no. MEDCM003
kindly help>
sardendu kumar wrote:
> dear all
> when i am trying to create service contract i am getting error message as
>
> Enter reason for change for version
> Message no. MEDCM003
> kindly help
Seems like there is version management active, and its asking for reason or number, look up a field requiring the input and fill it up.
Edited by: Afshad Irani on May 31, 2010 5:12 PM -
Getting error while creating Service controller from component controller
Hi,
I have added CAF model in used model for DC project.But when i m trying to create service controller from component controller by selecting used model it is giving error like "Context element cannot be bound to model layer".
Can anybody help me out on this issue.
Thanks in advance.Hello,
try to check the check box in MS Word - File - Options - General - "Open e-mail attachements and other uneditable files in reading view"
I am not sure how this option really works, but I think you will find it checked. So try to uncheck it.
Or wise versa :c)
Kind regards -
Error while creating Service Contract
Folks,
While I create a service contract, I am getting the error:
"An error occurred in system PEC510 during account assignment"
Could someone help me out with this?
Thanks,
Divya.Hi Divya,
Please check the following in IMG:
CRM -> Transactions -> Settings for Service Processes -> Integration -> Set up time sheet and controlling integration
After that you should enter the corresponding R/3 System. In R/3 customizing use the following path: Settings for Service Processing -> Controlling Integration -> Establish Controlling type, controlling level and controlling scenarios.
Here you should check if a controlling scenario for single object controlling (usually) has been maintained. See also paragraph 3.1.1.10.3 in BP guide C26 at the following location: http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/Documentation/C26_BB_ConfigGuide_EN_US.doc
Kind regards,
KZ -
Problem while creating service PO using bapi_po_create1
hi all,
i am getting error :
In case of account assignment, please enter acc. assignment data for item
what does this mean?
please help,,
thanks,
Siddhartha PrakashHi Sid.
I'm having this same problems on creating PO Service. Did you solve it? How did you do that?
I'm using a PR and the Category is 'Y', and I cant find where is the problem.
The tables that I'm passing to the BAPI_PO_CREATE1 are:
POITEM/ POITEMX
POACCOUNT/ POACCOUNTX
POSERVICES
POSRVACCESSVALUES
Please, if you have any idea, let me know!
Tks a lot!
Renata -
Error while creating service on vista
Hi,
I have installed oracle 10.2.0.3 on windows vista. It doesnt let me create a service due to some security issue.
OPW-00001: Unable to open password-file
DIM-00014: Cannot open the Windows NT Service Control Manager.
O/S-Error: (OS 5) Access is denied.
Any idea how to resolve this..
Thank youAfter turning off user access control I was able to create the service
what exactly you did here?.. wold you please clarify how one can do..
i am using vista only and i have only one acount this is created by default and should be able to create oracle sevices as needed but i am not able to do this ..
the error i got is
C:\Users\HP>oradim -new -sid %ORACLE_SID% -intpwd MYSECRETPASSWORD -startmode M
OPW-00001: Unable to open password-file
DIM-00014: Cannot open the Windows NT Service Control Manager.
O/S-Error: (OS 5) Access is denied.
what should be done and how? it would be great if u could give steps to perform. thanks -
Error while creating service tickets
Hi all,
we are facing the followin error when we try to create a service ticket in WEB UI.
Version CRM 7 with EhP1 installed.
Please find the error details
Context initialization failed in view ICCMP_BTPARTNER/PartnerTable of UI Component ICCMP_BTPARTNER
An exception has occurred Exception Class CX_CRM_IC_JEXCEPTION - Exception CX_CRM_IC_JEXCEPTION occurred (program: CL_CRM_IC_MCM_SESSION_PROXY===CP, include: CL_CRM_IC_MCM_SESSION_PROXY===CM00C, line: 28).
Method: CL_CRM_IC_MCM_SESSION_PROXY=>GET_LOGON_STATUS
Source Text Row: 28
Initialization of view ICCMP_BTPARTNER/PartnerTable of UI Component ICCMP_BTPARTNER failed
An exception has occurred Exception Class CX_CRM_IC_JEXCEPTION - Exception CX_CRM_IC_JEXCEPTION occurred (program: CL_CRM_IC_MCM_SESSION_PROXY===CP, include: CL_CRM_IC_MCM_SESSION_PROXY===CM00C, line: 28).
Method: CL_CRM_IC_MCM_SESSION_PROXY=>GET_LOGON_STATUS
Source Text Row: 28
Cannot display view ICCMP_BTPARTNER/PartnerView of UI Component ICCMP_BTPARTNER
An exception has occurred Exception Class CX_CRM_IC_JEXCEPTION - Exception CX_CRM_IC_JEXCEPTION occurred (program: CL_CRM_IC_MCM_SESSION_PROXY===CP, include: CL_CRM_IC_MCM_SESSION_PROXY===CM00C, line: 28).
Method: CL_CRM_IC_MCM_SESSION_PROXY=>GET_LOGON_STATUS
Source Text Row: 28
Initialization of view ICCMP_BTPARTNER/PartnerView of UI Component ICCMP_BTPARTNER failed
An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View ICCMP_BTPARTNER/PartnerTable in component ICCMP_BTPARTNER could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 165
Cannot display view ICCMP_BTPARTNER/PartnerViewSet of UI Component ICCMP_BTPARTNER
An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View ICCMP_BTPARTNER/PartnerTable in component ICCMP_BTPARTNER could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 165
Worker session error in session initialization (SAM_QUEUE NOT SET )
No categorization schema assigned to application
I am using IE 7 version. The CRM application is installed in Windows SQL server 2008.
I have checked and the acitivated all the required service in SICF. The services are running.
Please guide me through about how to solve this issue.
regards,
ChandruHi Chandru,
Check if the following [thread1|No categorization schema assigned to application area (SERVICE_ORDER.....)] [thread2|No Categorization Schema assigned to application Area] helps you.
Regards,
Saumya
Maybe you are looking for
-
Error while updating decimal places in general settings
Hii All I have got an error while updating Decimal places in General Settings Cannot update while another user is connected to the company i have checked, there is no other user logged in, i could add other settings but the problem is only w
-
Modified idoc values are not reflecting in the IDOC display (ie we02)
Hello Team I wrote one inbound interface for posting GR by using the IDOC MBGMCR03. In the inbound FM, i wrote some code for retrieving some data and mapping to its relevant fields of the segments. It is working fine but when i see the idoc values in
-
My iPod touch is stuck at apple logo and the loading circle. It can't be detected on iTunes so I can't recharged or restore. I've tried recovery mode, DFU, and force recovery mode but still doesn't work. I don't think anything is wrong with the drive
-
Warning messaeg-If refered qty exceeds 80% of Actual qty in SO
Hi Gurus, My client scenario is : Step 1: Create a Sales order Step 2: Create Billing Request ( Sales document) Step 3: Create an invoice Sales order > Billing Request> Invoice Eg: we created a sales order in Jan Month with the 800 qty. as of now we
-
How to loging into the vision instance.
Hi gurus , I m new to oracle 11i and have manage to install the vision instance and it was succesfull how do i log in (11.5.5) i mean the url for vision and secondly do i need to install the j iniatiator or not.I dont know if it comes with the system