
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 1039 Articles for SAP

148 Views
You can test the connection using T-code: SE38 using ADBC_TEST_CONNECTION. You could check details of exception as below:TRY. EXEC SQL. CONNECT TO 'ZUNIXDB_DBCON' ENDEXEC. EXEC SQL. OPEN dbcur FOR SELECT id FROM table ENDEXEC. CATCH cx_sy_native_sql_error INTO lr_cx_native_sql_error.

711 Views
Many users use RFC_READ_Table as API for generic table access.Joins are not supported in RFC_READ_TABLE - Not correct as you can any time join your application. If you face any issues, you can ask user ABAP developer to create a Function Module.Select * query does not work for most cases as the data_buffer_exceed error is thrown- You shouldn’t run select * all the time as you don’t need all the data. You should only pull information that is required.

118 Views
Note that you need to execute function call in a single session so you have to wrap your logic into JCoContext. Try using below method:try { JCoContext.begin(destination); try { // your function calls here // probably bapiTransactionCommit.execute(destination); } catch(AbapException ex) { // probably bapiTransactionRollback.execute(destination); } } catch(JCoException ex) { [...] } finally { JCoContext.end(destination); }

868 Views
The code you are using \1+ just removes consecutive occurrences only. You can use the below code.SELECT REPLACE_REGEXPR('(.)(?=.*\1)' IN '22331122' WITH '' OCCURRENCE ALL) FROM DUMMYThe output will come out to be “312”. This will remove all multiple occurrences and only last one will be kept.

192 Views
As per my understanding, the only way to get the MQ jar files or the MQ C/C++ library files onto a system is by installing any of the below:Using WebSphere MQ product orUsing WebSphere MQ Client SupportPacsYou can find jar file under WebSphere MQ V7.0 Clients SupportPacks. The install files are commonly available under java/lib directory.You can try installing jar files from Fix Central. Go to Fix Central and enter "Java" in the Text search box.https://www-945.ibm.com/support/fixcentral/swg/identifyFixes?query.parent=ibm~WebSphere&query.product=ibm~WebSphere~WebSphere%20MQ&query.release=9.0&query.platform=AllThe name of the file to be downloaded is in this format:-[IBM|WS]-MQ-Install-Java-All.jar.For example, for MQ V9.0:9.0.0.0-IBM-MQ-Install-Java-All.jar.You have the following files that can be moved to ... Read More

1K+ Views
Note that home page URL is part of Business Partner’s communication data and comes under address data or address independent communication.You can use Function Module - BAPI_BUPA_ADDRESS_ADD/BAPI_BUPA_ADDRESS_CHANGE for updating it with communication data or FM’s BAPI_BUPA_CREATE_FROM_DATA/BAPI_BUPA_CENTRAL_CHANGE for address independent communication.BAPI_BUPA_CREATE_FROM_DATA SAP BP, BAPI: Create Business PartnerBAPI_BUPA_CENTRAL_CHANGESAP BP, BAPI: Change Central DataBAPI_BUPA_ADDRESS_ADDSAP BP, BAPI: Add AddressBAPI_BUPA_ADDRESS_CHANGE SAP BP, BAPI: Change AddressFunction Module: BAPI_BUPA_ADDRESS_ADD Function Group: BUBA_3 SAP BP: External BAPI Function Modules Program Name: SAPLBUBA_3Following are the parameters:Read More

471 Views
This looks like an issue with Join in queries. Try replacing Inner join with Left join like this. I ran this query and it is working fine:select T0.DocNum as 'Payment Number', T0.DocDate 'Payment Date', T0.CardCode, T0.CardName 'Customer Name', T1.BankCode 'Bankcode', T3.BankName 'Bank Name', T2.Phone1 , T0.CreditSum, T0.CashSum, T0.TrsfrSum, t0.CheckSum, t1.CheckNum as 'Check Number', t1.DueDate as 'check date', t6.VoucherNum as 'Voucher Number', t0.TrsfrRef as 'Transfer No', t0.TrsfrDate AS 'Transfer Date', ousr.USER_code as 'user code', T5.DocNum, t11.U_P_BuildingName as 'Building Name', CASE when T5.DocNum is null then 'On Account' else 'Paid For Invoice' END AS 'Payment Status', CASE when T5.DocStatus = 'O' then ... Read More

1K+ Views
There are multiple ways to do this. First is by creating a variable like this:Terms Count =Count([Terms Code]) in ([Sales #])You have to add this variable to your report. It will display 1 for all Sales # 1000 and 2 for all Sales # 1001. You can apply a filter on Count > 1.You can also do this using PREVIOUS() function as below:Previous([Payment Terms Code]; ([Sales #];[Line #]))