Thursday, January 30, 2014

Maintain access data in SAP marketplace secure area


Go to service.sap.com
Go to 'Data adminstration' tab/area
Go to 'System data'
Choose your product -> Maintain
Maintain acces data -> 'Modify'
 

Adobe: Cannot extract the embedded font arial.Some char might not be displayed


Issue comes when we converted SAP script to Adobe PDF - and when we try to open PDF file.

this can be related to the compression of the PDF file.
You can turn off the FlateDecode compression again via report RSTXPDF3 as described in Note #843480. It is a little confusing. The option 'FLATE_COMPR_OFF' needs to be set to 'On' to turn off the FlateDecode compression.
To set this please run as follows:
se38 -> RSTXPDF3 -> enter 'FLATE_COMPR_OFF' in the 'Name' field -> Select 'Change Settings' radio button
You will get a pop-up 'Do not use flat compression'.
Select the 'on' button.
After this check if the PDF is created correctly.

https://scn.sap.com/thread/1673655

Wednesday, January 29, 2014

Forward workplace to Outlook - SO16



Using SO16, you can forward your WORKPLACE to MS-OUTLOOK.
 
  • First go to SO16. Click on 'Mail sys grp' tab.
  • Select 'Send to Home Address of Users'.
  • Click on Address Check. Select 'Automatic Forward' tab.
  • Click New entry. Give user 'Email address' like gmail or etc..
  • Then select 'Recepient address type' as 'A'.
  • Set the date and time.

Condition contract tables


Condition contract tables:

WCOCOH
WCOCOI
WCOCOF - Document flow
WBRK - Remuneration settlement (CHBC, CHBK docs) (like VBRK)
WBRP - Remuneration settlement item (CHBC, CHBK docs) (like VBRP)

SPRO -> SAP Global Trade Management -> Compensation Management

Tuesday, January 28, 2014

Attachment list in ECC FB03


Table to save attachment information in ECC is SRGBTBREL

 

Pricing or Outputs access sequence with same condition table multiple times


While configuring access sequence in Pricing or Outputs, we can avoid creating same kind of access multiple times  (We may some time can get this scenario, where data types of fields are same, though fields are different).

In access sequence, create 2 accesses using same condition table - but in 'Fields', you can assign different 'doc. field'.

So, instead of having multiple accesses of same key combination,

We can have single access.

 

Friday, January 24, 2014

Deleted sales order - check changes


To know who deleted the sales order run the program RVSCD100  Or you can go to VA03 with the order number, do not go into VA03 screen, instead go to 'Environment->changes' from front screen.
Or, you can check in CDHDR/CDPOS table.

Reference: http://scn.sap.com/thread/1041663

For delivery:  Go to VL03N and go to environment -> changes

Change doc. object   =   EINKBELEG  for Purchase Order
 
                                 = VERKBELEG  for sales order
   
                                 = LIEFERUNG for  Outbound delivery

Thursday, January 23, 2014

Sending email from SAP


To setup mail config in SAP :  Go to SCOT

In SOST, you can see sent/waiting emails.

Program RSCONN01 need to be scheduled in background (for every 2 mins) to send the 'waiting' mails from SOST.

If you want to send your email immediately (not waiting for background RSCONN01 to run), then just run the program RSCONN01 in your program (using SUBMIT statement).

CRM Implementation notes



PFCG Roles required for LORD (Lean Order management in CRM):

SAP_S_RFCACL
SAP_LO_SD_ORDER_MANAGEMENT

Middleware documents are in Dropbox/CMS/Gauri CRM folder
 

There is a short dump that occurs in the CMS erp system when CRM invokes standard RFCs.

We found a OSS note (1817375) that resolves this issue(Module
ERP_LORD_REMOVE_ACTIVE_FIELDS is not RFC-enabled).


SMTP Configuration
For SMTP Configuration on CRD system we required below details-

1) Default domain
2) Mail Host IP address
3)Port 25 allow in firewall.


Further to this, the Exchange Server must also be configured to allow SMTP relay from the CRM systems. If not then exchange will refuse send requests from CRD.

Lord mapping 
In ECC side we need to activate Lord mapping  this is manual  activity



Activate the following business functions in transaction SFW5 in ECC
1.       SD_01
2.       LOG_SD_CI_01
3.       LOG_SD_CI_02
4.       LOG_SD_SIMP_02
Org setup
Set Org units in PPOMA_CRM -  We can setup Sales org-dist channel-division , Sales office, Sales group here
Assign org unit to Business partner  through relationships in PP01 (or you can do from PPOMA_CRM -> Goto-> Detailed Object->Enhanced description)

TYPELOAD_NEW_VERSION run time error


TYPELOAD_NEW_VERSION Runtime error:

When I moved changes to VBAP structure to Live, we got short dumps and update dumps with TYPELOAD_NEW_VERSION error.

This is because, one program some how not considering the new changes. I tried 'Generate' the program. Also 'Activate'd it in Live again.  This fixed the issue (not sure why).  Also, ask users to Log out and Login back to SAP - this helped as well.

http://scn.sap.com/thread/2154608

Wednesday, January 22, 2014

Pricing: add subtotals fields


