Monday, March 31, 2014

FI Tcodes


OC41 - Maintain exchange rates

F-02 - G/L Account posting

O7E5/O7E6  - Maintain Fast entry screen

VKOA - Assign G/L accounts (Link to SD Pricing and accounting)

OBC4 - To setup Field status groups (To make a field mandatory in FB01/2/3 etc.. - you can assign FSG to G/L account through FS00 tcode)

FS00 - G/L account Edit  (to check changes in FS00 - go to last tab - information tab)

OB41 - Posting key accounting config - you can set config for posting key - (Using Field status, you can also make some fields mandatory)

EWCT -  Exchange rate conversion calculater

Wednesday, March 26, 2014

RFC Trace logs


tRFC trace :
(source link: http://scn.sap.com/thread/3196278 )

sm58
SM12
SMOHQUEUE
SMQS

TRFRCQIN and TRFCQOUT are the main tables that store this info. . Other important tables include ARFCSSTATE, ARFCSDATA, ARFCRSTATE, QREFTID.
The following link provides a list of RFC-related modules and programs:
http://help.sap.com/saphelp_47x200/helpdata/en/21/5c5f3ca0dd9770e10000000a114084/frameset.htm
Ths gives ways of monitoring the performance, but there is no report to say how many queues have processed in a timeframe, as far as I know (I'll double check this and confirm this by tomorrow). We've never found this to be the most helpful apporach in pefomance monitoring, anyalysis of RFC performance issues or load testing. Usually it's more meaningful to know rate of transfer of sales orders, or BPs etc which can be more easily checked and has more relevance to meeting your business requirements.
RFC logs are can be viewed in the dev_rfc* files in ST11, and the dev_rd (dispatcher log) is also a useful reference for RFC analysis

There is a performance check in RZ20:
SAP CRM Monitor Templates -> CRM Middleware. Here you will see specific perfomance for CRM inbound and outbound queues.
You can also use ST03 - this shows the workload at BDoc level under the 'CRM Workload' section.
There is no direct equivalent for the ECC. However, ST03 also does show the RFC load on each application server on the ECC side.

Tuesday, March 25, 2014

Web services Testing


SOAP UI

SOAP UI is good tool to test web services.  Get 'binding WSDL' for the webservice from SOAMANAGER, and save it as xml file.
Open SOAP UI  -   create a new project  - give the wsdl file
To setup certificates - Go to File->Preferences->SSL certificates.  (check below link)
http://geekswithblogs.net/gvdmaaden/archive/2011/02/24/how-to-configure-soapui-with-client-certificate-authentication.aspx

In SAP

Go to SE80 -> Enterprise services -> Service definition -> give service definition name
Test (Click on 'Test')
Get template -> Edit and give parameters

Friday, March 21, 2014

CRM Middleware Tcodes


- R3AC1 for prepare/filter download Business Object -  contains filters
- R3AC3 for prepare/filter download Customizing Object
- R3AC5 for prepare/filter download Condition Object
- R3AS for starting download Business, Customizing and Condition Object
- R3AM1 for monitoring the object download.

- R3AR2 for defining manual download request
(while doing request load, remember setting ‘Delete’ flag in SMW01 - this helps in not processing bdoc again by mistake)
- R3AR4 for starting manual download request
- R3AR3 for monitoring manual download request
- SMOEAC - Admin console - Publication, Subscription etc..

- PIDE - R/3<->CRM Assign Account grp to BP classification


SMW01 - To monitor bdocs
SMW02A - To get all bdocs grouped with error messages
SMW20 - To reprocess in bulk - You can schedule this program every hour

FIBF - User exits

SAP HANA


SAP HANA -  Explained in a good way in below link

http://wikibon.org/wiki/v/Primer_on_SAP_HANA

Setup EDI idoc (Standard)


How to setup new EDI idoc (Standard)

Step 1:  Find relavant Idoc type and Message type - This is based on business process.
Dropbox -> CMS -> EDI Idocs -> 'EDI with EDIFACT - Mapping Types' doc can help  - Or just search in internet

Step 2: Go to WE19  - > Get template for Test based on Messag type

Step 3: Get an idea on what to fill in template using WE60 tcode (look for Documentation)
You can also find XML templates in internet for message type.

Step 4: Run and make sure it works.  Now, note down if you require any additional fields.