Archive for March, 2010

Testing…. regular expressions!

| March 19, 2010 | 0 Comments

DEMO_REGEX_TOY is a very useful report when you need to find a exact regular expression that suits your needs. Here’s a small example that you can try to see how cool it is: Imagine that you want to find a number on a string, no matter what position. To do this try: – Enter SE38 [...]

Continue Reading

Create activities

| March 18, 2010 | 0 Comments

If you need to create activities via ABAP, the BAPI named ‘BAPI_ACTIVITYCRM_CREATEMULTI’ is the one you need. Since parameters filling are not very intuitive for starters, report CRM_CALL_ACTIVITY_INTERFACE was designed to help you using this bapi, with a little help of our debug friend.

Continue Reading

How to Debug a Job in SAP?

| March 18, 2010 | 0 Comments

This is a problem that happens a lot of times, how to know what a job is doing by debug? Transaction SM37; Select the Job; In the OK-CODE field write JDBG; If you have any other solution for this problem feel free to comment and help other readers

Continue Reading

At CRM, how to get R/3 RFC

| March 17, 2010 | 0 Comments

You are coding at SAP CRM. You want to get the R/3 RFC to do something integrated with R/3 system. How? DATA ls_erpsite             TYPE smof_erpsh. *- Get R/3 RFC (ls_erpsite-rfcdest) CALL FUNCTION ’SMOF_READ_SMOFERPSH’ EXPORTING i_sitetypeid = ’SMOF_ERPSITE’ IMPORTING e_smof_erpsh = ls_erpsite. CHECK ls_erpsite IS NOT INITIAL. *- Ping R/3 using obtained RFC to confirm communication CALL FUNCTION ’RFC_PING’ DESTINATION ls_erpsite-rfcdest EXCEPTIONS system_failure        = 1 communication_failure = 2. CHECK sy-subrc = 0.

Continue Reading

SAP CRM 2007 Tutor Files

| March 15, 2010 | 0 Comments

If you like to experiment yourself some SAP CRM processes, just download some tutor files at following path: – Enter http://service.sap.com/bestpractices – Enter navigation entry ‘SAP Business All-in-One’ – Then ‘Demonstrate and Experince’ – Then ‘Interactive Tutorials’ – Then ‘Customer Relationship Management’ You’ll need SAP Tutor to play these files. You can download it at: [...]

Continue Reading

Beware the curse…

| March 14, 2010 | 0 Comments

If you work on SAP R/3 don’t mess with include LV61BMES, or you’ll be  cursed and hunted by 1000 crying devils! If you don’t believe it, see by yourself

Continue Reading

Download SAP GUI JAVA for MAC OS X

| March 12, 2010 | 0 Comments

This is the download location for SAP GUI JAVA that works on the MAC. Please feel free to use: Link to Download Page Here is the Public FTP for all the versions: ftp://ftp.sap.com/pub/sapgui/java

Continue Reading

How to document your class coding in a PDF?

| March 12, 2010 | 0 Comments

If you need to document all your class methods coding in a single cool PDF, you can do that using two simple reports: – First, use report RWBPRINT to generate a spool order with your class information. – Then, go to t-code SP01 to get your spool ID – Finally, use report RSTXPDFT4 to generate [...]

Continue Reading