SAP FI_CA - Error whilst performing transaction FPPCDS
Hi Guys,
Can anyone out their help?
Have been getting an intermittent error message when performing transcation FPPCDS Execute Card Billing on SAP FI-CA - see below :
File/interfaces/PF1/outbound/XOPSESB/CARD_PAYMENT_2010 cannot be opened (Permission Denied)
Any help much appreciated.
Thanks
Andy
Hi Rickyranjan, please provide additional information about your current settings:
Have you activated Dispute management in the activity Set up Company codes for contract accounts receivable and payable?
Have you defined the case types in FICA?
Best regards,
Cristobal.
Similar Messages
-
Getting error Unable to perform transaction on the record.
Hi,
My requirement is to implement the custom attachment, and to store the data into custom lob table.
my custom table structure is similer to that of standard fnd_lobs table and have inserted the data through EO based VO.
Structure of custom table
CREATE TABLE XXAPL.XXAPL_LOBS
ATTACHMENT_ID NUMBER NOT NULL,
FILE_NAME VARCHAR2(256 BYTE),
FILE_CONTENT_TYPE VARCHAR2(256 BYTE) NOT NULL,
FILE_DATA BLOB,
UPLOAD_DATE DATE,
EXPIRATION_DATE DATE,
PROGRAM_NAME VARCHAR2(32 BYTE),
PROGRAM_TAG VARCHAR2(32 BYTE),
LANGUAGE VARCHAR2(4 BYTE) DEFAULT ( userenv ( 'LANG') ),
ORACLE_CHARSET VARCHAR2(30 BYTE) DEFAULT ( substr ( userenv ( 'LANGUAGE') , instr ( userenv ( 'LANGUAGE') , '.') +1 ) ),
FILE_FORMAT VARCHAR2(10 BYTE) NOT NULL
i have created a simple messegefileupload and submit button on my custom page and written below code on CO:
Process Request Code:
if(!pageContext.isBackNavigationFired(false))
TransactionUnitHelper.startTransactionUnit(pageContext, "AttachmentCreateTxn");
if(!pageContext.isFormSubmission()){
System.out.println("In ProcessRequest of AplAttachmentCO");
am.invokeMethod("initAplAttachment");
else
if(!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "AttachmentCreateTxn", true))
OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
pageContext.redirectToDialogPage(dialogPage);
ProcessFormRequest Code:
if (pageContext.getParameter("Upload") != null)
DataObject fileUploadData = (DataObject)pageContext.getNamedDataObject("FileItem");
String strFileName = null;
strFileName = pageContext.getParameter("FileItem");
if(strFileName == null || "".equals(strFileName))
throw new OAException("Please select a File for upload");
fileName = strFileName;
contentType = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
BlobDomain uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
String strItemDescr = pageContext.getParameter("ItemDesc");
OAFormValueBean bean = (OAFormValueBean)webBean.findIndexedChildRecursive("AttachmentId");
String strAttachId = (String)bean.getValue(pageContext);
System.out.println("Attachment Id:" +strAttachId);
int aInt = Integer.parseInt(strAttachId);
Number numAttachId = new Number(aInt);
Serializable[] methodParams = {fileName, contentType , uploadedByteStream , strItemDescr , numAttachId};
Class[] methodParamTypes = {fileName.getClass(), contentType.getClass() , uploadedByteStream.getClass() , strItemDescr.getClass() , numAttachId.getClass()};
am.invokeMethod("setUploadFileRowData", methodParams, methodParamTypes);
am.invokeMethod("apply");
System.out.println("Records committed in lobs table");
if (pageContext.getParameter("AddAnother") != null)
pageContext.forwardImmediatelyToCurrentPage(null,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
if (pageContext.getParameter("cancel") != null)
am.invokeMethod("rollbackShipment");
TransactionUnitHelper.endTransactionUnit(pageContext, "AttachmentCreateTxn");
Code in AM:
public void apply(){
getTransaction().commit();
public void initAplAttachment() {
OAViewObject lobsvo = (OAViewObject)getAplLobsAttachVO1();
if (!lobsvo.isPreparedForExecution())
lobsvo.executeQuery();
Row row = lobsvo.createRow();
lobsvo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
public void setUploadFileRowData(String fName, String fContentType, BlobDomain fileData , String fItemDescr , Number fAttachId)
AplLobsAttachVOImpl VOImpl = (AplLobsAttachVOImpl)getAplLobsAttachVO1();
System.out.println("In setUploadFileRowData method");
System.out.println("In setUploadFileRowData method fAttachId: "+fAttachId);
System.out.println("In setUploadFileRowData method fName: "+fName);
System.out.println("In setUploadFileRowData method fContentType: "+fContentType);
RowSetIterator rowIter = VOImpl.createRowSetIterator("rowIter");
while (rowIter.hasNext())
AplLobsAttachVORowImpl viewRow = (AplLobsAttachVORowImpl)rowIter.next();
viewRow.setFileContentType(fContentType);
viewRow.setFileData(fileData);
viewRow.setFileFormat("IGNORE");
viewRow.setFileName(fName);
rowIter.closeRowSetIterator();
System.out.println("setting on fndlobs done");
The attchemnt id is the sequence generated number, and its defaulting logic is written in EO
public void create(AttributeList attributeList) {
super.create(attributeList);
OADBTransaction transaction = getOADBTransaction();
Number attachmentId = transaction.getSequenceValue("xxapl_po_ship_attch_s");
setAttachmentId(attachmentId);
public void setAttachmentId(Number value) {
System.out.println("In ShipmentsEOImpl value::"+value);
if (getAttachmentId() != null)
System.out.println("In AplLobsAttachEOImpl AttachmentId::"+(Number)getAttachmentId());
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(), // EO name
getPrimaryKey(), // EO PK
"AttachmentId", // Attribute Name
value, // Attribute value
"AK", // Message product short name
"FWK_TBX_T_EMP_ID_NO_UPDATE"); // Message name
if (value != null)
// Attachment ID must be unique. To verify this, you must check both the
// entity cache and the database. In this case, it's appropriate
// to use findByPrimaryKey() because you're unlikely to get a match, and
// and are therefore unlikely to pull a bunch of large objects into memory.
// Note that findByPrimaryKey() is guaranteed to check all AplLobsAttachment.
// First it checks the entity cache, then it checks the database.
OADBTransaction transaction = getOADBTransaction();
Object[] attachmentKey = {value};
EntityDefImpl attachDefinition = AplLobsAttachEOImpl.getDefinitionObject();
AplLobsAttachEOImpl attachment =
(AplLobsAttachEOImpl)attachDefinition.findByPrimaryKey(transaction, new Key(attachmentKey));
if (attachment != null)
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(), // EO name
getPrimaryKey(), // EO PK
"AttachmentId", // Attribute Name
value, // Attribute value
"AK", // Message product short name
"FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
setAttributeInternal(ATTACHMENTID, value);
Issue faced:
When i run the page for the first time data gets inserted into custom table perfectly on clicking upload button,
but when clicked on add another button on the same page (which basically redirects to the same upload page and increments the attachment id by 1)
i am getting the below error:
Error
Unable to perform transaction on the record.
Cause: The record contains stale data. The record has been modified by another user.
Action: Cancel the transaction and re-query the record to get the new data.
Have spent entire day to resolve this issue but no luck.
Any help on this will be appreciated, let me know if i am going wrong anywhere.
Thanks nd Regards
AvinashHi,
After, inserting the values please re-execute the VO query.
Also, try to redirect the page with no AM retension
Thanks,
Gaurav -
Error while performing Risk Analysis at user level for a cross system user
Dear All,
I am getting the below error, while performing the risk analysis at user level for a cross system (Oracle) user.
The error is as follows:
"ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot get connection for 120 seconds. Possible reasons: 1) Connections are cached within SystemThread(can be any server service or any code invoked within SystemThread in the SAP J2EE Engine), 2) The pool size of adapter "SAPJ2EDB" is not enough according to the current load of the system or 3) The specified time to wait for connection is not enough according to the pool size and current load of the system. In case 1) the solution is to check for cached connections using the Connector Service list-conns command, in case 2) to increase the size of the pool and in case 3) to increase the time to wait for connection property. In case of application thread, there is an automatic mechanism which detects unclosed connections and unfinished transactions.RC:1
Can anyone please help.
Regards,
GurugobindaHi..
Check the note # SAP Note 1121978
SAP Note 1121978 - Recommended settings to improve peformance risk analysis.
Check for the following...
CONFIGTOOL>SERVER>MANAGERS>THREADMANAGER
ChangeThreadCountStep =50
InitialThreadCount= 100
MaxThreadCount =200
MinThreadCount =50
Regards
Gangadhar -
How to rectify the errors through call transaction metod in bdc
how to rectify the errors through call transaction metod in bdc
Hi ,
View the highlited part of the below code.
REPORT ygfrivat1 NO STANDARD PAGE HEADING
LINE-SIZE 165
MESSAGE-ID yif_groc.
Program YGFRIVAT1
Function Report to Upload the VAT Adjustment File.
Author ARENAPU
Date 11.05.2007
PMTS AM12810157
Transport G6DK937834
Description:
Modification log:
1. Changed by :
Changed on :
PMTS :
Transport :
Tag :
Description :
T A B L E S D E C L A R A T I O N S
TABLES: edidc, "Control record (IDoc)
edids, "Status Record (IDoc)
t001w.
Internal Tables Declaration.
Internal table to hold data from table EDIDS
DATA: BEGIN OF t_edids OCCURS 0,
docnum LIKE edids-docnum,
logdat LIKE edids-logdat,
logtim LIKE edids-logtim,
countr LIKE edids-countr,
credat LIKE edids-credat,
uname LIKE edids-uname,
END OF t_edids,
Internal table to hold data from table EDIDC
BEGIN OF t_edidc OCCURS 0,
docnum LIKE edidc-docnum,
rcvprt LIKE edidc-rcvprt,
rcvprn LIKE edidc-rcvprn,
credat LIKE edidc-credat,
END OF t_edidc,
Internal table to hold data from upload file
BEGIN OF t_tab OCCURS 0,
cust(10), "site/customer number
date(10), "transaction date
currency(04), "currency
extnbr(15), "external reference number
pos-cont(05), "POS controler
pos-id(25), "POS id
cashier(10), "cashier name
qualif(04), "qualifier of the article
matnr(25), "article number
qty(10), "quantity
sale(16), "sale value
pos-tr(04), "POS transfert type
paymeth(04), "payment method
final(35), "final price
tarcur(04), "target currency
assign(35), "assignment day
error,
END OF t_tab,
Internal table for Report display.
BEGIN OF t_tab1 OCCURS 0,
cust(10), "site/customer number
date(10), "transaction date
currency(04), "currency
extnbr(15), "external reference number
pos-cont(05), "POS controler
pos-id(25), "POS id
cashier(10), "cashier name
qualif(04), "qualifier of the article
matnr(25), "article number
qty(16) TYPE p DECIMALS 2, "quantity
sale(16) TYPE p DECIMALS 2, "sale value
pos-tr(04), "POS transfert type
paymeth(04), "payment method
final(16) TYPE p DECIMALS 2, "final price
tarcur(04), "target currency
assign(35), "assignment day
END OF t_tab1,
t_tab_temp LIKE t_tab OCCURS 0 WITH HEADER LINE,
Internal table to Validate Customer no.
BEGIN OF t_check OCCURS 0,
werks LIKE t001w-werks,
vkorg LIKE t001w-vkorg,
value(40),
END OF t_check,
t_check_temp LIKE t_check OCCURS 0 WITH HEADER LINE.
Internal table to hold data from table ZCS_PARAM.
DATA: BEGIN OF t_zcs_param OCCURS 0.
INCLUDE STRUCTURE zcs_param.
DATA: vkorg LIKE t001w-vkorg,
END OF t_zcs_param.
*Internal table to hold Messages.
DATA: BEGIN OF t_message OCCURS 0,
msgnum TYPE msgnum,
msgtyp TYPE msgtyp,
msgtxt TYPE msgtext,
END OF t_message.
*Work area for table t_message
DATA : w_message LIKE LINE OF t_message.
Internal table to hold BDC data
DATA: t_bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE,
Internal table to collect error messages
messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
*Internal table to hold messages from call transaction
DATA: BEGIN OF t_text OCCURS 0,
desc(150),
msgtxt(100),
END OF t_text.
D A T A D E C L A R A T I O N S
DATA: n TYPE i,
gv_status(11) TYPE c, "Shows status, Production or Test
gv_exit TYPE c, "Exit Flag
gv_qty(16) TYPE p DECIMALS 2, "Variable to sum Quantity
gv_sale(16) TYPE p DECIMALS 2, "Variable to sum Amount
gv_final(16) TYPE p DECIMALS 2. "Variable to sum Final Amount
DATA: w_text(100),
gv_mode TYPE c,
error TYPE c. "Flag to Indicate error.
CONSTANSTS DECLARATION
CONSTANTS : gc_fieldname LIKE dynpread-fieldname VALUE 'P_FNAME',
gc_seq_no LIKE zcs_param-seq_no VALUE '00110',
gc_object LIKE zcs_param-object VALUE 'YGFVAT',
gc_paraname LIKE zcs_param-paraname VALUE 'VKORG',
gc_back TYPE c VALUE 'N',
gc_error TYPE c VALUE 'E',
gc_all TYPE c VALUE 'A'.
S E L E C T I O N S C R E E N
SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-001.
PARAMETERS : p_fname LIKE rlgrap-filename OBLIGATORY.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-002 FOR FIELD p_test.
PARAMETERS : p_test AS CHECKBOX.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK a1.
SELECTION-SCREEN BEGIN OF BLOCK a2 WITH FRAME TITLE text-006.
PARAMETERS : rb_back RADIOBUTTON GROUP rb1 DEFAULT 'X',
rb_error RADIOBUTTON GROUP rb1,
rb_all RADIOBUTTON GROUP rb1.
SELECTION-SCREEN END OF BLOCK a2.
AT SELECTION SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
*Subroutine to provide F4 help for file name
PERFORM fr_get_filename.
I N I T I A L I Z A T I O N
INITIALIZATION.
*Subroutine to check authorization.
PERFORM fr_authority_check.
T O P - O F - P A G E
TOP-OF-PAGE.
*Subroutine to diplay header
PERFORM fr_display_header.
S T A R T - O F - S E L E C T I O N
START-OF-SELECTION.
*Subroutine to upload data from presentation server.
PERFORM fr_upload_data.
*Subroutine to validate records from uploaded file.
PERFORM fr_validate_data.
*Subroutine to build report internal table.
PERFORM fr_build_rep.
E N D - O F - S E L E C T I O N
END-OF-SELECTION.
*Subroutine to display report.
PERFORM fr_write_report.
F O R M S U B R O U T I N E S
*& Form fr_get_filename
text
FORM fr_get_filename.
DATA : lv_repid LIKE sy-repid, " Report id
lv_file LIKE ibipparms-path. " File Path
lv_repid = sy-repid.
F4 help for file path.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = lv_repid
dynpro_number = syst-dynnr
field_name = gc_fieldname " p_fname1
IMPORTING
file_name = lv_file.
IF NOT lv_file EQ space.
p_fname = lv_file.
ELSE.
MESSAGE e999 WITH 'Invalid Path'(005).
ENDIF.
ENDFORM. " fr_get_filename
*& Form fr_upload_data
text
FORM fr_upload_data.
DATA: lv_fname TYPE string.
CLEAR lv_fname.
lv_fname = p_fname.
Uploading file from PC or presentation server to internal table.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = lv_fname
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = t_tab
EXCEPTIONS
file_open_error = 1.
IF sy-subrc <> 0.
DESCRIBE TABLE t_message LINES n.
w_message-msgnum = n + 1.
w_message-msgtyp = 'E'.
MOVE text-m01 TO w_message-msgtxt.
APPEND w_message TO t_message.
Subroutine for writing log.
PERFORM fr_write_log.
ENDIF.
ENDFORM. " fr_upload_data
*& Form fr_validate_data
text
FORM fr_validate_data.
DATA : lv_lines1 TYPE i,
lv_lines2 TYPE i.
*Obtain Status depending on Check box selected.
IF p_test IS INITIAL.
gv_status = 'PRODUCTION'.
ELSE.
gv_status = 'TEST RUN'.
ENDIF.
*Batch Mode
CLEAR gv_mode.
IF rb_back EQ 'X'. "No Display
MOVE gc_back TO gv_mode.
ELSEIF rb_error EQ 'X'. "Error Only
MOVE gc_error TO gv_mode.
ELSEIF rb_all EQ 'X'. "All Screens
MOVE gc_all TO gv_mode.
ENDIF.
IF NOT t_tab[] IS INITIAL.
SORT t_tab BY cust.
REFRESH t_tab_temp.
t_tab_temp[] = t_tab[].
SORT t_tab_temp BY cust.
DELETE ADJACENT DUPLICATES FROM t_tab_temp COMPARING cust.
IF NOT t_tab_temp[] IS INITIAL.
SELECT werks vkorg FROM t001w
INTO TABLE t_check
FOR ALL ENTRIES IN t_tab_temp
WHERE werks = t_tab_temp-cust+0(4).
IF sy-subrc = 0.
SORT t_check BY werks.
ENDIF.
LOOP AT t_check.
IF t_check-vkorg <> ' '.
MOVE t_check-vkorg TO t_check-value.
MODIFY t_check TRANSPORTING value.
ENDIF.
ENDLOOP.
ENDIF.
FREE t_tab_temp.
ENDIF.
IF NOT t_check[] IS INITIAL.
REFRESH t_check_temp.
t_check_temp[] = t_check[].
SORT t_check_temp BY value.
DELETE ADJACENT DUPLICATES FROM t_check_temp COMPARING value.
IF NOT t_check_temp[] IS INITIAL.
SELECT * FROM zcs_param INTO TABLE t_zcs_param
FOR ALL ENTRIES IN t_check_temp
WHERE seq_no EQ gc_seq_no
AND object EQ gc_object
AND paraname EQ gc_paraname
AND value EQ t_check_temp-value.
IF sy-subrc = 0.
SORT t_zcs_param BY value.
ENDIF.
ENDIF.
FREE t_check_temp.
ENDIF.
IF NOT t_tab[] IS INITIAL.
LOOP AT t_tab.
READ TABLE t_check WITH KEY werks = t_tab-cust BINARY SEARCH.
IF sy-subrc <> 0.
MOVE 'X' TO t_tab-error.
MODIFY t_tab TRANSPORTING error.
DESCRIBE TABLE t_message LINES n.
w_message-msgnum = n + 1.
w_message-msgtyp = 'E'.
CONCATENATE t_tab-cust text-030
INTO w_message-msgtxt SEPARATED BY space.
APPEND w_message TO t_message.
Subroutine for writing log.
PERFORM fr_write_log.
EXIT.
ELSE.
READ TABLE t_zcs_param WITH KEY value = t_check-vkorg
BINARY SEARCH.
IF sy-subrc <> 0.
MOVE 'X' TO t_tab-error.
MODIFY t_tab TRANSPORTING error.
DESCRIBE TABLE t_message LINES n.
w_message-msgnum = n + 1.
w_message-msgtyp = 'E'.
CONCATENATE text-003 t_tab-cust text-004 t_check-vkorg
INTO w_message-msgtxt SEPARATED BY space.
APPEND w_message TO t_message.
Subroutine for writing log.
PERFORM fr_write_log.
EXIT.
ELSE.
PERFORM fr_format_tab.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
DESCRIBE TABLE t_tab LINES lv_lines1.
IF lv_lines1 <> 0.
DELETE t_tab WHERE error EQ 'X'.
ENDIF.
DESCRIBE TABLE t_tab LINES lv_lines2.
IF lv_lines2 <> 0.
IF lv_lines2 <> lv_lines1.
EXIT.
ELSE.
IF p_test IS INITIAL.
LOOP AT t_tab.
*Subroutine to build BDC table
PERFORM fr_fill_bdctab.
*Subroutine to Post Data into SAP.
PERFORM fr_data_posting.
ENDLOOP.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. " fr_validate_data
*& Form fr_write_log
text
FORM fr_write_log.
CLEAR error.
error = 'X'.
WRITE:/1 'Msg No'(027), 10 'Type'(028), 20 'Text'(029).
ULINE:/1(120).
FORMAT RESET.
LOOP AT t_message.
IF t_message-msgtyp = 'E'.
FORMAT COLOR 6 INTENSIFIED .
ELSEIF t_message-msgtyp = 'W'.
FORMAT COLOR 3 INTENSIFIED .
ELSEIF t_message-msgtyp = 'I'.
FORMAT COLOR 5 INTENSIFIED .
ENDIF.
WRITE:/1 t_message-msgnum,
10 t_message-msgtyp,
20 t_message-msgtxt.
FORMAT RESET.
ENDLOOP.
ULINE:/1(120).
ENDFORM. " fr_write_log
*& Form fr_write_report
text
FORM fr_write_report.
CLEAR gv_exit.
LOOP AT t_message.
IF t_message-msgtyp = 'E'.
gv_exit = 'X'.
EXIT.
ENDIF.
ENDLOOP.
IF NOT gv_exit IS INITIAL.
EXIT.
ELSE.
PERFORM fr_display_report.
IF NOT t_text[] IS INITIAL.
Subroutine for Display Call Transaction messages.
PERFORM fr_write_msg.
ENDIF.
ENDIF.
ENDFORM. " fr_write_report
*& Form fr_display_report
text
FORM fr_display_report.
IF NOT t_tab1[] IS INITIAL.
CLEAR: gv_qty, gv_sale, gv_final.
LOOP AT t_tab1.
WRITE:/1(10) t_tab1-cust,
13(10) t_tab1-date,
25(05) t_tab1-currency,
32(14) t_tab1-extnbr,
48(09) t_tab1-pos-cont,
60(18) t_tab1-matnr,
80(16) t_tab1-qty RIGHT-JUSTIFIED ,
98(16) t_tab1-sale RIGHT-JUSTIFIED ,
116(07) t_tab1-paymeth,
125(16) t_tab1-final RIGHT-JUSTIFIED,
143(06) t_tab1-tarcur,
152(12) t_tab1-assign.
gv_qty = t_tab1-qty + gv_qty.
gv_sale = t_tab1-sale + gv_sale.
gv_final = t_tab1-final + gv_final.
ENDLOOP.
FORMAT COLOR 3.
ULINE: /(164).
WRITE:/ 'TOTALS',
80(16) gv_qty RIGHT-JUSTIFIED,
98(16) gv_sale RIGHT-JUSTIFIED,
125(16) gv_final RIGHT-JUSTIFIED,
182 ''.
ULINE: /(164).
FORMAT RESET.
ENDIF.
ENDFORM. " fr_display_report
*& Form FR_DISPLAY_HEADER
text
FORM fr_display_header.
IF error IS INITIAL.
FORMAT COLOR 1.
WRITE:/ 'Date upload :'(007), 25 sy-datum, 38 ''.
WRITE:/ 'Production or Test Run:'(008), 25 gv_status, 38 ''.
WRITE:/ 'Upload User Logon :'(009), 25 sy-uname, 38 ''.
ULINE: /(164).
WRITE:/1(04) 'Site'(010),
13(10) 'Date'(011),
25(05) 'Curr.'(012),
32(14) 'Receipt'(013),
48(09) 'Cashier'(014),
60(18) 'Article'(015),
92 'Qty'(016),
102 'Item Amount'(017),
116(7) 'M.o.P.'(018),
128 'Tender Amount'(019),
143(6) 'T.Curr'(020),
152(12) 'Assignment'(021).
ULINE:/(164).
FORMAT RESET.
ENDIF.
ENDFORM. " FR_DISPLAY_HEADER
*& Form fr_newdynpro
text
FORM fr_newdynpro USING program LIKE bdcdata-program
dynpro LIKE bdcdata-dynpro.
t_bdcdata-program = program .
t_bdcdata-dynpro = dynpro.
t_bdcdata-dynbegin = 'X'.
APPEND t_bdcdata.
CLEAR t_bdcdata.
ENDFORM. " fr_newdynpro
*& Form fr_loadfield
text
FORM fr_loadfield USING field LIKE bdcdata-fnam
value.
t_bdcdata-fnam = field.
t_bdcdata-fval = value.
APPEND t_bdcdata.
CLEAR t_bdcdata.
ENDFORM. " fr_loadfield
*& Form fr_fill_bdctab
text
FORM fr_fill_bdctab.
REFRESH t_bdcdata.
PERFORM fr_newdynpro USING 'SAPMWPUK' '100'.
PERFORM fr_loadfield USING 'G_FILIALE' t_tab-cust.
PERFORM fr_loadfield USING 'G_DATUM' t_tab-date.
PERFORM fr_loadfield USING 'BDC_OKCODE' 'BON'.
PERFORM fr_newdynpro USING 'SAPMWPUK' '500'.
PERFORM fr_loadfield USING 'WPSCB01-POSKREIS' t_tab-pos-cont.
PERFORM fr_loadfield USING 'WPSCB01-KASSID' t_tab-pos-id.
PERFORM fr_loadfield USING 'WPSCB01-BELEGWAERS' t_tab-currency.
PERFORM fr_loadfield USING 'WPSCB01-CSHNAME' t_tab-cashier.
PERFORM fr_loadfield USING 'WPSCB01-BONNUMMER' t_tab-extnbr.
PERFORM fr_loadfield USING 'E1WPB02-QUALARTNR(01)' t_tab-qualif.
PERFORM fr_loadfield USING 'E1WPB02-ARTNR(01)' t_tab-matnr.
PERFORM fr_loadfield USING 'E1WPB02-MENGE(01)' t_tab-qty.
PERFORM fr_loadfield USING 'WPSCB03-KONDVALUE(01)' t_tab-sale.
PERFORM fr_loadfield USING 'E1WPB02-VORGANGART(01)' t_tab-pos-tr.
PERFORM fr_loadfield USING 'BDC_OKCODE' 'ZAHL'.
PERFORM fr_newdynpro USING 'SAPMWPUK' '530'.
PERFORM fr_loadfield USING 'WPSCB06-ZAHLART' t_tab-paymeth.
PERFORM fr_loadfield USING 'WPSCB06-SUMME' t_tab-final.
PERFORM fr_loadfield USING 'WPSCB06-WAEHRUNG' t_tab-tarcur.
PERFORM fr_loadfield USING 'WPSCB06-ZUONR' t_tab-assign.
PERFORM fr_loadfield USING 'BDC_OKCODE' 'SAVE'.
PERFORM fr_newdynpro USING 'SAPMWPUK' '530'.
PERFORM fr_loadfield USING 'WPSCB06-ZAHLART' t_tab-paymeth.
PERFORM fr_loadfield USING 'WPSCB06-SUMME' t_tab-final.
PERFORM fr_loadfield USING 'WPSCB06-WAEHRUNG' t_tab-tarcur.
PERFORM fr_loadfield USING 'WPSCB06-ZUONR' t_tab-assign.
PERFORM fr_loadfield USING 'BDC_OKCODE' 'BACK'.
PERFORM fr_newdynpro USING 'SAPLSPO1' '0200'.
PERFORM fr_loadfield USING 'BDC_OKCODE' 'YES'.
PERFORM fr_newdynpro USING 'SAPMWPUK' '100'.
PERFORM fr_loadfield USING 'G_FILIALE' t_tab-cust.
PERFORM fr_loadfield USING 'G_DATUM' t_tab-date.
PERFORM fr_loadfield USING 'BDC_OKCODE' 'BACK'.
ENDFORM. " fr_fill_bdctab
*& Form fr_data_posting
text
FORM fr_data_posting.
IF NOT t_bdcdata[] IS INITIAL.
REFRESH messtab.
CALL TRANSACTION 'WPUK' USING t_bdcdata
MODE gv_mode
UPDATE 'S'
MESSAGES INTO messtab.
IF sy-subrc = 0 .
CLEAR w_text.
LOOP AT messtab.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = messtab-msgid
lang = sy-langu
no = messtab-msgnr
v1 = messtab-msgv1
v2 = messtab-msgv2
v3 = messtab-msgv3
v4 = messtab-msgv4
IMPORTING
msg = w_text
EXCEPTIONS
not_found = 1
OTHERS = 2.
MOVE w_text TO t_text-msgtxt.
CONCATENATE 'Site:'(031) t_tab-cust
'Article:'(024) t_tab-matnr
'Posted Sucessfully'(032)
INTO t_text-desc SEPARATED BY space.
APPEND t_text.
CLEAR t_text.
ENDLOOP.
ELSE.
CLEAR w_text.
LOOP AT messtab.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = messtab-msgid
lang = sy-langu
no = messtab-msgnr
v1 = messtab-msgv1
v2 = messtab-msgv2
v3 = messtab-msgv3
v4 = messtab-msgv4
IMPORTING
msg = w_text
EXCEPTIONS
not_found = 1
OTHERS = 2.
MOVE w_text TO t_text-msgtxt.
IF messtab-msgnr EQ '213'.
CONCATENATE 'Site:'(031) t_tab-cust
'Article:'(024) t_tab-matnr
'Posted Sucessfully'(032)
INTO t_text-desc SEPARATED BY space.
APPEND t_text.
CLEAR t_text.
EXIT. ELSE.
CONCATENATE 'Site:'(031) t_tab-cust
'Article:'(024) t_tab-matnr
'Not Posted'(033)
INTO t_text-desc SEPARATED BY space.
APPEND t_text.
CLEAR t_text.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDFORM. " fr_data_posting
*& Form fr_authority_check
text
FORM fr_authority_check.
AUTHORITY-CHECK OBJECT 'Y_VATADJ'
ID 'VKORG' FIELD t001w-vkorg
ID 'TCD' FIELD 'YGFVAT'.
IF sy-subrc NE 0.
MESSAGE e999 WITH text-m02.
ENDIF.
ENDFORM. " fr_authority_check
*& Form fr_write_msg
text
FORM fr_write_msg.
SKIP.
ULINE:/(164).
WRITE:/
'Messages encountered while Calling Transaction WPUK'(025),
90 'Message Text'(026).
ULINE:/1(164).
LOOP AT t_text.
WRITE:/1 t_text-desc,
90 t_text-msgtxt,
164 ''.
ENDLOOP.
ULINE:/1(164).
ENDFORM. " fr_write_msg
*& Form FR_BUILD_REP
text
FORM fr_build_rep.
IF error IS INITIAL.
IF NOT t_tab[] IS INITIAL.
LOOP AT t_tab.
MOVE:
t_tab-cust TO t_tab1-cust, "site/customer number
t_tab-date TO t_tab1-date, "transaction date
t_tab-currency TO t_tab1-currency, "currency
t_tab-extnbr TO t_tab1-extnbr, "external reference number
t_tab-pos-cont TO t_tab1-pos-cont, "POS controler
t_tab-pos-id TO t_tab1-pos-id, "POS id
t_tab-cashier TO t_tab1-cashier, "cashier name
t_tab-qualif TO t_tab1-qualif, "qualifier of the article
t_tab-matnr TO t_tab1-matnr, "article number
t_tab-pos-tr TO t_tab1-pos-tr, "POS transfert type
t_tab-paymeth TO t_tab1-paymeth, "payment method
t_tab-tarcur TO t_tab1-tarcur, "target currency
t_tab-assign TO t_tab1-assign.
REPLACE ',' WITH '.' INTO t_tab-qty.
CONDENSE t_tab-qty NO-GAPS.
MOVE t_tab-qty TO t_tab1-qty.
REPLACE ',' WITH '.' INTO t_tab-sale.
CONDENSE t_tab-sale NO-GAPS.
MOVE t_tab-sale TO t_tab1-sale.
REPLACE ',' WITH '.' INTO t_tab-final.
CONDENSE t_tab-final NO-GAPS.
MOVE t_tab-final TO t_tab1-final.
APPEND t_tab1.
CLEAR t_tab1.
ENDLOOP.
ENDIF.
ENDIF.
ENDFORM. " FR_BUILD_REP
*& Form fr_format_tab
text
FORM fr_format_tab.
DATA : lv_qty TYPE string.
IF NOT t_tab-qty IS INITIAL.
IF t_tab-qty+0(1) EQ '-'.
CLEAR lv_qty.
MOVE t_tab-qty TO lv_qty.
CLEAR t_tab-qty.
SHIFT lv_qty LEFT CIRCULAR.
CONDENSE lv_qty NO-GAPS.
MOVE lv_qty TO t_tab-qty.
MODIFY t_tab TRANSPORTING qty.
ENDIF.
ENDIF.
ENDFORM. " fr_format_tab -
Error during Performing Setup - SD Sales Orders...
Hi gurus,
I am getting an error while Performing Setup - SD Sales Orders by following the below steps from SAP best practices document for Sales Overview cube(0SD-C03).
In the Display IMG view choose Data Transfer to the SAP Business Information Warehouse à Settings for Application-Specific DataSources à Logistics à Managing Extract Structures à Initialization à Filling in the Setup Table  Application-Specific Setup of Statistical Data  SD-Sales Orders - Perform Setup.
ERROR MESSAGE IS: "Error determining rate: foreign curr. local curr.
USD date 11/06/2005(doc. 9153)"
Thanks.
Syed.
Note: This topic is marked as questions and will be rewarded with points.hi Syed,
you can use transaction SNOTE,
and menu go to->sap note browser, find if that oss note is there. this note quite old (2001).
manually, you can check program LSCUNF01 (SE38),
and compare with following (for r/3 4.6a - 4.6d),
depend on your r/3 version.
please ask basis help.
FORM ABWCT_EXIST
Delta 001
Context Block
FORM abwct_exist USING loc_curr for_curr exc_date
value(exc_type).
*------- DATC enthält das invertierte Datum -
CONVERT DATE exc_date INTO INVERTED-DATE datc.
Delete Block
Insert Block
*----- TCURV als erstes lesen, falls Invertierung aktiv -
IF tcurv-kurst NE exc_type OR tcurv-mandt NE mandt.
SELECT SINGLE * FROM tcurv CLIENT SPECIFIED
WHERE kurst = exc_type
AND mandt = mandt.
ENDIF.
Delta 002
Context Block
ENDIF.
ENDIF.
Alter Eintrag nicht verwendbar -
ELSE.
Delete Block
*----- TCURV als erstes lesen, falls Invertierung aktiv -
IF tcurv-kurst NE exc_type OR tcurv-mandt NE mandt.
SELECT SINGLE * FROM tcurv CLIENT SPECIFIED
WHERE kurst = exc_type
AND mandt = mandt.
ENDIF.
Insert Block -
How to download list of transaction from SAP area menu in SAP1 transaction
Hello All,
My requirement is I want to download the list of transaction under the SAP area menu in SAP1 transaction.
I tried with SE43, entered area menu as S000, but it doesn't give me of the same hierarchy and some transaction were missing, for example IH08 is available in SAP1 transaction and not available in SE43.
Could you please let me know is there any way to download the list.
Regards,
ThangaIf you open SE43N, type SAP1 and Display (F7), Tree is shown with collapsed nodes. Print option in Menu shows the same tree as a list. The nodes do not get expanded by default.
So in order to get expanded tree in list ( so that transaction codes can be seen), you need to expand the tree before choosing Area Menu > Print.
This works for average area menu which is less number of transactions.
Since you are looking for SAP1, it has lot of transactions, and on expanding it, information message is shown as:
The tree could only be partially expanded for performance reasons
Diagnosis: The hierarchy could not be completely expanded for performance reasons; it has too many subnodes.
Procedure:
Restrict the number of nodes to be expanded by expanding a lower-level node
or
Expand this node repeatedly until this message no longer appears. The hierarchy is then completely expanded.
As a result, IH08 transaction which is under Quality Management node can't be seen in list view as overflow occurred before this node was reached.
On debugging, it can be seen that the tree is expanded recursively by standard until an overflow flag is set.
In order to get around this overflow protection, you can write a custom code.
Below snippet is for demonstration purpose.
1. Run FM BMENU_DISPLAY_RSTREE in SE37 with tree_id as QM01
2. Run my snippet that calls same FM in the end
Compare 2 outputs and see the difference.
I am going 1 level deep and IH08 transaction can be seen in output.
Similarly, you can write a code that recursively expands every sub-tree found so that entire list can be seen.
DATA: ls_nodes TYPE hier_iface,
lt_nodes TYPE STANDARD TABLE OF hier_iface,
lt_nodes1 TYPE STANDARD TABLE OF hier_iface,
lt_nodes2 TYPE STANDARD TABLE OF hier_iface,
lt_refs1 TYPE STANDARD TABLE OF hier_ref,
lt_refs2 TYPE STANDARD TABLE OF hier_ref,
lt_text1 TYPE STANDARD TABLE OF hier_texts,
lt_text2 TYPE STANDARD TABLE OF hier_texts,
lv_tree_id TYPE hier_guid VALUE 'QM01'.
* read top level node
CALL FUNCTION 'STREE_HIERARCHY_READ'
EXPORTING
structure_id = lv_tree_id
read_also_texts = abap_true
TABLES
list_of_nodes = lt_nodes
list_of_references = lt_refs2
list_of_texts = lt_text2.
* read hierarchies of sub-trees
lt_nodes2 = lt_nodes.
LOOP AT lt_nodes INTO ls_nodes WHERE node_type EQ 'AMRF'.
CLEAR: lt_nodes1, lt_refs1, lt_text1.
CALL FUNCTION 'STREE_HIERARCHY_READ'
EXPORTING
structure_id = ls_nodes-reftree_id
read_also_texts = abap_true
TABLES
list_of_nodes = lt_nodes1
list_of_references = lt_refs1
list_of_texts = lt_text1.
* add sub-tree details to main tree
APPEND LINES OF lt_nodes1 TO lt_nodes2.
APPEND LINES OF lt_refs1 TO lt_refs2.
APPEND LINES OF lt_text1 TO lt_text2.
ENDLOOP.
CALL FUNCTION 'BMENU_DISPLAY_RSTREE'
EXPORTING
tree_id = lv_tree_id " Unique ID - 32 Characters
TABLES
list_of_nodes = lt_nodes2 " Hierarchy Maintenance Tool Node Passing Interface
list_of_refs = lt_refs2 " List of References to Structure Items
list_of_texts = lt_text2. " General Structure Repository Node Text -
TIME_OUT Error in calling transaction IP10
Hi all,
I would like to ask help from you guys, i am currently handling an error when using transaction IP30 (RISTRA20). The program returns an error (Message No. 00341)stating that the "texts from the batch input are not output. Only a placeholder".
Hope anyone can help me figure this out.
Note: In Transaction IP30, Transaction IP10 is being called. The error arises at this point.
Thanks in advance!Hi John,
I dont know what transaction are you talking about...
But if it is TIME_OUT.... you need to check for any OSS Notes available for this problem.
If not send a product error message to SAP.
There cannot be anyother solution,,,, if it is time_out.
go ahead. -
Active failed. Communication error when performing integrations.
I actived an activity but the request failed. In the request log,the last rows indicated the reason,but I can't understand and don't know how to solve it. Below show the last rows of the log:
Change request state from SUCCEEDED to FAILED
Error! The following problem(s) occurred during request processing:
Error! Communication error when performing integrations. HTTP protocol error [reason: Parsing of the response body failed [reason: Comment must start with "<!--".]]. Request FAILED.
REQUEST PROCESSING finished at 2010-09-05 03:00:16.468 GMT and took 2 m 36 s 172 msI copied SCs' info from http://host:port/sap/monitoring/ComponentInfo below:
Software Components
Vendor Name Version Location Applied
sap.com WD-APPS 7.11 SP3 (1000.7.11.3.0.20090708034600) SAP AG 20100227111730
sap.com WD-FLEX 7.11 SP3 (1000.7.11.3.0.20090708034600) SAP AG 20100227114200
sap.com ENGINEAPI 7.11 SP3 (1000.7.11.3.0.20090707235900) SAP AG 20100227104639
sap.com LM-MODEL-CE 7.11 SP3 (1000.7.11.3.0.20090708100200) SAP AG 20100227110643
sap.com LM-SLD 7.11 SP3 (1000.7.11.3.0.20090708100200) SAP AG 20100227111825
sap.com WD-RUNTIME 7.11 SP3 (1000.7.11.3.0.20090714195600) SAP AG 20100227112212
sap.com WD-ADOBE 7.11 SP3 (1000.7.11.3.0.20090708034600) SAP AG 20100227110000
sap.com EP-MODELING 7.11 SP3 (1000.7.11.3.0.20090708052800) SAP AG 20100227113917
sap.com J2EE-FRMW 7.11 SP3 (1000.7.11.3.0.20090707235900) SAP AG 20100227110242
sap.com ENGFACADE 7.11 SP3 (1000.7.11.3.0.20090707223600) SAP AG 20100227111458
sap.com ESREG-BASIC 7.11 SP3 (1000.7.11.3.1.20090819222300) SAP AG 20100227110634
sap.com CAF 7.11 SP3 (1000.7.11.3.0.20090708030100) SAP AG 20100227114351
sap.com ESF 7.11 SP3 (1000.7.11.3.0.20090716184100) SAP AG 20100227111734
sap.com CORE-TOOLS 7.11 SP3 (1000.7.11.3.0.20090707235900) SAP AG 20100227112432
sap.com EP_BUILDT 7.11 SP3 (1000.7.11.3.0.20090708053700) SAP AG 20100227112608
sap.com APP-LIB 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227105136
sap.com MOIN_BUILDT 7.11 SP3 (1000.7.11.3.0.20090708055000) SAP AG 20100227105811
sap.com LMNWABASICMBEAN 7.11 SP3 (1000.7.11.3.0.20090708100200) SAP AG 20100227112135
sap.com ESCONF_BUILDT 7.11 SP3 (1000.7.11.3.0.20090708053700) SAP AG 20100227110749
sap.com VCFRAMEWORK 7.11 SP3 (1000.7.11.3.0.20090708050100) SAP AG 20100227111401
sap.com LMINTERNALAGENT 7.11 SP3 (1000.7.11.3.0.20090708100200) SAP AG 20100227110251
sap.com APP-LIB-BASIC 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227104638
sap.com ESI-UI 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227112458
sap.com WDEXTENSIONS 7.11 SP3 (1000.7.11.3.0.20090708083400) SAP AG 20100227114257
sap.com LMNWACDP 7.11 SP3 (1000.7.11.3.0.20090708100200) SAP AG 20100227112218
sap.com EP-CONNECTIVITY 7.11 SP3 (1000.7.11.3.0.20090708052800) SAP AG 20100227112502
sap.com LMNWAUIFRMRK 7.11 SP3 (1000.7.11.3.0.20090708100200) SAP AG 20100227114149
sap.com SERVERCORE 7.11 SP3 (1000.7.11.3.0.20090721210400) SAP AG 20100227110257
sap.com CE-RA-EDM 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227110932
sap.com EP-BASIS-API 7.11 SP3 (1000.7.11.3.0.20090708052800) SAP AG 20100227112504
sap.com ESMP_BUILDT 7.11 SP3 (1000.7.11.3.0.20090708055000) SAP AG 20100227110214
sap.com ESREG-SERVICES 7.11 SP3 (1000.7.11.3.2.20091001033900) SAP AG 20100227112210
sap.com ESP_FRAMEWORK 7.11 SP3 (1000.7.11.3.2.20090914172400) SAP AG 20100227112151
sap.com VCKITBI 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227113947
sap.com BI_UDI 7.11 SP3 (1000.7.11.3.0.20090708053700) SAP AG 20100227114349
sap.com VCFREESTYLEKIT 7.11 SP3 (1000.7.11.3.0.20090708050100) SAP AG 20100227114146
sap.com EP-RUNTIME 7.11 SP3 (1000.7.11.3.0.20090715192600) SAP AG 20100227114235
sap.com BI-BASE-S 7.11 SP3 (1000.7.11.3.0.20090708074100) SAP AG 20100227114355
sap.com JSPM 7.11 SP3 (1000.7.11.3.0.20090721210400) SAP AG 20100227110220
sap.com UDDI 7.11 SP3 (1000.7.11.3.1.20090928214200) SAP AG 20100227110233
sap.com WSRM 7.11 SP3 (1000.7.11.3.0.20090708051400) SAP AG 20100227110903
sap.com UMEADMIN 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227112447
sap.com SAP_BUILDT 7.11 SP3 (1000.7.11.3.0.20090708053700) SAP AG 20100227112125
sap.com VTP_BUILDT 7.11 SP3 (1000.7.11.3.0.20090708053700) SAP AG 20100227104841
sap.com J2EE-APPS 7.11 SP3 (1000.7.11.3.0.20090707235900) SAP AG 20100227112629
sap.com MESSAGING 7.11 SP3 (1000.7.11.3.3.20090909003900) SAP AG 20100227114300
sap.com FRAMEWORK 7.11 SP3 (1000.7.11.3.0.20090721210500) SAP AG 20100227114152
sap.com LMNWATOOLS 7.11 SP3 (1000.7.11.3.0.20090708100200) SAP AG 20100227114149
sap.com CAF-MF 7.11 SP3 (1000.7.11.3.0.20090708030100) SAP AG 20100227111731
sap.com CAF-UI 7.11 SP3 (1000.7.11.3.0.20090708093200) SAP AG 20100227112401
sap.com SAPNWDEMO 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227104638
sap.com MMR_SERVER 7.11 SP3 (1000.7.11.3.0.20090708053700) SAP AG 20100227114353
sap.com DI_CLIENTS 7.11 SP3 (1000.7.11.3.0.20090708053700) SAP AG 20100227112503
sap.com UWLJWF 7.11 SP3 (1000.7.11.3.0.20090708074100) SAP AG 20100227113931
sap.com VCBASE 7.11 SP3 (1000.7.11.3.0.20090708050100) SAP AG 20100227112627
sap.com BI-WDALV 7.11 SP3 (1000.7.11.3.0.20090715032600) SAP AG 20100227111328
sap.com BI-WDEXT 7.11 SP3 (1000.7.11.3.0.20090708083300) SAP AG 20100227114258
sap.com SOAMONBASIC 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227112447
sap.com EP-ADMIN 7.11 SP3 (1000.7.11.3.0.20090726162100) SAP AG 20100227114239
sap.com EP-BASIS 7.11 SP3 (1000.7.11.3.0.20090708052800) SAP AG 20100227112829
sap.com LMNWABASICAPPS 7.11 SP3 (1000.7.11.3.0.20090727232800) SAP AG 20100227114323
sap.com LMNWABASICCOMP 7.11 SP3 (1000.7.11.3.0.20090726191000) SAP AG 20100227112449
sap.com LMCFG 7.11 SP3 (1000.7.11.3.0.20090726191000) SAP AG 20100227112609
sap.com LMCTC 7.11 SP3 (1000.7.11.3.0.20090708100200) SAP AG 20100227114321
sap.com NWTEC 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227112331
sap.com SR-UI 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227112359
sap.com BASETABLES 7.11 SP3 (1000.7.11.3.0.20090707235900) SAP AG 20100227112423
sap.com CFG_ZA_CE 7.11 SP3 (1000.7.11.3.0.20090707235900) SAP AG 20100227105952
sap.com LM-CORE 7.11 SP3 (1000.7.11.3.0.20090707235900) SAP AG 20100227111845
sap.com DI_CBS 7.11 SP3 (1000.7.11.3.0.20090708100200) SAP AG 20100227111119
sap.com BRMS-BUILDT 7.11 SP3 (1000.7.11.3.0.20090708055000) SAP AG 20100227104935
sap.com XI_CNT_SAP_BASIS 7.11 SP1 (1000.7.11.1.0.20081108235600) SAP AG 20100226194653
sap.com BRMS-FACADE 7.11 SP3 (1000.7.11.3.0.20090708055000) SAP AG 20100227105857
sap.com BPEM-CONTENT 7.11 SP3 (1000.7.11.3.0.20090708082900) SAP AG 20100227111116
sap.com ADSSAP 7.11 SP3 (1000.7.11.3.0.20090708053700) SAP AG 20100227104529
sap.com BPEM-PP 7.11 SP3 (1000.7.11.3.0.20090708082900) SAP AG 20100227110939
sap.com BPEM-HIM 7.11 SP3 (1000.7.11.3.0.20090708055000) SAP AG 20100227110948
sap.com DI_DTR 7.11 SP3 (1000.7.11.3.0.20090708100200) SAP AG 20100227110723
sap.com BPEM-CORE 7.11 SP3 (1000.7.11.3.0.20090708055000) SAP AG 20100227112433
sap.com BPEM-FACADE 7.11 SP3 (1000.7.11.3.0.20090708055000) SAP AG 20100227111735
sap.com SAP_XIGUI 7.11 SP3 (1000.7.11.3.2.20090819222300) SAP AG 20100227111517
sap.com SAP_XIESR 7.11 SP3 (1000.7.11.3.3.20091001183900) SAP AG 20100227111819
sap.com SERVICE-COMP 7.11 SP3 (1000.7.11.3.0.20090708055000) SAP AG 20100227112210
sap.com BPEM-WDUI 7.11 SP3 (1000.7.11.3.0.20090708082900) SAP AG 20100227112404
sap.com GP-VC 7.11 SP3 (1000.7.11.3.0.20090708091600) SAP AG 20100227112422
sap.com GP-PP 7.11 SP3 (1000.7.11.3.0.20090708091600) SAP AG 20100227113936
sap.com GP-CORE 7.11 SP3 (1000.7.11.3.0.20090708091600) SAP AG 20100227112606
sap.com DI_CMS 7.11 SP3 (1000.7.11.3.0.20090708100200) SAP AG 20100227114059
sap.com BPEM-MON 7.11 SP3 (1000.7.11.3.0.20090708082900) SAP AG 20100227112502
sap.com VOICERT 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227111455
sap.com BRMS-CORE 7.11 SP3 (1000.7.11.3.0.20090708055000) SAP AG 20100227114147
sap.com IDEUPDSITECE 7.11 SP3 (1000.7.11.3.0.20090708112000) SAP AG 20100227104951
sap.com BPEM-FLEXUI 7.11 SP3 (1000.7.11.3.0.20090708055000) SAP AG 20100227104710
sap.com BPEM-BUILDT 7.11 SP3 (1000.7.11.3.0.20090708055000) SAP AG 20100227104645
sap.com VOICEVC 7.11 SP3 (1000.7.11.3.0.20090708094400) SAP AG 20100227104733
sap.com IDEUPDSITETOOLS 7.11 SP3 (1000.7.11.3.0.20090708053700) SAP AG 20100227112428
test.sap.com HM-WDUIDMKTSCNR 7.11 SP0 (1000.7.11.0.0.1268322642085) Local Workplace 20100324083612
test.sap.com HM-WDUIDMKTCNT 7.11 SP0 (1000.7.11.0.0.1268322933427) Local Workplace 20100324083656
test.sap.com HM-WDUIDMKTCORE 7.11 SP0 (1000.7.11.0.0.1268322880287) Local Workplace 20100324083659 -
System is giving ABAP run time error while perform LT06 or create TO with r
Hi SAP WM Gurus,
System is giving ABAP run time error while perform LT06 or create TO with respect to posting change notice, below are runtime analysis details.
Short dump has not been completely stored. It is too big.
P_MENGA = P_MENGE.
007940 P_UMREZ = 1.
007950 P_UMREN = 1.
Can you give any idea on this issue.
Thanks and Regards,
SHARAN.Hi,
Go to Tcode ST22 and mentione the dump code there and check.
Also take help[ of Abapers to fix it.
Thanks
Utsav -
ABAP run time error while perform LT06 or create TO with respect to posting
Hi SAP WM Gurus,
System is giving ABAP run time error while perform LT06 or create TO with respect to posting change notice, below are runtime analysis details.
>> Short dump has not been completely stored. It is too big.
> P_MENGA = P_MENGE.
007940 P_UMREZ = 1.
007950 P_UMREN = 1.
Can you give any idea on this issue.
Thanks and Regards,
SHARAN.This part is just the place in the program where the error occured, but why the error occured is mentioned earlier in the dump.
Maybe you have a too big number in the field and hence a field overflow, maybe you have a character instead of a number in the field.
Read the dump from the beginning. if you dont know how to read a dump,then try to get help from any local Abaper. -
Hi All,
I get the following error in KEFC transaction when i try to upload file from application server.
"The transfer was terminated. However, content errors occurred".
When i debug the program i found the follwoing error messages
Field BUDAT no. 2 in record 1 is not filled acc. to type. Content
Field GJHAR no. 5 in record 1 is not filled acc. to type. Content:
Field PERDE no. 13 in record 1 is not filled acc. to type. Content:
Can someone please provide some inputs.
Thanks and Regards,
Sachin M MHi,
some customers has same situation and SAP Note 1139909 could solve this.
Hope it will solve.
best regards, Takashi -
Catching error in call transaction
Hi,
Can anyone tell me how to catch errors in call transaction method.
Please provide step by step guide.
Thanks,
ShipraHi Shipra...
This is the way...
data : It_MSG type table of BDCMSGCOLL with header line.
DATA : V_MESSAGE TYPE STRING.
LOOP AT ITAB.
PERFORM MAP_BDCDATA.
CALL Transaction 'MK01'
USING it_bdcdata
MODE 'N'
Messages into IT_MSG.
if sy-subrc ne 0. "when the Transaction is unsuccessful
**Display the Error messages
LOOP AT IT_MSG WHERE MSGTYP = 'E'.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
msgtyp = it_msg-msgtyp
msgno = it_msg-msgnr
msgid = it_msg-msgid
msgv1 = it_msg-msgv1
msgv2 = it_msg-msgv2
IMPORTING
MESSAGE = V_MESSAGE.
WRITE:/ V_MESSAGE.
ENDLOOP.
REFRESH : IT_BDCDATA, IT_MSG.
ENDLOOP.
<b>Reward if Helpful.</b> -
SAP note related to QA08 transaction
Hi all,
I am trying to activate inspection type using QA08 Transaction (for which we have written a BDC). The program runs successfully but the client says there is an internal error due to which the subsequent transactions are affected.
We are pretty sure that our program has no bugs.
Can anybody let me know are there any SAP Notes related to this Transaction.
Thankyou in advance,
LakshmiHi,
Use follwonig transactions
OSS1 / SNOTES.
You can always go to http://service.sap.com/
and search for notes.
Regards,
Shashank -
Getting error ORA-02067: transaction or savepoint rollback required
I am performing the task of archiving the data from one database into another database. This is being achieved by using a shell script. I run the shell script to call the procedure. After running two or three hours, I am getting the following error
ORA-02067: transaction or savepoint rollback required
Even I re-ran the job I was getting the same error.
Can any one suggest me why I am getting this error and what is the possible remedial of it ?Please post this question in General Database Discussions forum.
To get you started, here is what the documentation says about this error.
ORA-02067: transaction or savepoint rollback required
Cause: A failure (typically a trigger or stored procedure with multiple remote updates) occurred such that the all-or-nothing execution of a previous Oracle call cannot be guaranteed.
Action: rollback to a previous savepoint or rollback the transaction and resubmit. -
Sql error 12705 performing CON (Upgrade on Oracle10.2.0.2)
Hello,
I'm following the Oracle Upgrade Guide_211 for Oracle upgrade to 10.2.0.2 of our test system. It's SAP R/3 4.6C with 4.6D_EXT supp. pack 2271, HP-UX 11.11 and Oracle 9.2.0.5
I'm almost done with the upgrade (just startup of SAP instance)
Now I tested R3trans -d and it failed
<b>This is R3trans version 6.05 (release 46D - 12.07.06 - 16:40:00).
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'TST'"
R3trans finished (0012).</b>
In the trans.log:
cat trans.log
4 ETW000 R3trans version 6.05 (release 46D - 12.07.06 - 16:40:00).
4 ETW000 ===============================================
4 ETW000
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 date&time : 26.04.2007 - 12:56:34
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [developertra,00000] Thu Apr 26 12:56:34 2007 778 0.000778
4 ETW000 [developertra,00000] db_con_init called 39 0.000817
4 ETW000 [developertra,00000] create_con (con_name=R/3) 39 0.000856
4 ETW000 [developertra,00000] Loading DB library '/usr/sap/TST/SYS/exe/run/dboraslib.sl' ...
4 ETW000 150 0.001006
4 ETW000 [developertra,00000] load shared library (/usr/sap/TST/SYS/exe/run/dboraslib.sl), hdl 0
4 ETW000 46480 0.047486
4 ETW000 [developertra,00000] Library '/usr/sap/TST/SYS/exe/run/dboraslib.sl' loaded
4 ETW000 51 0.047537
4 ETW000 [developertra,00000] function DbSlExpFuns loaded from library /usr/sap/TST/SYS/exe/run/dboraslib.sl
4 ETW000 79 0.047616
4 ETW000 [developertra,00000] Version of library '/usr/sap/TST/SYS/exe/run/dboraslib.sl' is "46D.00", patchlevel (0.2311)
4 ETW000 579 0.048195
4 ETW000 [developertra,00000] function dsql_db_init loaded from library /usr/sap/TST/SYS/exe/run/dboraslib.sl
4 ETW000 56 0.048251
4 ETW000 [developertra,00000] function dbdd_exp_funs loaded from library /usr/sap/TST/SYS/exe/run/dboraslib.sl
4 ETW000 83 0.048334
4 ETW000 [developertra,00000] New connection 0 created 51 0.048385
4 ETW000 [developertra,00000] db_con_connect (con_name=R/3) 346 0.048731
4 ETW000 [developertra,00000] find_con found the following connection for reuse:
4 ETW000 48 0.048779
4 ETW000 [developertra,00000] Got ORACLE_HOME=/oracle/TST/102_64 from environment
4 ETW000 1255 0.050034
4 ETW000 [developertra,00000] -->oci_initialize 41 0.050075
4 ETW000 [developertra,00000] Got ORACLE_SID=TST from environment 103 0.050178
4 ETW000 [developertra,00000] Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
4 ETW000 79 0.050257
4 ETW000 [developertra,00000] Logon as OPS$-user to get SAPR3's password 29 0.050286
4 ETW000 [developertra,00000] Connecting as /@TST on connection 0 ... 40 0.050326
4 ETW000 [developertra,00000] -->oci_logon(con_hdl=0, user='', dbname='TST') 64 0.050390
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'olog' failed: rc = 1019 4272 0.054662
4 ETW000 [dbsloci. ,00000] *** ERROR => <b>CONNECT failed with sql error '1019'</b>4 ETW000 74 0.054736
4 ETW000 [developertra,00000] Try to connect with default password 31 0.054767
4 ETW000 [developertra,00000] Connecting as SAPR3/<pwd>@TST on connection 0 ...
4 ETW000 45 0.054812
4 ETW000 [developertra,00000] -->oci_logon(con_hdl=0, user='SAPR3', dbname='TST')
4 ETW000 42 0.054854
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'olog' failed: rc = 12705 160083 0.214937
4 ETW000 [dbsloci. ,00000] *** ERROR => <b>CONNECT failed with sql error '12705'</b>4 ETW000 106 0.215043
4 ETW000 [developertra,00000] Got ORACLE_SID=TST from environment 208 0.215251
4 ETW000 [developertra,00000] Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
4 ETW000 48 0.215299
4 ETW000 [developertra,00000] Logon as OPS$-user to get SAPR3's password 27 0.215326
4 ETW000 [developertra,00000] Connecting as /@TST on connection 0 ... 30 0.215356
4 ETW000 [developertra,00000] -->oci_logon(con_hdl=0, user='', dbname='TST') 30 0.215386
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'olog' failed: rc = 12705 144873 0.360259
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '12705'
4 ETW000 79 0.360338
4 ETW000 [developertra,00000] Try to connect with default password 32 0.360370
4 ETW000 [developertra,00000] Connecting as SAPR3/<pwd>@TST on connection 0 ...
4 ETW000 43 0.360413
4 ETW000 [developertra,00000] -->oci_logon(con_hdl=0, user='SAPR3', dbname='TST')
4 ETW000 42 0.360455
4 ETW000 [developertra,00000] Thu Apr 26 12:56:35 2007 147148 0.507603
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'olog' failed: rc = 12705 93 0.507696
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '12705'
4 ETW000 58 0.507754
4 ETW000 [dblink ,00627] ***LOG BY2=>sql error 12705 performing CON 439 0.508193
4 ETW000 [dblink ,00627] ***LOG BY0=> 38 0.508231
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'TST'"
For the sidadm user I didnot set the NLS10 variable:
<i>Ensure that the environment variable ORA_NLS10 is NOT SET for the sidadm user. Setting ORA_NLS10 for the sidadm has resulted in strange system behaviour.!!!!!</i>
Do ypu have any idea what is the problem how I can start the SAP with my successfully upgraded DB from 9.2.0.5 into 10.2.0.2????
Many regards,
RuzicaHello,
For the user tstadm:
env
HOME=/home/tstadm
PATH=/oracle/TST/102_64/bin:.:/home/tstadm:/usr/sap/TST/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/netscape:/opt/scr/bin:/opt/mx/bin:/opt/gnome/bin:/opt/ignite/bin:/opt/graphics/common/bin:/usr/sbin/diag/contrib:/opt/sec_mgmt/spc/bin:/sbin/fs/vxfs3.5/bin
LOGNAME=tstadm
SHELL=/usr/bin/csh
TERM=xterm
COLUMNS=158
LINES=60
MANPATH=/usr/share/man/%L:/usr/share/man/fs/vxfs3.5:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/mx/share/man:/usr/dt/share/man:/opt/samba/man:/opt/resmon/share/man:/opt/scr/share/man:/opt/gnome/man:/opt/graphics/common/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/sec_mgmt/share/man/%L:/opt/sec_mgmt/share/man:/opt/ssh/share/man:/opt/EMCpower/share
TZ=MET-1METDST
SAPSYSTEMNAME=TST
DIR_LIBRARY=/usr/sap/TST/SYS/exe/run
SHLIB_PATH=/usr/sap/TST/SYS/exe/run:/oracle/client/10x_64/instantclient
THREAD=NOPS
dbms_type=ORA
dbs_ora_tnsname=TST
ORACLE_PSRV=TST
ORACLE_SID=TST
ORACLE_HOME=/oracle/TST/102_64
ORACLE_BASE=/oracle
ORA_NLS33=/oracle/TST/102_64/nls/data
SAPDATA_HOME=/oracle/TST
LD_LIBRARY_PATH=/oracle/TST/102_64/lib:/usr/sap/TST/SYS/exe/run
and for the user oratst:
env
HOME=/oracle/TST
PATH=/oracle/TST/102_64/OPatch:/opt/java1.4/bin:/usr/sbin:/oracle/TST/102_64/bin:/oracle/TST/102_64/OPatch:/opt/java1.4/bin:/usr/sbin:.:/oracle/TST:/usr/sap/TST/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/netscape:/opt/scr/bin:/opt/mx/bin:/opt/gnome/bin:/opt/ignite/bin:/opt/graphics/common/bin:/usr/sbin/diag/contrib:/opt/sec_mgmt/spc/bin:/sbin/fs/vxfs3.5/bin
LOGNAME=oratst
SHELL=/usr/bin/csh
TERM=xterm
COLUMNS=158
LINES=60
MANPATH=/usr/share/man/%L:/usr/share/man/fs/vxfs3.5:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/mx/share/man:/usr/dt/share/man:/opt/samba/man:/opt/resmon/share/man:/opt/scr/share/man:/opt/gnome/man:/opt/graphics/common/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/sec_mgmt/share/man/%L:/opt/sec_mgmt/share/man:/opt/ssh/share/man:/opt/EMCpower/share
TZ=MET-1METDST
SAPSYSTEMNAME=TST
DIR_LIBRARY=/usr/sap/TST/SYS/exe/run
ORACLE_HOME=/oracle/TST/102_64
SHLIB_PATH=/oracle/TST/102_64/lib:/usr/sap/TST/SYS/exe/run
THREAD=NOPS
ACTIVE_STATE_PERL=TRUE
dbms_type=ORA
dbs_ora_tnsname=TST
ORACLE_PSRV=TST
ORACLE_SID=TST
ORACLE_BASE=/oracle
NLS_LANG=AMERICAN_AMERICA.WE8DEC
ORA_NLS10=/oracle/TST/102_64/nls/data
SAPDATA_HOME=/oracle/TST
SAPARCH=/oracle/TST/sapbackup
LD_LIBRARY_PATH=/oracle/TST/102_64/lib64
Many regards,
Ruzica
Maybe you are looking for
-
di I need an account to place photoshop elements on a new computer after deactivating or will the serial number suffice?
-
(Class cast Exception)Problem while loading data fro database in java class
Dear all, Please help me...to solve this I have a database having two columns of String and Date Types. In my java code i was trying to load the data to a UI. I am successfull in loading the String type value. But while loading date field value,is sh
-
Broken webservice behavior in CF 7.0.2?
I've managed to consume a webservice that uses a complex data type as one of its input parameters on my DEVELOPMENT machine (WinXP, CF Dev 7,0,0,91690). I get the following error when I move the code up to our STAGING server (Win2003, CF Standard 7,0
-
Lost Administration menu (Gnome)after huge upgrade,
Gnome issue:~ I just found that all items such as Session, Service... under Administration menu have disappeared... I tried to edit the menu but I didn't see any items can be ticked within Administration .Please could anybody help me solved this pro
-
Hello, I was wondering if I should work with the computer pluged without the battery. Or if it is best to charge the battery, then plag out, work only on battery, and when it is low, charge it again. Which is the best combination to get the optimal p