BAPI_PO_CREATE1 - Message ME 887
Hi,
I searched forums about this message but i couldnt get a proper answer.
I have customer fields in header lvl all character type
Z001 ZZ0001 CHAR 20
Z002 ZZ0002 CHAR 20
Z003 ZZ0003 CHAR 1
Z004 ZZ0004 CHAR 1
Z005 ZZ0005 CHAR 250
Z006 ZZ0006 CHAR 10
Z007 ZZ0007 CHAR 100
Z008 ZZ0008 CHAR 100
Z009 ZZ0009 CHAR 100
Z010 ZZ0010 CHAR 4
they are in CI_EKKODB also in CI_EKKODBX i have put char 1 type of those.
when i try to change those values i got this message
ME 887 - Error transferring ExtensionIn data for enhancement CI_EKPODB
I have noting to do with ekpo.
My code is below any help will be appreciated.
Thank you
DATA : extensionin LIKE TABLE OF bapiparex WITH HEADER LINE,
extensionout LIKE TABLE OF bapiparex WITH HEADER LINE,
wa_bapi_poheader LIKE bapi_te_mepoheader,
wa_bapi_poheaderx LIKE bapi_te_mepoheader.
DATA : poheader LIKE bapimepoheader ,
poheaderx LIKE bapimepoheaderx .
wa_bapi_poheader-po_number = lv_ekko-ebeln.
wa_bapi_poheader-z001 = lv_ekko-z001.
wa_bapi_poheader-z002 = lv_ekko-z002.
wa_bapi_poheader-z003 = lv_ekko-z003.
wa_bapi_poheader-z004 = lv_ekko-z004.
wa_bapi_poheader-z005 = lv_ekko-z005.
wa_bapi_poheader-z005 = 'denemee'.
wa_bapi_poheader-z006 = lv_ekko-z006.
wa_bapi_poheader-z007 = lv_ekko-z007.
wa_bapi_poheader-z008 = lv_ekko-z008.
wa_bapi_poheader-z009 = lv_ekko-z009.
wa_bapi_poheaderx-po_number = lv_ekko-ebeln.
wa_bapi_poheaderx-z001 = 'X'.
wa_bapi_poheaderx-z002 = 'X'..
wa_bapi_poheaderx-z003 = 'X'.
wa_bapi_poheaderx-z004 = 'X'.
wa_bapi_poheaderx-z005 = 'X'.
wa_bapi_poheaderx-z006 = 'X'.
wa_bapi_poheaderx-z007 = 'X'.
wa_bapi_poheaderx-z008 = 'X'.
wa_bapi_poheaderx-z009 = 'X'.
extensionin-structure = 'BAPI_TE_MEPOHEADER'.
extensionin-valuepart1 = wa_bapi_poheader.
APPEND extensionin.
CLEAR extensionin.
extensionin-structure = 'BAPI_TE_MEPOHEADERX'.
extensionin-valuepart1 = wa_bapi_poheaderx.
APPEND extensionin.
poheader-po_number = lv_ekko-ebeln.
poheaderx-po_number = lv_ekko-ebeln.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = lv_ekko-ebeln
poheader = poheader
poheaderx = poheaderx
TABLES
return = return
poitem = poitem
poitemx = poitemx
extensionin = extensionin
BREAK-POINT.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
Sorry wrong forum
Similar Messages
-
BAPI_PO_CREATE1 - Message 06 - 437
Hi:
We have upgraded to ECC6 (EHP4) and since then the functional module we use to create PO's, by using BAPI_PO_CREATE1, does not work anymore.
I get the following SAP message: 06 437: Distr. ind. and partial invoice ind. must be set for multiple acct. assgt.
We have never set them in the contract before and the PO's were created without any errors.
Is there something we must change in the BAPI to get past this message ?
Thanks.
W.Hello
Can you provide the Account assignment used for creating the PO/Contract using BAPI_PO_CREATE1 .
Plese check the following configuration node for the account assignment used.
SPRO --> MM --> Purchaisng --> Accpunt assignment --> Maintai account assignment categories
Select your account assignment actegory and click on details - where you can see the indicators for Distribution and Partial invoice. These indicators to be set for mutliple account assignemnt.
Reagrds
Ramakrishna -
Appending customer field for BAPI_CONTRACT_CREATE
Hello.
I'm trying to append customer field to the table EKPO using BAPI called "BAPI_CONTRACT_CREATE ".
I have created a structure and included it into append structure of EKPO.
Can anyone tell me what I should do next?
Regards,
Tomoko SakamotoHello Tomoko
The BAPI has a TABLES parameter EXTENSIONIN having the following documentation:
FU BAPI_CONTRACT_CREATE EXTENSIONIN
Short Text
ExtensionIn
Description
With the parameters ExtensionIn and ExtensionOut, it is possible to
enhance the interface of a BAPI without modification to achieve the
automatic processing of customer-specific data.
The data is passed on in a table. The format of the individual data
records of this table is determined via the structure BAPIPAREX. This
structure contains several data record fields (VALUEPART1, VALUEPART2
etc.) and a field for the name of an auxiliary structure (STRUCTURE).
Because per data record the data is written piecewise consecutively to
the data record fields available for the purpose, an auxiliary structure
is needed for the interpretation of the data.
In the event that an SAP database table is to be enhanced by additional
fields, BAPI table extensions are especially suitable as auxiliary
structures. A BAPI table extension can either be already predefined by
SAP or created by the customer. Examples of auxiliary structures and
BAPI table extensions can be found at the following points:
o Description of the various customer enhancement options
o Enhancement of BAPI based on existing SAP database tables
o Enhancement of BAPI through incorporation of additional customers'
own database tables
o Enhancement of BAPI by import data that does not show up the
database level
Note that only fields of the data type CHAR and similar data types may
be used in the BAPI parameter ExtensionIn/ExtensionOut.
If the customer Include contains deviating parameters, the configurable
message ME 887 is invoked. However, the data is not adopted in the
target structure from the container.
Default
The auxiliary structures have been defined as follows:
o Header data:
- BAPI_TE_MEOUTHEADER
- BAPI_TE_MEOUTHEADERX
o Item data:
- BAPI_TE_MEOUTITEM
- BAPI_TE_MEOUTITEMX
o Account assignment data:
- BAPI_TE_MEOUTACCOUNT
- BAPI_TE_MEOUTACCOUNTX
Function Module
BAPI_CONTRACT_CREATE
You need to define and structure the values passed by this EXTENSIONIN parameter in a specific way in order to achieve your goal. For more details please refer to:
[Customer Enhancement and Modification of BAPIs (CA-BFA)|http://help.sap.com/saphelp_nw70/helpdata/EN/6b/3f6d016d0711d396a50004ac96334b/content.htm]
Regards
Uwe -
Bapi_po_create1 is giving same system messages multiple time in the joblog
Hi Experts,
Bapi_po_create1 is giving same system messages multiple times in the job log when we ran the program in the background
can u plz suggest how to prevent these multiple appearances of same messages.
I am pasting the code below whn i ran this program in backgorund job log is having the messages.
Date Time Message text Message class Message no. Message type
08/06/2009 08:11:53 Job started 00 516 S
08/06/2009 08:11:53 Step 001 started (program ZZZTEST, variant &0000000000008, user ID BREDDY) 00 550 S
08/06/2009 08:11:54 Commitment plan contains no account assignment data MECP 020 S
08/06/2009 08:11:54 Commitment plan contains no account assignment data MECP 020 S
08/06/2009 08:11:54 Status "Initial Block" of material 20111 does not allow external procurement ME 053 E
08/06/2009 08:11:54 Status "Initial Block" of material 20111 does not allow external procurement ME 053 E
08/06/2009 08:11:54 Source not included in list despite source list requirement 06 722 E
08/06/2009 08:11:55 Pricing/euro: Attention: Euro Customizing not maintained VH 777 S
08/06/2009 08:11:55 Pricing/euro: Attention: Euro Customizing not maintained VH 777 S
08/06/2009 08:11:55 Status "Initial Block" of material 20111 does not allow external procurement ME 053 E
08/06/2009 08:11:55 Purchase order still contains faulty items MEPO 000 E
08/06/2009 08:11:55 Job finished 00 517 S
Edited by: bhavani prasad kotharu on Aug 6, 2009 3:09 PMHERE IS THE CODE OF THE PROGRAM, WE R JUST PASSING SOME PO DATA TO THE BAPI_PO_CREATE1,ON RUNNING THIS PROGRAM IN BACKGROUND SAME SYSTEM MESSAGES ARE APPEARED MULTIPLE TIMES,----
REPORT zzztest.
DATA : lwa_bapimepoheader TYPE bapimepoheader
,lwa_bapimepoheaderx TYPE bapimepoheaderx
,li_bapimepoitem TYPE STANDARD TABLE OF bapimepoitem
,lwa_bapimepoitem TYPE bapimepoitem
,li_bapimepoitemx TYPE STANDARD TABLE OF bapimepoitemx
,lwa_bapimepoitemx TYPE bapimepoitemx
,li_conditions TYPE STANDARD TABLE OF komv
,li_return TYPE STANDARD TABLE OF bapiret2
, n TYPE c
PARAMETERS: p1 TYPE c AS CHECKBOX.
IF p1 = 'X'.
lwa_bapimepoheader-doc_type = 'NB'.
lwa_bapimepoheader-purch_org = 'NA00'.
lwa_bapimepoheader-pur_group = 'C02'.
lwa_bapimepoheaderx-doc_type = 'X'.
lwa_bapimepoheaderx-purch_org = 'X'.
lwa_bapimepoheaderx-pur_group = 'X'.
lwa_bapimepoitem-po_item = '10'.
lwa_bapimepoitem-material = '000000000000020111'.
lwa_bapimepoitem-plant = 'CA01'.
lwa_bapimepoitem-vend_mat = '1000'.
lwa_bapimepoitem-quantity = '10'.
lwa_bapimepoitem-orderpr_un = 'M'.
lwa_bapimepoitem-no_more_gr = 'K'.
lwa_bapimepoitem-agreement = '4600000095'.
lwa_bapimepoitem-agmt_item = '10'.
lwa_bapimepoitem-pricedate = 'X'.
lwa_bapimepoitem-price_date = '20071030'.
lwa_bapimepoitem-no_rounding = 'X'.
APPEND lwa_bapimepoitem TO li_bapimepoitem.
lwa_bapimepoitemx-po_item = '10'.
lwa_bapimepoitemx-po_itemx = 'X'.
lwa_bapimepoitemx-po_itemx = 'X'.
lwa_bapimepoitemx-material = 'X'.
lwa_bapimepoitemx-plant = 'X'.
lwa_bapimepoitemx-quantity = 'X'.
lwa_bapimepoitemx-po_unit = 'X'.
lwa_bapimepoitemx-orderpr_un = 'X'.
lwa_bapimepoitemx-acctasscat = 'X'.
lwa_bapimepoitemx-agreement = 'X'.
lwa_bapimepoitemx-agmt_item = 'X'.
lwa_bapimepoitemx-pricedate = 'X'.
lwa_bapimepoitemx-price_date = 'X'.
lwa_bapimepoitemx-preq_no = 'X'.
lwa_bapimepoitemx-preq_item = 'X'.
lwa_bapimepoitemx-no_rounding = 'X'.
APPEND lwa_bapimepoitemx TO li_bapimepoitemx.
DATA: lo_msg_handler TYPE REF TO cl_message_handler_mm.
CALL METHOD cl_message_handler_mm=>get_handler
IMPORTING
ex_handler = lo_msg_handler.
lo_msg_handler->remove_all( ).
lo_msg_handler->cleanup( ).
CALL FUNCTION 'BAPI_PO_CREATE1' "in background task
EXPORTING
poheader = lwa_bapimepoheader
poheaderx = lwa_bapimepoheaderx
testrun = 'X'
NO_MESSAGING = c_x
NO_MESSAGE_REQ = c_x
no_authority = 'X'
IMPORTING
expheader = lwa_bapimepoheader
TABLES
return = li_return
poitem = li_bapimepoitem
poitemx = li_bapimepoitemx
conditions = li_conditions.
ENDIF.
Edited by: bhavani prasad kotharu on Aug 6, 2009 3:38 PM -
Executing BAPI_PO_CREATE1 in a loop results in multiple success messages
Hi all,
I have a process where I need to create multiple POs with one item each. For creating the POs I use BAPI_PO_CREATE1. The creation itself works fine and created POs are also correct.
But what is a bit confusing is the content of the RETURN table of the BAPI. From the second created PO on I also get ALL messages of the previously created POs although I have a COMMIT WORK AND WAIT after each creation and the return table is always empty when executing the BAPI.
Example:
I need to create two POs.
First run of the BAPI_PO_CREATE: PO A is created and return table has success message "PO A successfully created"
Second run of the BAPI_PO_CREATE: PO B is created and return table has two success messages: "PO A successfully created" and "PO B successfully created"
But for the second run I also would expect to get only one success message.
Why do I get too many messages? Or do I need to initilize the BAPI somehow?
By the way, I have the same problem with BAPI_PO_CHANGE.
regards
RenéHi,
so again: the return table is cleared/refreshed all times when executing the loop and a commit is done!
Unfortunately the whole coding is implemented to the SAP AIF so the AIF is doing the loops. But in debugging I clearly see that the return table is empty before executing the BAPI.
Here is the coding. The AIF calls the here described function module in a loop and executes a commit work and wait after each call of the FM.
FUNCTION POST_PURCHASE_ORDER.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(TESTRUN) TYPE C
*" REFERENCE(HASH_TAB) TYPE /AIF/HASHTAB_T OPTIONAL
*" REFERENCE(IDX_TAB) TYPE /AIF/IDXTAB_T OPTIONAL
*" TABLES
*" RETURN_TAB STRUCTURE BAPIRET2
*" CHANGING
*" REFERENCE(DATA)
*" REFERENCE(CURR_LINE)
*" REFERENCE(CURR_DATA)
*" REFERENCE(SUCCESS) TYPE /AIF/SUCCESSFLAG
*" REFERENCE(OLD_MESSAGES) TYPE BAL_T_MSG
DATA: lt_po_items TYPE TABLE OF bapimepoitem,
lt_po_itemsx TYPE TABLE OF bapimepoitemx,
lt_bapiparex TYPE TABLE OF bapiparex,
lt_po_conditionx TYPE TABLE OF bapimepocondx,
lt_po_header_texts TYPE TABLE OF bapimepotextheader,
lt_po_item_texts TYPE TABLE OF bapimepotext,
ls_po_headerx TYPE bapimepoheaderx,
ls_po_headerx_cust TYPE bapi_te_mepoheaderx,
ls_po_itemx TYPE bapimepoitemx,
ls_po_condition TYPE bapimepocond,
ls_po_conditionx TYPE bapimepocondx,
l_testrun TYPE bapiflag-bapiflag.
CHECK curr_line IS NOT INITIAL.
REFRESH: return_tab[].
CLEAR: return_tab[].
l_testrun = testrun.
* Get X-structures for PO header
PERFORM fill_x_structure USING curr_line-po_header 0 CHANGING ls_po_headerx.
* Create PO Header Custom Fields.
PERFORM fill_bapiparex USING curr_line-po_header_cust space
CHANGING lt_bapiparex[] return_tab[].
* Get X-structures for PO ExtensionIn fields and post them to ExtensionIn as well
PERFORM fill_x_structure USING curr_line-po_header_cust 0 CHANGING ls_po_headerx_cust.
PERFORM fill_bapiparex USING ls_po_headerx_cust space
CHANGING lt_bapiparex[] return_tab[].
* Get X-structure for PO item
curr_line-po_item-info_upd = 'A'.
curr_line-po_item-po_price = '1'.
PERFORM fill_x_structure USING curr_line-po_item 1 CHANGING ls_po_itemx.
ls_po_itemx-po_item = curr_line-po_item-po_item.
curr_line-po_item-po_price = space.
curr_line-po_item-info_upd = space.
APPEND curr_line-po_item TO lt_po_items.
APPEND ls_po_itemx TO lt_po_itemsx.
* Get X-structures for PO conditions
IF NOT curr_line-po_conditions IS INITIAL.
LOOP AT curr_line-po_conditions INTO ls_po_condition.
CLEAR ls_po_conditionx.
ls_po_conditionx-itm_number = ls_po_condition-itm_number.
PERFORM fill_x_structure_2 USING ls_po_condition 3 0
CHANGING ls_po_conditionx.
APPEND ls_po_conditionx TO lt_po_conditionx.
ENDLOOP.
ENDIF.
* Get header and item texts
APPEND curr_line-po_header_text TO lt_po_header_texts.
APPEND curr_line-po_item_text TO lt_po_item_texts.
* Execute BAPI_PO_CREATE1
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = curr_line-po_header
poheaderx = ls_po_headerx
testrun = l_testrun
no_price_from_po = c_checked
IMPORTING
exppurchaseorder = curr_line-po_number_return
TABLES
return = return_tab
poitem = lt_po_items
poitemx = lt_po_itemsx
pocond = curr_line-po_conditions
pocondx = lt_po_conditionx
extensionin = lt_bapiparex
potextheader = lt_po_header_texts
potextitem = lt_po_item_texts
EXCEPTIONS
error_message = 1.
IF sy-subrc = 1.
IF NOT sy-msgid IS INITIAL
AND NOT sy-msgty IS INITIAL
AND NOT sy-msgno IS INITIAL.
PERFORM util_add_msg USING sy-msgty sy-msgid sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 CHANGING return_tab[].
ENDIF.
ENDIF.
ENDFUNCTION. -
BAPI_PO_CREATE1 ECC error message ME045
Hi,
I'm creating a Purchase Order via BAPI_PO_CREATE1 but in tb_return I have always an error message (ME045): "ME045 G/L account XXXXXX cannot be used".
I try to do the same purchase order with same data throught t-code ME21N and it's possibile save PO because there aren't errors
I see abap source of BAPI and error happens in this section:
Include: LMEXFF0
Form: feldauswahl_fehler
Code:
SELECT SINGLE * FROM tmodp WHERE spras = sy-langu
AND fauna = 'SKB1-FAUS1'
AND modif = tmodp-modif.
IF sy-subrc EQ 0.
MESSAGE e045 WITH skb1-saknr t162k-knttp tmodp-ftext.
ELSE.
MESSAGE e045 WITH skb1-saknr t162k-knttp tmodp-modif.
ENDIF.
Thanks for helpTry switch E:ME045 - G/L account & cannot be used (please correct) to warning in the Backend using /OME0 (note 815849, )
Maybe that field group settings for additional accounting in the backend ta FS02 - G/L account master, OME9 - AccAssCat
send by SRM PO are not 'Opt.Entry', but 'Display' or 'Hidden'. Check this also. -
Non supported SQL92 token at position: 887: Message -regarding javamail api
I executed a procedure in java for sending mail.
But ended in exception which is shown below.
" 17034 : null : java.sql.SQLException: Non supported SQL92 token at position: 887: Message
java.sql.SQLException: Non supported SQL92 token at position: 887: Message
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.ja "
how to add more api's in Odi.
is it the jar files to store in ODI\jre\lib directory .
I did it but again exception .
plz reply a suggestion,
thanks in advance
sanalI Think U need to set the path of jar files in classpath Enviroment variable
-
BAPI_PO_CREATE1 u2013 Message SE 518
Hi,
We are using the BAPI, BAPI_PO_CREATE1 to create Purchase Orders Programmatically.
We create a Purchase Order and use an offer as draft. The inquiry (offer) was generated from a Purchase Requisition with 17 positions, but our Purchase Offer contains 18 positions. The Purchase Requisition has for all 17 positions fixed account assignments.
When we would create the Purchase Order, we received the following error:
No account assignment exists for service line 180.
We have applied the following note in our ERP 6.0 767284, but the problem still exits.
We fill the following structures:
POHEADER-COMP_CODE = u20181701u2019
POHEADERX-COMP_CODE = u2018Xu2019
POHEADER-DOC_TYPE = u2018NBu2019
POHEADERX-DOC_TYPE = u2018Xu2019
POHEADER-CREAT_DATE = u201928.05.2008u2019
POHEADERX-CREAT_DATE = u2018Xu2019
POHEADER-CREATED_BY = u2018TESTUSERu2019
POHEADERX-CREATED_BY = u2018Xu2019
POHEADER-ITEM_INTVL = u201800010u2019
POHEADERX-ITEM_INTVL = u2018Xu2019
POHEADER-VENDOR = u2018100u2019
POHEADERX-VENDOR = u2018Xu2019
POHEADER-LANGU = u2018DEu2019
POHEADERX-LANGU = u2018Xu2019
POHEADER-PURCH_ORG = u20181701u2019
POHEADERX-PURCH_ORG = u2018Xu2019
POHEADER-PUR_GROUP = u2018001u2019
POHEADERX-PUR_GROUP = u2018Xu2019
POHEADER-SUBITEMINT = u201800001u2019
POHEADERX-SUBITEMINT = u2018Xu2019
POITEM-PO_ITEM = u201800010u2019
POITEM_PO_ITEMX = u201800010u2019
POITEMX-PO_ITEM = u2018Xu2019
POITEM-SHORT_TEXT = u2018SERVICEu2019
POITEMX-SHORT_TEXT = u2018Xu2019
POITEM-PLANT = u20181701u2019
POITEMX-PLANT = u2018Xu2019
POITEM-MATL_GROUP = u201825000000u2019
POITEMX-MATL_GROUP = u2018Xu2019
POITEM-QUANTITY = u20181u2019
POITEMX-QUANTITY = u2018Xu2019
POITEM-PO_UNIT = u2018LEu2019
POITEMX-PO_UNIT = u2018Xu2019
POITEM-NET_PRICE = u20185000,00u2019
POITEMX-NET_PRICE = u2018Xu2019
POITEM-TAX_CODE = u2018VBu2019
POITEMX-TAX_CODE = u2018X
POITEM-ITEM_CAT = u2018Du2019
POITEMX-ITEM_CAT = u2018Xu2019
POITEM-ACCTASSCAT = u2018Fu2019
POITEMX-ACCTASSCAT = u2018Xu2019
POITEM-PART_INV = u20182u2019
POITEMX-PART_INV = u2018Xu2019
POITEM-GR_IND = u2018Xu2019
POITEMX-GR_IND = u2018Xu2019
POITEM-GR_NON_VAL = u2018Xu2019
POITEMX-GR_NON_VAL = u2018Xu2019
POITEM-IR_IND = u2018Xu2019
POITEMX-IR_IND = u2018Xu2019
POITEM-GR_BASEDIV = u2018Xu2019
POITEMX-GR_BASEDIV = u2018Xu2019
POITEM-ERS = u2018Xu2019
POITEMX-ERS = u2018Xu2019
POITEM-RFQ_NO = u20186000000757u2019
POITEMX-RFQ_NO = u2018Xu2019
POITEM-RFQ_ITEM = u201800010u2019
POITEMX-RFQ_ITEM = u2018Xu2019
POITEM-PERIOD_IND_EXPIRATION_DATE = u2018Tu2019
POITEMX-PERIOD_IND_EXPIRATION_DATE = u2018Xu2019
POACCOUNT- PO_ITEM = u201800010u2019
POACCOUNTX- PO_ITEM = u2018Xu2019
POACCOUNT- SERIAL_NO = u201801u2019
POACCOUNTX- SERIAL_NO = u2018Xu2019
POACCOUNT- CREAT_DATE = u201928.05.2008u2019
POACCOUNTX- CREAT_DATE = u2018Xu2019
POACCOUNT- QUANTITY = u20181,000u2019
POACCOUNTX- QUANTITY = u2018Xu2019
POACCOUNT- GL_ACCOUNT = u201869800000u2019
POACCOUNTX- GL_ACCOUNT = u2018Xu2019
POACCOUNT- ORDERID = u2018817000665u2019
POACCOUNTX- ORDERID = u2018Xu2019
POACCOUNT- CO_AREA = u20181701u2019
POACCOUNTX- CO_AREA = u2018Xu2019
POACCOUNT- PROFIT_CTR = u2018INVESTu2019
POACCOUNTX-PROFIT_CTR = u2018Xu2019
POSERVICES-PCKG_NO = u20180000000001u2019
POSERVICES- LINE_NO = u20180000000001u2019
POSERVICES-OUTL_IND = u2018Xu2019
POSERVICES-SUBPCKG_NO = u20180000000002u2019
POSERVICES-SHORT_TEXT = u2018SERVICEu2019
POSERVICES-PCKG_NO = u20180000000002u2019
POSERVICES-LINE_NO = u20180000000001u2019
POSERVICES-BASE_UOM = u2018STu2019
POSERVICES-UOM_ISO = u2018PCEu2019
POSERVICES-OVF_UNLIM = u2018Xu2019
POSERVICES-PRICE_UNIT = u20181u2019
POSERVICES-GR_PRICE = u20185000u2019
POSERVICES-SHORT_TEXT = u2018SERVICEu2019
POSERVICES-DISTRIB = u20181u2019
POSERVICES- MATL_GROUP = u201825000000u2019
Can anyone help?Hello
Can you provide the Account assignment used for creating the PO/Contract using BAPI_PO_CREATE1 .
Plese check the following configuration node for the account assignment used.
SPRO --> MM --> Purchaisng --> Accpunt assignment --> Maintai account assignment categories
Select your account assignment actegory and click on details - where you can see the indicators for Distribution and Partial invoice. These indicators to be set for mutliple account assignemnt.
Reagrds
Ramakrishna -
Call bapi bapi_po_create1 will get dump message SYNTAX_ERROR
hi
when i call bapi will get SYNTAX_ERROR dump!
i have check in bapi_po_create1 report i found have add support node ( get new function:ZBAPI_PO_CHANGE--> this note will active in other function) and in this function i will found one perform process_po parameter not eq the definition FORM, so will get SYNTAX_ERROR!
in call function report BAPI_PO_CREATE1 set command :
SET EXTENDED CHECK OFF!
BUT the dump will happend again!
how to inactive SYNTAX check !
thank you very much!Hi thomas,
Thanks.
The info you wanted is as follows:
Short text
Exception condition "FAILURE" raised.
What happened:
The current ABAP/4 program encountered an unexpected
situation.
Error analysis :
A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised the
exception
condition "FAILURE".
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.
Trigger Location of Runtime Error:
Program Name CL_HANDLE_MANAGER_MM==========CP
Include CL_HANDLE_MANAGER_MM==========CM005
Row 13
Module type (METHOD)
Module Name GET
Line SourceCde
1
2 METHOD get.
3
4 IF my_manager is initial.
5 CALL METHOD get_manager.
6 ENDIF.
7
8 CALL METHOD my_manager->search EXPORTING im_id = im_id
9 IMPORTING ex_handle = ex_handle
10 EXCEPTIONS failure = 01.
11
12 IF sy-subrc ne 0.
>>>>> RAISE failure.
14 ENDIF.
15
16 ENDMETHOD. -
Error in : Purchase order Creation using BAPI_PO_CREATE1
Hell guys,
I am trying to create a PO using a BAPI - BAPI_PO_CREATE1
I want the new PO to have all the characteristics of an existing PO. whose PO # is stored in wa_order_split_create-docnr and for the new PO, i want the quantity from wa_order_split_create-qty_acptd and the delivery data to be wa_order_split_create-dly_date. But this process and code below gives a short dump in the std FM - MEPO_DOC_ITEM_GET . It raises an exception of failure. I am trying to create many new PO's in the loop below. If there is just one row, sometimes, it creates the PO even with the exception failure ( which is pretty weird).
Am i making any mistake while filling the header or item or schedule lines for the BAPI_PO_CREATE1 ? Any tips or clues why I am getting a dump ?
DATA: i_insert,
i_create_order,
i_cycle TYPE cycle,
i_qty_acpt TYPE dzmeng,
i_dly_date TYPE vbak-vdatu,
i_item TYPE roijnomiio .
DATA: i_order TYPE symsgv,
i_return TYPE swd_return .
DATA: i_vbak TYPE vbak,
i_vbap TYPE vbap,
i_ekko TYPE ekko,
i_ekpo TYPE ekpo,
i_bsoh TYPE bapisdhd1,
i_bsohx TYPE bapisdhd1x,
i_bpoh TYPE bapimepoheader,
i_bpohx TYPE bapimepoheaderx,
i_vbeln TYPE vbeln_va,
i_posnr TYPE posnr_va,
i_contr TYPE vbeln_va,
i_conit TYPE posnr_va,
i_ebeln TYPE ebeln,
i_ebelp TYPE ebelp,
i_pargr TYPE pargr,
i_thead TYPE thead,
i_line TYPE tline,
i_note TYPE txw_note,
i_new_vbeln TYPE vbeln_va,
i_new_ebeln TYPE ebeln,
i_wa_bsoi TYPE bapisditm,
i_wa_bsoix TYPE bapisditmx,
i_wa_bsop TYPE bapiparnr,
i_wa_bsos TYPE bapischdl,
i_wa_bsosx TYPE bapischdlx,
i_wa_vbpa TYPE vbpa,
i_wa_vbkd TYPE vbkd,
i_wa_bpoi TYPE bapimepoitem,
i_wa_bpoix TYPE bapimepoitemx,
i_wa_bpos TYPE bapimeposchedule,
i_wa_bposx TYPE bapimeposchedulx,
i_wa_bpop TYPE bapiekkop,
i_wa_ekpa TYPE ekpa,
i_message TYPE char72,
i_bapiretn TYPE bapiret2,
i_bapiret2 TYPE TABLE OF bapiret2 INITIAL SIZE 1,
i_vbpa TYPE TABLE OF vbpa INITIAL SIZE 1,
i_vbkd TYPE TABLE OF vbkd INITIAL SIZE 1,
i_ekpa TYPE TABLE OF ekpa INITIAL SIZE 1,
i_bsoi TYPE TABLE OF bapisditm INITIAL SIZE 1,
i_bsoix TYPE TABLE OF bapisditmx INITIAL SIZE 1,
i_bsos TYPE TABLE OF bapischdl INITIAL SIZE 1,
i_bsosx TYPE TABLE OF bapischdlx INITIAL SIZE 1,
i_bsop TYPE TABLE OF bapiparnr INITIAL SIZE 1,
i_bpoi TYPE TABLE OF bapimepoitem INITIAL SIZE 1,
i_bpoix TYPE TABLE OF bapimepoitemx INITIAL SIZE 1,
i_bpos TYPE TABLE OF bapimeposchedule INITIAL SIZE 1,
i_bposx TYPE TABLE OF bapimeposchedulx INITIAL SIZE 1,
i_bpop TYPE TABLE OF bapiekkop INITIAL SIZE 1,
i_text_tab TYPE TABLE OF tline INITIAL SIZE 1,
i_line_tab TYPE TABLE OF tline INITIAL SIZE 1,
i_txw_note TYPE TABLE OF txw_note INITIAL SIZE 1,
i_oij_el_doc_mot TYPE oij_el_doc_mot .
CONSTANTS: c_char_c VALUE 'C',
c_char_e VALUE 'E',
c_char_p VALUE 'P',
c_char_g VALUE 'G',
c_char_i VALUE 'I',
c_char_s VALUE 'S',
c_char_x VALUE 'X',
c_zsw(3) VALUE 'ZSW',
c_nomit_stat(4) VALUE 'ZDNY' .
DATA : lv_nomtk_split TYPE oij_nomtk.
DATA : i_order_split_create TYPE TABLE OF zsws_order_split.
DATA : wa_order_split_create TYPE zsws_order_split.
LOOP AT i_order_split_create INTO wa_order_split_create.
IF NOT i_create_order IS INITIAL .
CLEAR: i_create_order .
MOVE: wa_order_split_create-docnr TO i_ebeln,
wa_order_split_create-docitm TO i_ebelp .
CALL FUNCTION 'ME_EKKO_SINGLE_READ'
EXPORTING
pi_ebeln = i_ebeln
IMPORTING
po_ekko = i_ekko
EXCEPTIONS
no_records_found = 1
OTHERS = 2.
IF sy-subrc <> 0 .
ENDIF .
* Fill PO Header
i_bpoh-comp_code = i_ekko-bukrs .
i_bpoh-doc_type = i_ekko-bsart .
i_bpoh-vendor = i_ekko-lifnr .
i_bpoh-langu = i_ekko-spras .
i_bpoh-pmnttrms = i_ekko-zterm .
i_bpoh-purch_org = i_ekko-ekorg .
i_bpoh-pur_group = i_ekko-ekgrp .
i_bpoh-currency = i_ekko-waers .
i_bpoh-agreement = i_ekko-konnr .
i_bpoh-incoterms1 = i_ekko-inco1 .
i_bpoh-incoterms2 = i_ekko-inco2 .
* Fill PO update indicator 'X'
i_bpohx-comp_code = c_char_x .
i_bpohx-doc_type = c_char_x .
i_bpohx-vendor = c_char_x .
i_bpohx-langu = c_char_x .
i_bpohx-pmnttrms = c_char_x .
i_bpohx-purch_org = c_char_x .
i_bpohx-pur_group = c_char_x .
i_bpohx-currency = c_char_x .
i_bpohx-agreement = c_char_x .
i_bpohx-incoterms1 = c_char_x .
i_bpohx-incoterms2 = c_char_x .
CALL FUNCTION 'ME_EKPO_SINGLE_READ'
EXPORTING
pi_ebeln = i_ebeln
pi_ebelp = i_ebelp
IMPORTING
po_ekpo = i_ekpo
EXCEPTIONS
no_records_found = 1
OTHERS = 2.
IF sy-subrc <> 0 .
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF .
* Fill PO Item
i_wa_bpoi-po_item = i_ekpo-ebelp .
i_wa_bpoi-material = i_ekpo-matnr .
i_wa_bpoi-plant = i_ekpo-werks .
i_wa_bpoi-stge_loc = i_ekpo-lgort .
i_wa_bpoi-quantity = wa_order_split_create-qty_acptd .
i_wa_bpoi-po_unit = i_ekpo-meins .
i_wa_bpoi-tax_code = i_ekpo-mwskz .
i_wa_bpoi-val_type = i_ekpo-bwtar .
i_wa_bpoi-item_cat = i_ekpo-pstyp .
i_wa_bpoi-acctasscat = i_ekpo-knttp .
i_wa_bpoi-agreement = i_ekpo-konnr .
i_wa_bpoi-agmt_item = i_ekpo-ktpnr .
APPEND i_wa_bpoi TO i_bpoi .
* Fill PO Item update indicator 'X'
i_wa_bpoix-po_item = i_ekpo-ebelp .
i_wa_bpoix-po_itemx = c_char_x .
i_wa_bpoix-material = c_char_x .
i_wa_bpoix-plant = c_char_x .
i_wa_bpoix-stge_loc = c_char_x .
i_wa_bpoix-quantity = c_char_x .
i_wa_bpoix-po_unit = c_char_x .
i_wa_bpoix-tax_code = c_char_x .
i_wa_bpoix-val_type = c_char_x .
i_wa_bpoix-item_cat = c_char_x .
i_wa_bpoix-acctasscat = c_char_x .
i_wa_bpoix-agreement = c_char_x .
i_wa_bpoix-agmt_item = c_char_x .
APPEND i_wa_bpoix TO i_bpoix .
* Fill PO Item Schedule
i_wa_bpos-po_item = i_ekpo-ebelp .
i_wa_bpos-sched_line = '0001' .
i_wa_bpos-delivery_date = wa_order_split_create-dly_date .
i_wa_bpos-quantity = wa_order_split_create-qty_acptd .
APPEND i_wa_bpos TO i_bpos .
* Fill PO Item schedule update indicator 'X'
i_wa_bposx-po_item = i_ekpo-ebelp .
i_wa_bposx-sched_line = '0001' .
i_wa_bposx-delivery_date = c_char_x .
i_wa_bposx-quantity = c_char_x .
APPEND i_wa_bposx TO i_bposx .
CLEAR: i_pargr .
SELECT SINGLE pargr
INTO i_pargr
FROM t161
WHERE bstyp = i_ekko-bstyp
AND bsart = i_ekko-bsart .
CLEAR i_ekpa[].
CALL FUNCTION 'MM_READ_PARTNERS'
EXPORTING
application = c_char_p
ebeln = i_ebeln
bstyp = i_ekko-bstyp
pargr = i_pargr
TABLES
x_ekpa = i_ekpa[].
LOOP AT i_ekpa INTO i_wa_ekpa .
i_wa_bpop-partnerdesc = i_wa_ekpa-parvw .
i_wa_bpop-langu = sy-langu .
IF NOT i_wa_ekpa-lifn2 IS INITIAL .
i_wa_bpop-buspartno = i_wa_ekpa-lifn2 .
ELSE .
i_wa_bpop-buspartno = i_wa_ekpa-parnr .
ENDIF .
APPEND i_wa_bpop TO i_bpop .
CLEAR: i_wa_ekpa, i_wa_bpop .
ENDLOOP .
CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = i_bpoh
poheaderx = i_bpohx
IMPORTING
exppurchaseorder = i_new_ebeln
TABLES
return = i_bapiret2
poitem = i_bpoi[]
poitemx = i_bpoix[]
poschedule = i_bpos[]
poschedulex = i_bposx[].
i_order = i_new_ebeln .
SHIFT i_order LEFT DELETING LEADING '0' .
i_return-errortype = c_char_i .
i_return-workarea = c_zsw .
i_return-message = '064' .
i_return-variable1 = i_order .
loop at i_bapiret2 into i_bapiretn where type ca 'EAX' .
append i_bapiretn to t_bapi_return .
endloop .
if t_bapi_return[] is initial .
i_create_order = c_char_x .
CALL FUNCTION 'SWD_POPUP_MESSAGE_SEND'
EXPORTING
act_return = i_return. "Popup with new PO no.
ENDCASE . " Docind
ENDIF .
ENDLOOP.Hi Shareen,
I think in the following parts of the code,
CALL FUNCTION 'MM_READ_PARTNERS'
EXPORTING
application = c_char_p
ebeln = i_ebeln
bstyp = i_ekko-bstyp
pargr = i_pargr
TABLES
x_ekpa = i_ekpa[].
Error in : Purchase order Creation using BAPI_PO_CREATE1
Posted: Mar 20, 2006 7:39 PM Reply E-mail this post
Hell guys,
I am trying to create a PO using a BAPI - BAPI_PO_CREATE1
I want the new PO to have all the characteristics of an existing PO. whose PO # is stored in wa_order_split_create-docnr and for the new PO, i want the quantity from wa_order_split_create-qty_acptd and the delivery data to be wa_order_split_create-dly_date. But this process and code below gives a short dump in the std FM - MEPO_DOC_ITEM_GET . It raises an exception of failure. I am trying to create many new PO's in the loop below. If there is just one row, sometimes, it creates the PO even with the exception failure ( which is pretty weird).
Am i making any mistake while filling the header or item or schedule lines for the BAPI_PO_CREATE1 ? Any tips or clues why I am getting a dump ?
DATA: i_insert,
i_create_order,
i_cycle TYPE cycle,
i_qty_acpt TYPE dzmeng,
i_dly_date TYPE vbak-vdatu,
i_item TYPE roijnomiio .
DATA: i_order TYPE symsgv,
i_return TYPE swd_return .
DATA: i_vbak TYPE vbak,
i_vbap TYPE vbap,
i_ekko TYPE ekko,
i_ekpo TYPE ekpo,
i_bsoh TYPE bapisdhd1,
i_bsohx TYPE bapisdhd1x,
i_bpoh TYPE bapimepoheader,
i_bpohx TYPE bapimepoheaderx,
i_vbeln TYPE vbeln_va,
i_posnr TYPE posnr_va,
i_contr TYPE vbeln_va,
i_conit TYPE posnr_va,
i_ebeln TYPE ebeln,
i_ebelp TYPE ebelp,
i_pargr TYPE pargr,
i_thead TYPE thead,
i_line TYPE tline,
i_note TYPE txw_note,
i_new_vbeln TYPE vbeln_va,
i_new_ebeln TYPE ebeln,
i_wa_bsoi TYPE bapisditm,
i_wa_bsoix TYPE bapisditmx,
i_wa_bsop TYPE bapiparnr,
i_wa_bsos TYPE bapischdl,
i_wa_bsosx TYPE bapischdlx,
i_wa_vbpa TYPE vbpa,
i_wa_vbkd TYPE vbkd,
i_wa_bpoi TYPE bapimepoitem,
i_wa_bpoix TYPE bapimepoitemx,
i_wa_bpos TYPE bapimeposchedule,
i_wa_bposx TYPE bapimeposchedulx,
i_wa_bpop TYPE bapiekkop,
i_wa_ekpa TYPE ekpa,
i_message TYPE char72,
i_bapiretn TYPE bapiret2,
i_bapiret2 TYPE TABLE OF bapiret2 INITIAL SIZE 1,
i_vbpa TYPE TABLE OF vbpa INITIAL SIZE 1,
i_vbkd TYPE TABLE OF vbkd INITIAL SIZE 1,
i_ekpa TYPE TABLE OF ekpa INITIAL SIZE 1,
i_bsoi TYPE TABLE OF bapisditm INITIAL SIZE 1,
i_bsoix TYPE TABLE OF bapisditmx INITIAL SIZE 1,
i_bsos TYPE TABLE OF bapischdl INITIAL SIZE 1,
i_bsosx TYPE TABLE OF bapischdlx INITIAL SIZE 1,
i_bsop TYPE TABLE OF bapiparnr INITIAL SIZE 1,
i_bpoi TYPE TABLE OF bapimepoitem INITIAL SIZE 1,
i_bpoix TYPE TABLE OF bapimepoitemx INITIAL SIZE 1,
i_bpos TYPE TABLE OF bapimeposchedule INITIAL SIZE 1,
i_bposx TYPE TABLE OF bapimeposchedulx INITIAL SIZE 1,
i_bpop TYPE TABLE OF bapiekkop INITIAL SIZE 1,
i_text_tab TYPE TABLE OF tline INITIAL SIZE 1,
i_line_tab TYPE TABLE OF tline INITIAL SIZE 1,
i_txw_note TYPE TABLE OF txw_note INITIAL SIZE 1,
i_oij_el_doc_mot TYPE oij_el_doc_mot .
CONSTANTS: c_char_c VALUE 'C',
c_char_e VALUE 'E',
c_char_p VALUE 'P',
c_char_g VALUE 'G',
c_char_i VALUE 'I',
c_char_s VALUE 'S',
c_char_x VALUE 'X',
c_zsw(3) VALUE 'ZSW',
c_nomit_stat(4) VALUE 'ZDNY' .
DATA : lv_nomtk_split TYPE oij_nomtk.
DATA : i_order_split_create TYPE TABLE OF zsws_order_split.
DATA : wa_order_split_create TYPE zsws_order_split.
LOOP AT i_order_split_create INTO wa_order_split_create.
IF NOT i_create_order IS INITIAL .
CLEAR: i_create_order .
MOVE: wa_order_split_create-docnr TO i_ebeln,
wa_order_split_create-docitm TO i_ebelp .
CALL FUNCTION 'ME_EKKO_SINGLE_READ'
EXPORTING
pi_ebeln = i_ebeln
IMPORTING
po_ekko = i_ekko
EXCEPTIONS
no_records_found = 1
OTHERS = 2.
IF sy-subrc <> 0 .
ENDIF .
Fill PO Header
i_bpoh-comp_code = i_ekko-bukrs .
i_bpoh-doc_type = i_ekko-bsart .
i_bpoh-vendor = i_ekko-lifnr .
i_bpoh-langu = i_ekko-spras .
i_bpoh-pmnttrms = i_ekko-zterm .
i_bpoh-purch_org = i_ekko-ekorg .
i_bpoh-pur_group = i_ekko-ekgrp .
i_bpoh-currency = i_ekko-waers .
i_bpoh-agreement = i_ekko-konnr .
i_bpoh-incoterms1 = i_ekko-inco1 .
i_bpoh-incoterms2 = i_ekko-inco2 .
Fill PO update indicator 'X'
i_bpohx-comp_code = c_char_x .
i_bpohx-doc_type = c_char_x .
i_bpohx-vendor = c_char_x .
i_bpohx-langu = c_char_x .
i_bpohx-pmnttrms = c_char_x .
i_bpohx-purch_org = c_char_x .
i_bpohx-pur_group = c_char_x .
i_bpohx-currency = c_char_x .
i_bpohx-agreement = c_char_x .
i_bpohx-incoterms1 = c_char_x .
i_bpohx-incoterms2 = c_char_x .
CALL FUNCTION 'ME_EKPO_SINGLE_READ'
EXPORTING
pi_ebeln = i_ebeln
pi_ebelp = i_ebelp
IMPORTING
po_ekpo = i_ekpo
EXCEPTIONS
no_records_found = 1
OTHERS = 2.
IF sy-subrc <> 0 .
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF .
Fill PO Item
i_wa_bpoi-po_item = i_ekpo-ebelp .
i_wa_bpoi-material = i_ekpo-matnr .
i_wa_bpoi-plant = i_ekpo-werks .
i_wa_bpoi-stge_loc = i_ekpo-lgort .
i_wa_bpoi-quantity = wa_order_split_create-qty_acptd .
i_wa_bpoi-po_unit = i_ekpo-meins .
i_wa_bpoi-tax_code = i_ekpo-mwskz .
i_wa_bpoi-val_type = i_ekpo-bwtar .
i_wa_bpoi-item_cat = i_ekpo-pstyp .
i_wa_bpoi-acctasscat = i_ekpo-knttp .
i_wa_bpoi-agreement = i_ekpo-konnr .
i_wa_bpoi-agmt_item = i_ekpo-ktpnr .
APPEND i_wa_bpoi TO i_bpoi .
Fill PO Item update indicator 'X'
i_wa_bpoix-po_item = i_ekpo-ebelp .
i_wa_bpoix-po_itemx = c_char_x .
i_wa_bpoix-material = c_char_x .
i_wa_bpoix-plant = c_char_x .
i_wa_bpoix-stge_loc = c_char_x .
i_wa_bpoix-quantity = c_char_x .
i_wa_bpoix-po_unit = c_char_x .
i_wa_bpoix-tax_code = c_char_x .
i_wa_bpoix-val_type = c_char_x .
i_wa_bpoix-item_cat = c_char_x .
i_wa_bpoix-acctasscat = c_char_x .
i_wa_bpoix-agreement = c_char_x .
i_wa_bpoix-agmt_item = c_char_x .
APPEND i_wa_bpoix TO i_bpoix .
Fill PO Item Schedule
i_wa_bpos-po_item = i_ekpo-ebelp .
i_wa_bpos-sched_line = '0001' .
i_wa_bpos-delivery_date = wa_order_split_create-dly_date .
i_wa_bpos-quantity = wa_order_split_create-qty_acptd .
APPEND i_wa_bpos TO i_bpos .
Fill PO Item schedule update indicator 'X'
i_wa_bposx-po_item = i_ekpo-ebelp .
i_wa_bposx-sched_line = '0001' .
i_wa_bposx-delivery_date = c_char_x .
i_wa_bposx-quantity = c_char_x .
APPEND i_wa_bposx TO i_bposx .
CLEAR: i_pargr .
SELECT SINGLE pargr
INTO i_pargr
FROM t161
WHERE bstyp = i_ekko-bstyp
AND bsart = i_ekko-bsart .
CLEAR i_ekpa[].
CALL FUNCTION 'MM_READ_PARTNERS'
EXPORTING
application = c_char_p
ebeln = i_ebeln
bstyp = i_ekko-bstyp
pargr = i_pargr
TABLES
x_ekpa = <b>i_ekpa[].</b>
LOOP AT i_ekpa INTO i_wa_ekpa .
i_wa_bpop-partnerdesc = i_wa_ekpa-parvw .
i_wa_bpop-langu = sy-langu .
IF NOT i_wa_ekpa-lifn2 IS INITIAL .
i_wa_bpop-buspartno = i_wa_ekpa-lifn2 .
ELSE .
i_wa_bpop-buspartno = i_wa_ekpa-parnr .
ENDIF .
APPEND i_wa_bpop TO i_bpop .
CLEAR: i_wa_ekpa, i_wa_bpop .
ENDLOOP .
CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = i_bpoh
poheaderx = i_bpohx
IMPORTING
exppurchaseorder = i_new_ebeln
TABLES
return = i_bapiret2
<b> poitem = i_bpoi[]
poitemx = i_bpoix[]
poschedule = i_bpos[]
poschedulex = i_bposx[].</b>
it should be only i_bpoi, i_bpoix, i_bpos, i_bposx but not i_bpoi[], i_bpoix[], i_bpos[], i_bposx[].
CHange the code as follows:
DATA: i_insert,
i_create_order,
i_cycle TYPE cycle,
i_qty_acpt TYPE dzmeng,
i_dly_date TYPE vbak-vdatu,
i_item TYPE roijnomiio .
DATA: i_order TYPE symsgv,
i_return TYPE swd_return .
DATA: i_vbak TYPE vbak,
i_vbap TYPE vbap,
i_ekko TYPE ekko,
i_ekpo TYPE ekpo,
i_bsoh TYPE bapisdhd1,
i_bsohx TYPE bapisdhd1x,
i_bpoh TYPE bapimepoheader,
i_bpohx TYPE bapimepoheaderx,
i_vbeln TYPE vbeln_va,
i_posnr TYPE posnr_va,
i_contr TYPE vbeln_va,
i_conit TYPE posnr_va,
i_ebeln TYPE ebeln,
i_ebelp TYPE ebelp,
i_pargr TYPE pargr,
i_thead TYPE thead,
i_line TYPE tline,
i_note TYPE txw_note,
i_new_vbeln TYPE vbeln_va,
i_new_ebeln TYPE ebeln,
i_wa_bsoi TYPE bapisditm,
i_wa_bsoix TYPE bapisditmx,
i_wa_bsop TYPE bapiparnr,
i_wa_bsos TYPE bapischdl,
i_wa_bsosx TYPE bapischdlx,
i_wa_vbpa TYPE vbpa,
i_wa_vbkd TYPE vbkd,
i_wa_bpoi TYPE bapimepoitem,
i_wa_bpoix TYPE bapimepoitemx,
i_wa_bpos TYPE bapimeposchedule,
i_wa_bposx TYPE bapimeposchedulx,
i_wa_bpop TYPE bapiekkop,
i_wa_ekpa TYPE ekpa,
i_message TYPE char72,
i_bapiretn TYPE bapiret2,
i_bapiret2 TYPE TABLE OF bapiret2 INITIAL SIZE 1,
i_vbpa TYPE TABLE OF vbpa INITIAL SIZE 1,
i_vbkd TYPE TABLE OF vbkd INITIAL SIZE 1,
i_ekpa TYPE TABLE OF ekpa INITIAL SIZE 1,
i_bsoi TYPE TABLE OF bapisditm INITIAL SIZE 1,
i_bsoix TYPE TABLE OF bapisditmx INITIAL SIZE 1,
i_bsos TYPE TABLE OF bapischdl INITIAL SIZE 1,
i_bsosx TYPE TABLE OF bapischdlx INITIAL SIZE 1,
i_bsop TYPE TABLE OF bapiparnr INITIAL SIZE 1,
i_bpoi TYPE TABLE OF bapimepoitem INITIAL SIZE 1,
i_bpoix TYPE TABLE OF bapimepoitemx INITIAL SIZE 1,
i_bpos TYPE TABLE OF bapimeposchedule INITIAL SIZE 1,
i_bposx TYPE TABLE OF bapimeposchedulx INITIAL SIZE 1,
i_bpop TYPE TABLE OF bapiekkop INITIAL SIZE 1,
i_text_tab TYPE TABLE OF tline INITIAL SIZE 1,
i_line_tab TYPE TABLE OF tline INITIAL SIZE 1,
i_txw_note TYPE TABLE OF txw_note INITIAL SIZE 1,
i_oij_el_doc_mot TYPE oij_el_doc_mot .
CONSTANTS: c_char_c VALUE 'C',
c_char_e VALUE 'E',
c_char_p VALUE 'P',
c_char_g VALUE 'G',
c_char_i VALUE 'I',
c_char_s VALUE 'S',
c_char_x VALUE 'X',
c_zsw(3) VALUE 'ZSW',
c_nomit_stat(4) VALUE 'ZDNY' .
DATA : lv_nomtk_split TYPE oij_nomtk.
DATA : i_order_split_create TYPE TABLE OF zsws_order_split.
DATA : wa_order_split_create TYPE zsws_order_split.
LOOP AT i_order_split_create INTO wa_order_split_create.
IF NOT i_create_order IS INITIAL .
CLEAR: i_create_order .
MOVE: wa_order_split_create-docnr TO i_ebeln,
wa_order_split_create-docitm TO i_ebelp .
CALL FUNCTION 'ME_EKKO_SINGLE_READ'
EXPORTING
pi_ebeln = i_ebeln
IMPORTING
po_ekko = i_ekko
EXCEPTIONS
no_records_found = 1
OTHERS = 2.
IF sy-subrc <> 0 .
ENDIF .
Fill PO Header
i_bpoh-comp_code = i_ekko-bukrs .
i_bpoh-doc_type = i_ekko-bsart .
i_bpoh-vendor = i_ekko-lifnr .
i_bpoh-langu = i_ekko-spras .
i_bpoh-pmnttrms = i_ekko-zterm .
i_bpoh-purch_org = i_ekko-ekorg .
i_bpoh-pur_group = i_ekko-ekgrp .
i_bpoh-currency = i_ekko-waers .
i_bpoh-agreement = i_ekko-konnr .
i_bpoh-incoterms1 = i_ekko-inco1 .
i_bpoh-incoterms2 = i_ekko-inco2 .
Fill PO update indicator 'X'
i_bpohx-comp_code = c_char_x .
i_bpohx-doc_type = c_char_x .
i_bpohx-vendor = c_char_x .
i_bpohx-langu = c_char_x .
i_bpohx-pmnttrms = c_char_x .
i_bpohx-purch_org = c_char_x .
i_bpohx-pur_group = c_char_x .
i_bpohx-currency = c_char_x .
i_bpohx-agreement = c_char_x .
i_bpohx-incoterms1 = c_char_x .
i_bpohx-incoterms2 = c_char_x .
CALL FUNCTION 'ME_EKPO_SINGLE_READ'
EXPORTING
pi_ebeln = i_ebeln
pi_ebelp = i_ebelp
IMPORTING
po_ekpo = i_ekpo
EXCEPTIONS
no_records_found = 1
OTHERS = 2.
IF sy-subrc <> 0 .
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF .
Fill PO Item
i_wa_bpoi-po_item = i_ekpo-ebelp .
i_wa_bpoi-material = i_ekpo-matnr .
i_wa_bpoi-plant = i_ekpo-werks .
i_wa_bpoi-stge_loc = i_ekpo-lgort .
i_wa_bpoi-quantity = wa_order_split_create-qty_acptd .
i_wa_bpoi-po_unit = i_ekpo-meins .
i_wa_bpoi-tax_code = i_ekpo-mwskz .
i_wa_bpoi-val_type = i_ekpo-bwtar .
i_wa_bpoi-item_cat = i_ekpo-pstyp .
i_wa_bpoi-acctasscat = i_ekpo-knttp .
i_wa_bpoi-agreement = i_ekpo-konnr .
i_wa_bpoi-agmt_item = i_ekpo-ktpnr .
APPEND i_wa_bpoi TO i_bpoi .
Fill PO Item update indicator 'X'
i_wa_bpoix-po_item = i_ekpo-ebelp .
i_wa_bpoix-po_itemx = c_char_x .
i_wa_bpoix-material = c_char_x .
i_wa_bpoix-plant = c_char_x .
i_wa_bpoix-stge_loc = c_char_x .
i_wa_bpoix-quantity = c_char_x .
i_wa_bpoix-po_unit = c_char_x .
i_wa_bpoix-tax_code = c_char_x .
i_wa_bpoix-val_type = c_char_x .
i_wa_bpoix-item_cat = c_char_x .
i_wa_bpoix-acctasscat = c_char_x .
i_wa_bpoix-agreement = c_char_x .
i_wa_bpoix-agmt_item = c_char_x .
APPEND i_wa_bpoix TO i_bpoix .
Fill PO Item Schedule
i_wa_bpos-po_item = i_ekpo-ebelp .
i_wa_bpos-sched_line = '0001' .
i_wa_bpos-delivery_date = wa_order_split_create-dly_date .
i_wa_bpos-quantity = wa_order_split_create-qty_acptd .
APPEND i_wa_bpos TO i_bpos .
Fill PO Item schedule update indicator 'X'
i_wa_bposx-po_item = i_ekpo-ebelp .
i_wa_bposx-sched_line = '0001' .
i_wa_bposx-delivery_date = c_char_x .
i_wa_bposx-quantity = c_char_x .
APPEND i_wa_bposx TO i_bposx .
CLEAR: i_pargr .
SELECT SINGLE pargr
INTO i_pargr
FROM t161
WHERE bstyp = i_ekko-bstyp
AND bsart = i_ekko-bsart .
CLEAR i_ekpa[].
CALL FUNCTION 'MM_READ_PARTNERS'
EXPORTING
application = c_char_p
ebeln = i_ebeln
bstyp = i_ekko-bstyp
pargr = i_pargr
TABLES
x_ekpa = i_ekpa.
LOOP AT i_ekpa INTO i_wa_ekpa .
i_wa_bpop-partnerdesc = i_wa_ekpa-parvw .
i_wa_bpop-langu = sy-langu .
IF NOT i_wa_ekpa-lifn2 IS INITIAL .
i_wa_bpop-buspartno = i_wa_ekpa-lifn2 .
ELSE .
i_wa_bpop-buspartno = i_wa_ekpa-parnr .
ENDIF .
APPEND i_wa_bpop TO i_bpop .
CLEAR: i_wa_ekpa, i_wa_bpop .
ENDLOOP .
CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = i_bpoh
poheaderx = i_bpohx
IMPORTING
exppurchaseorder = i_new_ebeln
TABLES
return = i_bapiret2
poitem = i_bpoi
poitemx = i_bpoix
poschedule = i_bpos
poschedulex = i_bposx.
i_order = i_new_ebeln .
SHIFT i_order LEFT DELETING LEADING '0' .
i_return-errortype = c_char_i .
i_return-workarea = c_zsw .
i_return-message = '064' .
i_return-variable1 = i_order .
loop at i_bapiret2 into i_bapiretn where type ca 'EAX' .
append i_bapiretn to t_bapi_return .
endloop .
if t_bapi_return[] is initial .
i_create_order = c_char_x .
CALL FUNCTION 'SWD_POPUP_MESSAGE_SEND'
EXPORTING
act_return = i_return. "Popup with new PO no.
ENDCASE . " Docind
ENDIF .
ENDLOOP. -
Hello Experts,
We are getting "Assemble failed" error message when we tried to assemble components. I have attached a CMS log file. You help and feedback is greatly appreciated.
David
Info:Starting Step Repository-export at 2008-10-08 05:34:02.0206 -4:00
Info:Component:alleghenyenergy/AE_IMPORTED_OBJECTS
Info:Version :JD1_XD1IR01_C.20081008093400
Info:1. PR is of type TCSSoftwareComponent
Info:the workspace will be read from XI
Info:OK : workspacedata added.
Info:Component:ivara.com/IVARA_EXP_ENTERPRISE
Info:Version :JD1_XD1IR01_C.20081008093401
Info:2. PR is of type TCSSoftwareComponent
Info:the workspace will be read from XI
Fatal Exception:com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: Exception received:
ClientServerException exception:Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
com.sap.aii.utilxi.misc.api.ResourceException: Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.checkSwcvExistence(InternalRepTransportServiceImpl.java:316)
at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.createSupportPackage(InternalRepTransportServiceImpl.java:283)
at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.createSupportPackage(TransportServiceImpl.java:362)
at com.sap.aii.ib.server.transport.impl.hmi.CmsHmiMethods.process(CmsHmiMethods.java:206)
at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl10.process(HmisLocalLocalObjectImpl10.java:144)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211)
at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
:communication error: Exception received:
ClientServerException exception:Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
com.sap.aii.utilxi.misc.api.ResourceException: Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.checkSwcvExistence(InternalRepTransportServiceImpl.java:316)
at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.createSupportPackage(InternalRepTransportServiceImpl.java:283)
at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.createSupportPackage(TransportServiceImpl.java:362)
at com.sap.aii.ib.server.transport.impl.hmi.CmsHmiMethods.process(CmsHmiMethods.java:206)
at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl10.process(HmisLocalLocalObjectImpl10.java:144)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211)
at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: Exception received:
ClientServerException exception:Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
com.sap.aii.utilxi.misc.api.ResourceException: Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.checkSwcvExistence(InternalRepTransportServiceImpl.java:316)
at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.createSupportPackage(InternalRepTransportServiceImpl.java:283)
at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.createSupportPackage(TransportServiceImpl.java:362)
at com.sap.aii.ib.server.transport.impl.hmi.CmsHmiMethods.process(CmsHmiMethods.java:206)
at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl10.process(HmisLocalLocalObjectImpl10.java:144)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211)
at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
at com.sap.cms.tcs.client.XICommunicator.readWorkspaceData(XICommunicator.java:228)
at com.sap.cms.tcs.core.RepositoryExportTask.processRepositoryExport(RepositoryExportTask.java:226)
at com.sap.cms.tcs.core.RepositoryExportTask.process(RepositoryExportTask.java:324)
at com.sap.cms.tcs.process.ProcessStep.processStep(ProcessStep.java:77)
at com.sap.cms.tcs.process.ProcessStarter.process(ProcessStarter.java:197)
at com.sap.cms.tcs.core.TCSManager.assemblePropagationRequests(TCSManager.java:677)
at com.sap.cms.pcs.assembly.manager.AssemblyManager.assemble(AssemblyManager.java:1510)
at com.sap.cms.pcs.assembly.AssemblyQueueHandler.execAssembly(AssemblyQueueHandler.java:818)
at com.sap.cms.pcs.assembly.AssemblyQueueHandler.startAssembly(AssemblyQueueHandler.java:133)
at com.sap.cms.pcs.transport.proxy.CmsTransportProxyBean.startAssembly(CmsTransportProxyBean.java:829)
at com.sap.cms.pcs.transport.proxy.LocalCmsTransportProxyLocalObjectImpl20.startAssembly(LocalCmsTransportProxyLocalObjectImpl20.java:1836)
at com.sap.cms.ui.wl.Custom1.startComponetAssembly(Custom1.java:14080)
at com.sap.cms.ui.wl.Custom1.assembleQueue(Custom1.java:4685)
at com.sap.cms.ui.wl.wdp.InternalCustom1.assembleQueue(InternalCustom1.java:2303)
at com.sap.cms.ui.wl.Worklist.handleAssemblyOptionsEvent(Worklist.java:1487)
at com.sap.cms.ui.wl.wdp.InternalWorklist.wdInvokeEventHandler(InternalWorklist.java:2520)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Component.fireEvent(Component.java:283)
at com.sap.cms.ui.wl.wdp.InternalWorklists.wdFireEventAssemblyOptionsEvent(InternalWorklists.java:388)
at com.sap.cms.ui.wl.Worklists.fireAssemblyOptionsEvent(Worklists.java:247)
at com.sap.cms.ui.wl.wdp.InternalWorklists.fireAssemblyOptionsEvent(InternalWorklists.java:328)
at com.sap.cms.ui.wl.AssemblyOptions.onActionStartAssembly(AssemblyOptions.java:276)
at com.sap.cms.ui.wl.wdp.InternalAssemblyOptions.wdInvokeEventHandler(InternalAssemblyOptions.java:339)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Info:Step Repository-export ended with result 'fatal error' ,stopping execution at 2008-10-08 05:36:32.0376 -4:00Hi,
Fatal Exception:com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: Exception received:
ClientServerException exception:Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
The error is saying that there might a communication issue with CBS to CMS. That's the reson the imported SCA version is not available in the current system to assemble. The NWDI restart may work some times.
Thanks
Krishna -
Need Help ! PO using a BAPI - BAPI_PO_CREATE1
Hi friends,
Need some help. I am trying to create a PO using a BAPI - BAPI_PO_CREATE1
<i><b>I want the new PO to have all the characteristics of an existing PO. which is stored in wa_order_split_create-docnr and for the new PO, i want the quantity from wa_order_split_create-qty_acptd and the delivery data to be wa_order_split_create-dly_date. But this process and code below gives a short dump in the std FM - MEPO_DOC_ITEM_GET . It raises an exception of failure.</b></i>
Am i making any mistake while filling the header or item or schedule lines before BAPI_PO_CREATE1 ?
MOVE: wa_order_split_create-docnr TO i_ebeln,
wa_order_split_create-docitm TO i_ebelp .
CALL FUNCTION 'ME_EKKO_SINGLE_READ'
EXPORTING
pi_ebeln = i_ebeln
IMPORTING
po_ekko = i_ekko
EXCEPTIONS
no_records_found = 1
OTHERS = 2.
IF sy-subrc <> 0 .
ENDIF .
Fill PO Header
i_bpoh-comp_code = i_ekko-bukrs .
i_bpoh-doc_type = i_ekko-bsart .
i_bpoh-vendor = i_ekko-lifnr .
i_bpoh-langu = i_ekko-spras .
i_bpoh-pmnttrms = i_ekko-zterm .
i_bpoh-purch_org = i_ekko-ekorg .
i_bpoh-pur_group = i_ekko-ekgrp .
i_bpoh-currency = i_ekko-waers .
i_bpoh-agreement = i_ekko-konnr .
i_bpoh-incoterms1 = i_ekko-inco1 .
i_bpoh-incoterms2 = i_ekko-inco2 .
Fill PO update indicator 'X'
i_bpohx-comp_code = c_char_x .
i_bpohx-doc_type = c_char_x .
i_bpohx-vendor = c_char_x .
i_bpohx-langu = c_char_x .
i_bpohx-pmnttrms = c_char_x .
i_bpohx-purch_org = c_char_x .
i_bpohx-pur_group = c_char_x .
i_bpohx-currency = c_char_x .
i_bpohx-agreement = c_char_x .
i_bpohx-incoterms1 = c_char_x .
i_bpohx-incoterms2 = c_char_x .
CALL FUNCTION 'ME_EKPO_SINGLE_READ'
EXPORTING
pi_ebeln = i_ebeln
pi_ebelp = i_ebelp
IMPORTING
po_ekpo = i_ekpo
EXCEPTIONS
no_records_found = 1
OTHERS = 2.
IF sy-subrc <> 0 .
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF .
Fill PO Item
i_wa_bpoi-po_item = i_ekpo-ebelp .
i_wa_bpoi-material = i_ekpo-matnr .
i_wa_bpoi-plant = i_ekpo-werks .
i_wa_bpoi-stge_loc = i_ekpo-lgort .
i_wa_bpoi-quantity = wa_order_split_create-qty_acptd .
i_wa_bpoi-po_unit = i_ekpo-meins .
i_wa_bpoi-tax_code = i_ekpo-mwskz .
i_wa_bpoi-val_type = i_ekpo-bwtar .
i_wa_bpoi-item_cat = i_ekpo-pstyp .
i_wa_bpoi-acctasscat = i_ekpo-knttp .
i_wa_bpoi-agreement = i_ekpo-konnr .
i_wa_bpoi-agmt_item = i_ekpo-ktpnr .
APPEND i_wa_bpoi TO i_bpoi .
Fill PO Item update indicator 'X'
i_wa_bpoix-po_item = i_ekpo-ebelp .
i_wa_bpoix-po_itemx = c_char_x .
i_wa_bpoix-material = c_char_x .
i_wa_bpoix-plant = c_char_x .
i_wa_bpoix-stge_loc = c_char_x .
i_wa_bpoix-quantity = c_char_x .
i_wa_bpoix-po_unit = c_char_x .
i_wa_bpoix-tax_code = c_char_x .
i_wa_bpoix-val_type = c_char_x .
i_wa_bpoix-item_cat = c_char_x .
i_wa_bpoix-acctasscat = c_char_x .
i_wa_bpoix-agreement = c_char_x .
i_wa_bpoix-agmt_item = c_char_x .
APPEND i_wa_bpoix TO i_bpoix .
Fill PO Item Schedule
i_wa_bpos-po_item = i_ekpo-ebelp .
i_wa_bpos-sched_line = '0001' .
i_wa_bpos-delivery_date = wa_order_split_create-dly_date .
i_wa_bpos-quantity = wa_order_split_create-qty_acptd .
APPEND i_wa_bpos TO i_bpos .
Fill PO Item schedule update indicator 'X'
i_wa_bposx-po_item = i_ekpo-ebelp .
i_wa_bposx-sched_line = '0001' .
i_wa_bposx-delivery_date = c_char_x .
i_wa_bposx-quantity = c_char_x .
APPEND i_wa_bposx TO i_bposx .
CLEAR: i_pargr .
SELECT SINGLE pargr
INTO i_pargr
FROM t161
WHERE bstyp = i_ekko-bstyp
AND bsart = i_ekko-bsart .
CLEAR i_ekpa[].
CALL FUNCTION 'MM_READ_PARTNERS'
EXPORTING
application = c_char_p
ebeln = i_ebeln
bstyp = i_ekko-bstyp
pargr = i_pargr
TABLES
x_ekpa = i_ekpa[].
LOOP AT i_ekpa INTO i_wa_ekpa .
i_wa_bpop-partnerdesc = i_wa_ekpa-parvw .
i_wa_bpop-langu = sy-langu .
IF NOT i_wa_ekpa-lifn2 IS INITIAL .
i_wa_bpop-buspartno = i_wa_ekpa-lifn2 .
ELSE .
i_wa_bpop-buspartno = i_wa_ekpa-parnr .
ENDIF .
APPEND i_wa_bpop TO i_bpop .
CLEAR: i_wa_ekpa, i_wa_bpop .
ENDLOOP .
CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = i_bpoh
poheaderx = i_bpohx
IMPORTING
exppurchaseorder = i_new_ebeln
TABLES
return = i_bapiret2
poitem = i_bpoi[]
poitemx = i_bpoix[]
poschedule = i_bpos[]
poschedulex = i_bposx[].
i_order = i_new_ebeln .
SHIFT i_order LEFT DELETING LEADING '0' .
i_return-errortype = c_char_i .
i_return-workarea = c_zsw .
i_return-message = '064' .
i_return-variable1 = i_order .
loop at i_bapiret2 into i_bapiretn where type ca 'EAX' .
append i_bapiretn to t_bapi_return .
endloop .
if t_bapi_return[] is initial .
i_create_order = c_char_x .
CALL FUNCTION 'SWD_POPUP_MESSAGE_SEND'
EXPORTING
act_return = i_return.Hi,
Make the required settings to trigger an idoc during the creation of a PO in Me21N with multiple line items, check how the idoc is being created, This should be starting point to know how to create idoc with multiple line items.
Hope this works for you.
Rajeev -
BAPI_PO_CREATE1 multiple schedule lines cann't create ECC500
Dear all:
I want to use BAPI_PO_CREATE1 to create more than one purchase order schedule item for a purchase order item .However, the system either posts the first purchase order schedule line or the BAPI terminates the posting with an error message. I have found SAP NOTES (828582) try to solve the problem . But it was no use.
My SAP system component information is SAP_APPL 500 0012 SAPKH50012 .
I attach test program as follows:
REPORT ZPO_CREATE.
DATA: HEADER LIKE BAPIMEPOHEADER,
HEADERX LIKE BAPIMEPOHEADERX,
EXPHEADER LIKE BAPIMEPOHEADER,
TESTRUN LIKE BAPIFLAG-BAPIFLAG,
ITEM LIKE BAPIMEPOITEM OCCURS 0 WITH HEADER LINE,
ITEMX LIKE BAPIMEPOITEMX OCCURS 0 WITH HEADER LINE,
POSCHEDULE LIKE BAPIMEPOSCHEDULE OCCURS 0 WITH HEADER LINE,
POSCHEDULEX LIKE BAPIMEPOSCHEDULX OCCURS 0 WITH HEADER LINE,
POTEXTHEADER LIKE BAPIMEPOTEXTHEADER OCCURS 0 WITH HEADER LINE,
POTEXTITEM LIKE BAPIMEPOTEXT OCCURS 0 WITH HEADER LINE,
RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
START-OF-SELECTION.
*<<<< HEADER
HEADER-COMP_CODE = '1000'.
HEADER-DOC_TYPE = 'NB'.
HEADER-CREAT_DATE = SY-DATUM.
HEADER-CREATED_BY = SY-UNAME.
HEADER-VENDOR = '0000000063'.
HEADER-LANGU = SY-LANGU.
HEADER-PURCH_ORG = '1000'.
HEADER-PUR_GROUP = '100'.
HEADER-CURRENCY = 'RMB'.
HEADER-DOC_DATE = SY-DATUM.
HEADERX-COMP_CODE = 'X'.
HEADERX-DOC_TYPE = 'X'.
HEADERX-CREAT_DATE = 'X'.
HEADERX-CREATED_BY = 'X'.
HEADERX-VENDOR = 'X'.
HEADERX-LANGU = 'X'.
HEADERX-PURCH_ORG = 'X'.
HEADERX-PUR_GROUP = 'X'.
HEADERX-CURRENCY = 'X'.
HEADERX-DOC_DATE = 'X'.
<<<< ITEM
CLEAR ITEM.
ITEM-PO_ITEM = '00010'.
ITEM-MATERIAL = 'K01060'.
ITEM-PLANT = '1000'.
ITEM-QUANTITY = 20.
ITEM-PO_UNIT = 'LIN'.
ITEM-NET_PRICE = 310.
ITEM-TAX_CODE = 'J2'.
ITEM-PO_PRICE = 1.
ITEM-FINAL_INV = 'X'.
ITEM-IR_IND = 'X'.
APPEND ITEM.
ITEMX-PO_ITEM = '00010'.
ITEMX-MATERIAL = 'X'.
ITEMX-PLANT = 'X'.
ITEMX-QUANTITY = 'X'.
ITEMX-PO_UNIT = 'X'.
ITEMX-NET_PRICE = 'X'.
ITEMX-TAX_CODE = 'X'.
ITEMx-PO_PRICE = 'X'.
ITEMX-FINAL_INV = 'X'.
ITEMX-IR_IND = 'X'.
APPEND ITEMX.
**************schedule lines doesn't effect or make error when post po
POSCHEDULE-PO_ITEM = 10 .
POSCHEDULE-SCHED_LINE = 1.
POSCHEDULE-DELIVERY_DATE = SY-DATUM .
POSCHEDULE-QUANTITY = 5 .
APPEND POSCHEDULE.
POSCHEDULE-PO_ITEM = 10 .
POSCHEDULE-SCHED_LINE = 2 .
POSCHEDULE-DELIVERY_DATE = SY-DATUM .
POSCHEDULE-QUANTITY = 15 .
APPEND POSCHEDULE.
POSCHEDULEX-PO_ITEM = 10 .
POSCHEDULEX-SCHED_LINE = 1.
POSCHEDULEX-DELIVERY_DATE = 'X' .
POSCHEDULEX-QUANTITY = 'X' .
APPEND POSCHEDULEX.
POSCHEDULEX-PO_ITEM = 10 .
POSCHEDULEX-SCHED_LINE = 2.
POSCHEDULEX-DELIVERY_DATE = 'X' .
POSCHEDULEX-QUANTITY = 'X' .
APPEND POSCHEDULEX.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = HEADER
POHEADERX = HEADERX
NO_PRICE_FROM_PO = 'X'
IMPORTING
EXPHEADER = EXPHEADER
TABLES
RETURN = RETURN
POITEM = ITEM
POITEMX = ITEMX
POSCHEDULE = POSCHEDULE
POSCHEDULEX = POSCHEDULEX
LOOP AT RETURN .
WRITE : / RETURN-TYPE,
RETURN-ID,
RETURN-NUMBER,
RETURN-MESSAGE.
CLEAR RETURN.
ENDLOOP.
IF NOT EXPHEADER IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .
ENDIF.
I am full of grateful for you can solve my problem . Thanks a lot!
Best regards.
Daniel fu 2006-08-27I guess u need to add
POSCHEDULEX-PO_ITEMX = X.
before appending the table Parameter POSCHEDULEX
One for each append statement on table internal table POSCHEDULEX
Regards
Alok Pathak -
BAPI_PO_CREATE1 in background
Hi,
How to suppress the E and A type messages from BAPI_PO_CREATE1 in the background to avoid that messages in Job log?
Ie. I want to avoid those messages which is automatically written to Job log in background mode.
I will process the return table and then will write the relevant messages to the job log.
Can anyone help?
DeepuWhat currently happening is i have used this BAPI_PO_CREATE1 in one program.
We can excecute the program either in foreground or background.
In foreground the errors are written to a list.<b>--->good</b>
In backgroung the errors are written to the Job log from the program, but what is actually happening is from BAPI_PO_CREATE1 all the E and A type messages are automatically logged into Job log and I wanted to avoid that.--->u can skip if it is back ground
<b>if sy-batch = 'X'.
dont display errors.
else.
errors.
endif.</b>
I will write the error log depending on my requirement.
now irrespective of my error log some other messages are also comming in the error log from BAPI_PO_CREATE1 in background.
I wanted to avoid those messages populating from the BAPI in the background.
<b>But question is : how to u come to know which records got uploaded into SAP ? how to u recorrect errrors?</b>
Regards
Prabhu -
Access Denied error message... I want to give alert message
I have Manager service in my portal page. But I don't have the content access from the back end system.
In the portal log viewer it is saying the Access Denied info. So i am getting the below error message in the portal page.
Instead of giving this error message I want to give a alert message like "You are not authorised to view this page...so please contact your Administrator"...
I want to know how to do this. can anyone help me on this
An exception occurred while processing a request for :
iView : pcd:portal_content/com.XYZ.roles.XYZ_Roles/com.XYZ.roles.Human_Resources/com.XYZ.roles.Manager/com.XYZ.hr.wks.se.
Manager_Services/com.XYZ.hr.wks.cl.Overview_MSS/com.XYZ.hr.wks.cl.Compensation_Management/com.XYZ.hr.wks.up.Position_Change_Process/com.XYZ.hr.pag.ac.Select_Team_Member_
and_Form_Pos_Chg/XYZTeamViewerTransfer
Component Name : com.XYZ.hr.pcr.transfer.XYZTeamViewerTransfer.XYZTeamViewerTransfer
The exception was logged. Inform your system administrator..
Exception id: 08:46_17/07/07_0505_24366050
See the details for the exception ID in the log file
Portal log**********
#1.5#000BCD4305DF0043000019C80000290400043574F8F3FA51#1184676416089#com.sap.security.core.util#sap.com/irj#com.sap.security.core.util.
[cf=com.sap.security.core.util.SecurityAudit][md=log(...)][cl=12778]#Guest#192####cd0d7490346311dc931d000bcd4305df#SAPEngine_Application_Thread[impl:3]
_24##0#0#Info##Plain###ObjectID handed over is 'null'!#
#1.5#000BCD4305DF0043000019CA0000290400043574F8F3FC42#1184676416089#com.sap.security.core.util.SecurityAudit#sap.com/irj
#com.sap.security.core.util.SecurityAudit#Guest#192####cd0d7490346311dc931d000bcd4305df#SAPEngine_Application_Thread[impl:3]
_24##0#0#Warning#1#/System/Security/Audit#Plain###Guest | LOGIN.ERROR | NONE = null | | Login Method=[default], UserID=[null], IP Address=[168.133.7.3], Reason=[Access Denied.]#
#1.5#000BCD4305DF0043000019CC0000290400043574F8F4A4CF#1184676416136#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Guest#192
####cd0d7490346311dc931d000bcd4305df#SAPEngine_Application_Thread[impl:3]_24##0#0#Error#1#/System/Server#Java###Exception ID:08:46_17/07/07_0506_24366050
[EXCEPTION]
#1#com.sapportals.portal.prt.runtime.PortalRuntimeException: <b>Access is denied:
com.sap.portal.heartbeats.PortalHeartbeat - user: Guest
at
com.sapportals.portal.prt.deployment.DeploymentManager.checkPermissions(DeploymentManager.java:2005)</b>at
com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:247)
at
com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
at
com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
at
com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
at
com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
at
com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at
com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: <b>Access denied</b> (Object:
com.sap.portal.system/security/sap.com/NetWeaver.Portal/high_safety/com.sap.portal.heartbeats/components/PortalHeartbeat)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:416)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1095)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1197)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1144)
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:918)
at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:68)
at com.sapportals.portal.pcd.gl.PcdURLContext.lookup(PcdURLContext.java:238)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.sapportals.portal.prt.deployment.DeploymentManager.checkPermissions(DeploymentManager.java:2000)Kindly post how u did it. It will be helpful for others.
Thanks in advance.
Pradeep.
Maybe you are looking for
-
On an iPad, how do I insert a blank page between two using iWork Pages?
I realize how many times I used the word 'pages' in the question, I was unable to think of a less confusing way to word it. :) I am using an iPad with Pages loaded on it. All software is up-to-date. I have downloaded a few templates apps to use with
-
I am having an issue with my iphone4s. It will no longer connect to wifi.
I am having an issue with my iphone4s. It will no longer connect to wifi. The wifi icon is grey and cannot be turned on. How can this be rectified?
-
Cannot move app icons from one page to another when syncing. Dragging moves pages, not icons in iOS 7.
-
Build using 32-bit Sun JDK in dev windows OS and deploy in 32-bit RHEL
Is there any potential problems associated with building/compiling my Java classes for my EE (Seam) app into an EAR and deploying on 32-bit Windows OS JBoss AS dev box using 32-bit Windows JDK 1.5 and then deploying the same EAR into 32-bit RHEL OS J
-
New computer set up for performance
i would like to have a bit of help making sure i have configured Pr Ae and Sg to match the peformance my computer can afford. namely i am not sure how to configure scratch disks render drives and export drives. also id like to make sure that my Quadr