You want to download OSS note
155012. This explains the steps to add subtotal fields;
however, you will not be adding the option in the subtotal
drop-down box.
In a nutshell, the process is as follows:
Add your field to the following tables:
VBAP, VBRP, KOMP and KOMPAX. (VBRP if you are using field in SIS
Reporting on billing). The value will be transported from
KOMPAX to VBAP and from VBAP to VBRP via standard move
corresponding.

Create a new VOFM Condition value formula. This formula will set
the value of KOMP-ZZFIELD. The value is moved from KOMP to
KOMPAX via move corresponding internally by SAP (this is how the
regular subtotal fields make it to VBAP.

Add code in USEREXIT_XKOMV_BEWERTEN_INIT (RV61AFZB) to clear the
subtotal value at the beginning of pricing. Note, if you wish
to have the subtotal accumulate (like putting subtotal 3 on two
different lines), then you need to do that accumulating in your
VOFM code.

The note is very clear and I have used it to add multiple
subtotals to a document.

Third party order - PO creation


Third party or Licence Orders

Create order -> this will create a PR (Purchase Requisition).

ME59 -> Create PO from PR  (generally this will be scheduled in background)

To release PO, use ME29 tcode

MIGO -> For Goods In

MIRO -> For vendor invoice

Third party order can be setup such a way that it can only be invoiced (customer invoice), when the vendor invoice is created by MIRO

But in CMS, we allowed customer billing after MIGO

Tuesday, January 21, 2014

To move variants from one user to another



SE38 -> RSVARENT  - To move variants from one user to another

RV80HGEN - to activate VOFM routines



VOFM program to run in each system after the transport -   RV80HGEN

CDHDR - Address changes in sales document



Address (ship-to) changes in sales document will not be shown in change logs. But still logged in CDHDR table.  Object-class is ADRESSE and give  object-id as ‘SD01XXXXXXXX’ where ‘XXXXXXXXX’ is address number which can be fetched from VBPA table in ‘Address’ field.

CRM7.0 – To change skin color


 

 
 
 
Set user parameter  CRM_THTMLB_COLOR  (for eg: set to 90312A)

Can set to all users at a time by SU10

Web service setup for RFC


        go to SE37
-->FM name : < the RFC name >
-->open in Edit mode
-->Utilities -> More Utitlities->Create Web service -> From FM
then follow the wizard which will guide u to create the webservice from the RFC
after that inorder for u to execute the web service follow this link

 To test using SOAPUI – download wsdl from below to htm file.

Web service can aslo be tested using 'Test' button in SE80 -> Enterprise services -> Give Service name and press enter

Tcodes - MM



MB51 - Material document list (we can also see ‘booked in history’ )
MIGO – Goods receipt – book in

MR21 – To set MAP manually

MR51 - To check FI docs for Material documents (useful for MAP value understanding)

MB1A - Enter Goods Issue (Can be used to create Stock - For testing, use 551/552 postings - for removal/create stock in Plant-storloc)

MRBR - Vendor Invoice verification - Check and Release block - u can find blocking reason here


MD04 – Stock flow

CO09 – Availability overview for material

Difference between CO09, MD04 and MMBE – below link
https://scn.sap.com/thread/1449072

In CO09, click on 'Overview Stock' button to give a highlevel over view, From this drill down by Stor Loc, this gives a clear picture..

CO06 - Backorder Processing - Here, you can remove confirmed qty (of undelivered orders) and give it to another one.

MD04 also contains Forecasting values - so little confusing
 
ME59N – Automatic creation of POs from PR
ME29N – Realease PO

MEAN - To create an independent address (with address number) which can be used as 'Delivery address' in PO (manually give address number)

ME51N – Create Purchase requisition

ME21N – Create PO

MMRV – To check Open posting period (material master)

MMPV – To close existing period and open next one (material master)
MMPI - To open previous periods
M_LD – Purchasing condition records report
MR51  -  Accounting documents for material -  we can see MAP changes here

MIR4 -  Vendor invoice display
MIR5 - Vendor invoice report

MEK1 - Create Pricing condition -for POs

V_V2 - Rescheduling Sales and Stock transfer docs - by material
OPPJ - ATP check rules

ME2M, ME2L - Purchase orders based on Material and Vendor respectively
ME1M, ME1L - Purch Info records based on Material and Vendor respectively

MM - no document flow



There is no document flow like SD in MM

Inorder to get the doc flow for a PO you can goto ME23N or ME22n and in item details click on PURCHASE ORDER HISTORY TAB here you will get the GR , IR etc.

Alternatively you can goto table EKBE and enter the EBELN (PO number ) and execute you will get the doc flow

Third party sales process


Third party sales process as below

1-Sales order is created

2- on reference of sales automatic PR is generated you can check PR in sales order -Item data- Scheduline

3- Third Party PO is generated

4- good receipt through MIGO

5- MIRO posting

6- Customer billing from sales order

in this process if you did not post MIRO(invoice verification) then system will not allow to create customer billing, you can check in used scheduline category in VOV6 where PR type maintained

But in CMS, we allowed customer billing after MIGO

VPRS (Cost) in sales order



VPRS cost is determined from MAP.

In third-party scenario (in CMS), VPRS is calculated from price in POs for the material (this is bespoke code in CMS).

CDHDR object class for Purchase order

To fetch creation time from CDHDR for Purcahse order:

Go to CDHDR -> give Object class as EINKBELEG and object id as PO number.

CDHDR object classes:

To get all object classes, go to SCDO tcode - here you can search for object class