工作生活与爱好

工作中的记录; 生活中的记忆; 业余爱好的记载。

2007-01-29

 

Prompt the last Purchase Order Price for the Material

If you want the system to take the price from the last Purchase Order, then do not maintain the conditions in the info record because it has precedence over the last PO. This means that the netprice field in the info record should be left blank.

In the case when you have already maintained the conditions in the info record (or netprice), try to delete them or make them invalid by changing the validity date.

Even though no price was maintained, the info record will still keep track of the Order price history.

To check the Order price history, go into the material info record and click Environment -> Order price history


 

Problem printing your Purchase Order

If you got this printing log message :-

No print-relevant changes to document 9912345678 exist

Message no. ME 140

Execute this program RSNAST0F in SA38 to do the printing.

Object key : Your Purchase Order Number

Output type : NEU

Transmission medium : 1

Output application : EF

 

What is Purchasing Value Key

What is the function of PURCHASING VALUVE KEY in PURCHASE ORDER?

Purchasing Value Key is useful for setting reminder for the material you can find in material master in Purchasing view.

Purchasing value key determines the following things:

1) Reminders keys- There are 3 keys which determine in how many days before or after the vendor has to be reminded or urging letters for the material procurement.

2) Over and under deliveries tolerances.

3) Order acknowlegdement requirements in PO.

It gives all the conditons in which the procurement is made. You can have different purchasing value keys which has to be customized in IMG - MM - Purchasing - MM - Define Purchasing Value Keys.

To make it much more clear, Purchasing value key decides the following fields:


 

Control Sender Address when Sending PO

Content Author: Kevin

PO by e-mail: how to control sender address
My PO's are now being send by e-mail. Unfortuntely, it seems impossible to control the sender of the e-mail; When the timing is on '4', the sender will be the employee who did the final release, when on '1', the sender will be the user who schedules the RSNASTOO job. I want the user who created the PO to be the sender of the PO.

The following may help you solve your problem.

I am using the following in my PO Sapscript

/: DEFINE &W_USER_EMAIL& = ' '
/: PERFORM GET_USER_EMAIL IN PROGRAM ZVENDOR_FAX_EMAIL
/: USING &EKKO-ERNAM&
/: CHANGING &W_USER_EMAIL&
/: ENDPERFORM
= ,,,, &'Created by: 'W_USER_EMAIL&

and the following in PROGRAM ZVENDOR_FAX_EMAIL

FORM GET_USER_EMAIL TABLES IN_TAB STRUCTURE ITCSY
out_tab structure itcsy.

data: L_user like USR21-BNAME.
data: L_persno like usr21-persnumber.
data: L_user_email like ADR6-SMTP_ADDR.

* gets User name
READ TABLE IN_TAB WITH KEY 'EKKO-ERNAM'.
IF SY-SUBRC EQ 0.
CLEAR: L_USER, L_USER_EMAIL, L_persno.
L_user = IN_TAB-value.

* read user master
Select single PERSNUMBER from usr21 into L_persno
where bname EQ L_user.
*e-mail found
if sy-subrc eq 0 and L_persno ne space.
select smtp_addr from adr6 into L_user_email
up to 1 rows
where persnumber eq L_persno
and date_from le sy-datum.
endselect.
if sy-subrc eq 0 and L_user_email ne space.

read table out_tab with key 'W_USER_EMAIL'.
if sy-subrc eq 0.
move L_user_email to out_tab-value.
modify out_tab index sy-tabix.
endif.
endif.
endif.
endif.
endform. "GET_USER_EMAIL

 

External Send - Sending PO by email

In order to send PO, your Basis team must configure the system first so that external email can be send out from SAP. If it is not configured, no settings you do on MM will work.

1. You must maintain email address in vendor master data.

2. The same applies to your user master data. For the output type for default values, a communication strategy needs
to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the
Customizing via the following path:

(SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy).

As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).

3. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.

4. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).

5. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.

6. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.


 

GR-Non Valuated Indicator for SAP Purchasing

If this indicator is ticked in the Purchase Order, then no financial posting is made at the time of posting a Goods
Receipt.

The only posting would occur on Invoice Receipt.

It is commonly used for purchasing of fixed assets, because in most countries you do not post
the acquisition until you have the legal back-up in the form of the supplier's invoice.

Also, it is not desirable to post an estimated value (based on the GR) plus a correction
(based on the IR).

Whether should you used non-valuated Goods Receipts or not would certainly depends on your
company's financial policies.

 

Restrict GR before Delivery Date

I want to restrict that vendor supplies goods before the delivery date written on PO .i.e. system should give some error if goods are supplied before the scheduled delivery date mentioned in PO.

One way is to check data at your MIGO entry, is through SAP enhancments (Tcode : cmod).
I have implemented numerous checks for my end users (posting dates, movement types vs material types, mandatory fields under specific conditions, posting date deviation from today, total consumption per order etc).

Try enhancment MBCF0002 and component EXIT_SAPMM07M_001.

Through tcode SMOD you can find the available enhancments and function modules, go through the documentation and choose one. For MM inventory management the package is MB.

My system (4.7) returns the following list:

Exit name Short text
MB_CF001 Customer Function Exit in the Case of Updating a Mat. D
MBCF0002 Customer function exit: Segment text in material doc. i
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREA
MBCF0011 Read from RESB and RKPF for print list in MB26

With tcode CMOD create a project "Zxxx" and insert the choosen enhancement. Automatically its components will be added to your project.

Press the "Compoents" button and double click the function exit that you will change.

Now you should be looking at the source code of the function (abap editor). Take a look of the available internal tables that are imported.

Double click on the include ZX....... which does not exist and it will be created by you.

Add the source code needed to cover your validations.

Save and activate your project

Execute MIGO and check your enhancement.

Note: one problem I still haven't solved. I can use only ERROR messages not WARNINGS.

 

MM - Accounting Entries for a Subcontract Order

MM - Accounting Entries for a Subcontract Order

You check an invoice for a subcontract order in the same way as for a standard purchase order.

Additional account postings do, however, occur if a price variance has occurred. These postings are shown in the following example :-

Postings for a Subcontract Order
In this example, a subcontract order was created for the end product "ASSEM-1". The components COMP-1 and COMP-2 were provided to the subcontractor.

Purchase Order
50 pieces of material ASSEM-1 were ordered. The subcontract price is $10/piece (total value = $500).

The following components were provided to the subcontractor:

15 kg of the component COMP-1
5 pcs of the component COMP-2

Good Receipt
The subcontractor delivers 50 pieces of material ASSEM-1.
At goods receipt a consumption posting for the components provided to the subcontractor is automatically made. It is valuated at the price from the material master record, for example:

15 kg of the component COMP-1 at $20/kg = $300
5 pcs of the component COMP-2 at $30/pc = $150

The goods receipt is valuated with $950. This is calculated as follows:
the subcontract price (50 pcs * $10/pc = $500) and
value of the components ($300 + $150).

Invoice Receipt
The vendor (subcontractor) sends you an invoice for the subcontract work. However, the price is $10.50/pc. The invoice is, therefore, 50 pieces ASSEM-1 * $10.50/pc = $525.

Posting Schema for Moving Average Price Control
In this example, the following postings are made at goods receipt and invoice receipt, if the material (end product) is valuated at moving average price:

Postings
At goods receipt
At invoice receipt

Vendor account
525 -

GR/IR clearing account
500 -
500 +

External service account
500 +
25 +

Stock account: end product
950 +
25 +

Stock change
950 -
25 -

Stock account: comp.
450 -

Consumption account
450 +

Posting Schema for Standard Price Control Without Price Differences
For materials (end products) with standard price control also note that no price differences are posted if the total of the external service value (for example, $500) plus the "material to be provided" value (for example, $450) varies from the value at standard price (for example, $1000). Posting of a price difference is not required because each posting line has its own
offsetting entry.

No posting lines are created on the stock account or on the stock change account when an invoice is received.

In the above example, the following postings are made for a material with a standard price of $20:

Postings
At goods receipt
At invoice receipt

Vendor account
525 -

GR/IR clearing account
500 -
500 +

External service account
500 +
25 +

Stock account: end product
1000 +

Stock change
1000 -

Stock account: comp.
450 -

Consumption account
450 +

Posting Schema for Standard Price Control With Price Differences.
However, if you wish to generate a price difference posting in those cases where the manufactured material is managed at standard price and the standard price varies from the receipt value (externally performed service + value of components + delivery costs), you can configure this in the Customizing system of Inventory Management.

In the above example, the following postings (including price differences) are made for a material with a standard price of $20:

Postings
At goods receipt
At invoice receipt

Vendor account
525 -

GR/IR clearing account
500 -
500 +

External service account
500 +
25 +

Stock account: end product
1000 +

Stock change
950 -

Price difference
50 +

Stock account: comp.
450 -

Consumption account
450 +

 

Increase number of line items in Purchase Order

If you experienced a Purchase Order getting cancelled because the message said it was too long.

In situation where you need to create a Purchase Order of at least 200 lines, you need to discuss with your Basis team to look at SM12 and verify the enque/table_size parameter and increase this value in order to permit more records in lock situation when you are creating your Purchase Order.

 

No Multiple Account Assignment for Blanket PO

As of release 4.6x, SAP does not allow multiple account assignment for blanket Purchase Order on the same Purchase Order line. (Item Category - B - Blanket item)

To get around the constraints, users could enter a second line item and assign a different account assignment.

Things might get messy if the person doing the releases selects the wrong line item

or

if the Goods Receipts was received under the wrong line item.

This becomes a training issue, but it can be done.


 

SAP MM - What is Request for Quotation

1) What is RFQ??

2) What way it helps Industry??

3) How can it be linked to PR?

4) Relevant Transaction codes??

1) RFQ - Request for Quotation.

It is the initial step in a vendor selection process. The business sends out RFQ to the vendors and the vendors respond back with Quotations with prices. Next step is quotation evaluation followed by issue of a purchase order for the material/services needed.

Sometimes in certain business processes - A purchase requisition for new material services starts the process of RFQ.

Before creating purchasing documents you should ensure that a master record exists in SAP for both the vendor and delivery address. T/Code ME41 Create an RFQ.

Before creating an RFQ, you should consider the following:

Vendors: Do you have a list of suitable vendors for the RFQ? The vendor numbers must be available.

Deadlines: What are the important deadlines for bidding, if any (for example, the deadline for submission of quotations)?

Number assignment: If your company uses external number assignment, then you need an RFQ number that falls within the valid number range.

Collective number: We recommend that you assign the RFQ a collective number. You enter this number once, and the system copies it for each RFQ you create within a competitive bidding process. The collective number enables you to track all RFQs for a given competitive bidding process. The number can be alphanumeric and up to 10 characters long. You enter it in the header data of the RFQ.

2) This process will help for Industries to choose right Vendor with compare the prices from all quotations received as a result of a competitive bidding process using the price comparison list . The comparison list ranks the quotations by item from lowest to highest price.

3) You can create an RFQ from a requisition automatically. To do so, you must earmark requisitions for RFQ processing.

4) Relevant transactions:
ME41 SAPMM06E Create Request For Quotation
ME42 SAPMM06E Change Request For Quotation
ME43 SAPMM06E Display Request For Quotation
ME44 SAPMM06E Maintain RFQ Supplement
ME45 RM06EF00 Release RFQ
ME47 SAPMM06E Create Quotation
ME48 SAPMM06E Display Quotation
ME49 RM06EPS0 Price Comparison List


 

采购配置SAP Purchasing Configuration Tips and Tricks

Goods Receipts/Invoice Receipts for Purchase Order

Transaction OMW1 allows you to set whether the Price Control is a mandatory "S" or "V".

V indicate that you want the system to value the stocks with the latest price.
S indicate that you want the system to value the stocks with a fixed price method.

Price Control V - Moving Average Price

Assume Material Master current price is 10

Goods Receipts for Purchase Order - Movement Type 101

Invoice Recipts for Purchase Order - MR01 Price Control S - Standard Price

Material and Accounting Document is the same.
The one with the lower value will be posted with a price variance entry.

Goods Receipts for Purchase Order - Movement Type 101

Invoice Recipts for Purchase Order - MR01 General Ledger Account Configuration
Transaction OMWB - Automatic posting for inventory
Inventory posting BSX
Goods receipt/inv.receipt clearing acct WRX
Cost (price) differences PRD
Transaction XK03 - Account Payable Vendor Master
Tick Accounting info. and hit the Enter key
Field name Reconcil.acct 45678

Vendor Returns Without PO Reference

You can used Return Purchase Order, transaction code ME21N

At the item details, look for the Return columns and tick it.

MIGO_GR - Goods Receipt for Return Purchase Order
Movement type will be 161 to deduct the stock and 162 for reversal.
During Goods Receipt for Return Purchase Order, you do not have to change the movement type from 101 to 161 as the system will automatically assign the movement type to 161 upon saving the postings. However, before saving, check if there is a tick in the Return Column to ensure that it is a return Purchase Order.

Create a new Purchase Order Number range to differentiate
OMH6 - Define Number Ranges

Create a new Purchase Order Type to differentiate e.g ZB
OMEC - Define Document Type

Changing the PO Layout sets
OMFE - Messages: Output Programs

/: IF &EKKO-BSART& = 'ZB'.
/ RETURNED PURCHASE ORDER
: ELSE.
/ PURCHASE ORDER
/: ENDIF.

Purchasing List for Open Purchase Order, Goods Receipt, Invoices

Open Purchase Order = Open Goods Receipts ( Selection parameters WE101)

This two parameters determined what information is shown:

The configuation transaction code is OMEM
You can define additonal selection parameter for your users as well as untick those fields which you does not want it to be printed.

Your can have the Purchasing Documents by :-

Force buyers to create Purchase Order with ref. to a Pur. Req., Quotation or Pur. Ord.
Transaction OMET
Define default values for buyers
Transaction OMFI In the Fast Processing button :-
Puchase Order Condition
Suppose you want to calculate the GST and DISCOUNT for a Net Value of 1000.
Net value 1000
GST 10% of 1000 100
DISCOUNT 10% of 1000 100

Final Net value 900

This is what you do :-

Information Structure
In the SAP standard info structure S012 is updated by the Purchase Order creation date, not the Goods Receipt date. e.g. a Purchase Order is created in January and good receipt is in February and March, S012 will shows the values in period January.
Purchase Order Layout Sets, Message Types
Create a new message types for a different layout of Purchase Order
User Defaults for Purchase Order
There are some fields which you can set as defaults for the buyer in transaction ME21.

Transaction SU01
Input the user name and click Parameters

PID Parameter value
LIF - Vendor number
BES - Purchase Order Number
BSA - Order type
EKG - Purchasing group
EKO - Purchasing organization
WRK - Plant
LAG - Storage location
MKL - Material group
WAK - Promotion

PO Release Strategy

4.6x

The release code is a two-character ID allowing a person to release (clear, or approve) a requisition or an external purchasing document. The release codes is basically controlled via a system of authorizations (authorization object M_EINK_FRG).

Use SE12, structure CEKKO to check all the fields available for controlling the Purchase Order.

e.g. If the total value for the Purchase Order exceeds 10,000, release strategy 01 is assigned to the Purchase Order. There is only one characteristic created in this example. For controlling the Purchase Order type, create characteristic for CEKKO-BSTYP and the value NB.

CT04 - Create Characteristic e.g. NETVALUE

Click Additional data Table name CEKKO Field name GNETW and press enter
(for currency dependent field, you are prompt to enter the currency which the system then converts the currency of the Purchasing document into this currency)

In the Basic data (X refers to tick),
X Mutliple values
X Interval values

In the Value data, in the Char. value column, type >10000 and press enter

Save your data

CL02 - Class

Class - Create REL_PUR

Class type - 032

Click Create

Description - Release Procedure for Purchase Order

In the Same Classification section, click Check with error

In the Char. (characteristic) tab, type NETVALUE to assign your characteristics to the class

OMGS - Define Release Procedure for Purchase Order Type

Release Group - New entries
Rel.group Rel. Object Class Description
02 REL_PUR Rel. Strategy for PO

Release codes - New entries
Grp Code
02 01

Release indicators
Release indicators Release Description
0 Blocked
1 X Release

Release Strategy
Release group 02

Rel.strategy 01

Release codes 01

Release status 0
1

Classification Choose your check values

OMGSCK - Check Release Strategies
(make sure there are no error messages)

Once the Purchase Order is not release, buyers will not be able to print the Purchase Order.

Goods Receipts will be shown with Message no. ME 390 - Purchasing document XXXXXXX not yet released.

In 4.6c, Purchase Order with Release Strategy have a tabs at the end of the Header. This allowed the buyers to check the release status of the Purchase Order.

The person with the release authorization have to use ME28 to release the Purchase Order.

Prompt the last Purchase Order Price for the Material

If you want the system to take the price from the last Purchase Order, then do not maintain the conditions in the info record because it has precedence over the last PO. This means that the netprice field in the info record should be left blank.

In the case when you have already maintained the conditions in the info record (or netprice), try to delete them or make them invalid by changing the validity date.

Even though no price was maintained, the info record will still keep track of the Order price history.

To check the Order price history, go into the material info record and click Environment -> Order price history

Adopt Purchase Order Header Text

To default the Header Text into the Purchase Order

Step 1 :- Maintain text in Vendor Master

Step 2 :- Link Text types to Header text in Purchase Order
Create a new Purchase Order Document Type
4.6x

If you have more than one company code, you might want to define a new document type and number range to differentiate between the two company.

Define a new number range not in used
OMH6 - Number Ranges for Purchasing Documents

Copy the NB - Standard PO to e.g. ZB
OMEC - Define Document types

Maintain :
Text for Document Header/Item
Text for Document Supplement
OMF6 - Messages Header Texts

Send Purchase Order via Output Determination

Read note 191470 - Purchase order as an e-mail

From release 4.5, you can send your purchase order via output determination. This note have indicate all the requirement and settings necessary to send purchase order via the output determination once your SAP have been connected to an External Mail System.

Send Purchase Order with Microsoft Outlook

This is how it work:-

Install the SAP setup program on the SAP Presentation CD-ROM under \GUI\WINDOWS\WIN32
Execute the SAPsetup program and choose the Desktop Interfaces.
Then choose the SAP MAPI Service Provider (select Change Options to display the selection)

Once the SAP MAPI is installed. You can create your logon profile for SAPoffice.
Go into your Control Panel of your windows.
Select the Mail option from the Control Panel to call the MAPI profile manager.
Choose Add to call up the new logon profile setup wizard
Select Add from the Services and select the SAP MAPI Service Provider
Type in the required R/3 information (client, sap user name, password)
The supplied PST file is sapwrk.pst

Now, logon to your Microsoft Outlook and see whether you can access all your SAPoffice folders.

If you send the file using SP01 -> System -> List -> Send, the file will have the extension ALI. Use the Windows Explorer to default open with the Windows Notepad.

Sending mail directly from SAP via Microsoft Exchange

If you want to send your mail directly via Microsoft Exchange, you have to install the SAP Exchange Connector Software on your Microsoft Exchange Server.

The setup program SETUP.EXE is located on the R/3 Presentation CD in the directory :\GUI\WINDOWS\WIN32\SXC.

Then you have to setup :-


 

Valuation price in PR and how to enter PR without Price

In PR screen layout, you can change field selection for valuation price. In your system, you already tick that field to become optional, but it still require input when PR created. You have already check order type and field selection.

So far, when you create PR, there is always a valuation price - Assumption is that SAP gets the PR valuation price from the current unit cost of the material.

In your current business process. User are require to input item in PR, even the valuation price of that item is zero/free goods. So, you set field selection valuation price in PR to just optional. But, it didn't work. in SAP help, it is mention that you can set that field to optional or require.

As far as the business processes requirements are concerned, the Valuation Price of PRs must be set as mandatory since this is one of the main characteristics to set the Release Strategy based on which the release codes are to be allocated for on-line release of PRs in SAP.

In case, this field is optional, once manual PRs are to be maintained, the Release Strategy will not be effective unless end users remember to fill in this Valuation field.

What SAP can additionally provide you is to set this field to "Display" only (via Transaction Code OMF2). However, it is not recommendable from the business processes point of view.

You can only enter a PR WITHOUT PRICE if you did not tick Invoice Receipt under Valuation.

Logically, any items that require an INVOICE RECEIPT must have a price.


 

Automatic Conversion of PR to PO

You created purchase requisition for various material. During creation of purchase order you used the following path:

Purchase Requisition
.......Follow on function
.........Create Purchase Order
............automatic via purReq.

When you mentioned required purchase requisition number and execute, system give error that purchase requisition does not contain any suitable item.

Is there any setting in customization where you can monitor and use that function.

In an effort for you to successfully use the Transaction Code ME59 to automatically convert the current PR into PO, then the following criteria should be met:

1) In the Purchasing View of the material master data, the "Autom. PO" field must be clicked;

2) In the Purchasing View of the Vendor Master Data, the "Automatic Purchase Order" field must be clicked;

3) The Outline Agreement or Purchasing Info Record shall be maintained which will allow the automatic copying of unit price and other conditions into PO;

4) The Source List shall be maintained for the nominated vendor which was shown in either the Outline Agreement or Purchasing Info Record.

or

it might be PR subject to release strategy and not yet released

or

If you're not using a source list or automatic creation of PO, you may need to assign the requisition to a purchase information record using transaction ME56. Then it should appear in ME58.


 

Conventional Versus Logistic Invoice Verification

Can any one let me know the basic difference between Logistics invoice verification and normal / conventional invoice verification?

MRHR for other goods receipts.

Logistics Invoice Verification [MIRO] was developed to take into account requirements that were technically not possible in the conventional Invoice Verification component, such as distributing MM and FI to separate systems.

All the functions in conventional Invoice Verification are available in Logistics Invoice Verification. If required, you can use conventional Invoice Verification and Logistics Invoice Verification alongside each other.

The following functions in conventional Invoice Verification are not possible in Logistics Invoice Verification:
1. Verification of invoices with no reference in the system to a purchase order or a goods receipt.
2. Posting directly to a G/L account, asset or material
3. Changing the account assignment in the purchase order
4. Simulation of documents

Some new functions are only possible in Logistics Invoice Verification :
1. Unlimited multiple selection
2. Manual invoice reduction
3. Automatic invoice reduction
4. Invoice verification in the background
5. Verification of invoices with installment conditions.
6. Posting across company codes.

Two more things to note :-
1. Even though LIV can do posting across company codes it cannot do this if there is a variance.
2. LIV cannot operate when the PO is for a 'one time vendor'. These one time vendor purchase
orders can only be matched using conventional invoice verification.

Finally, Points 1 and 2 are possible in LIV but you need to change the configuration to allow posting direct to GL account.

Please refer to :-
IMG : Material Management -> Logistics Invoice Verification -> Incoming Invoice ->
Activate Direct posting to G/L Accounts and material Accounts


Archives

1990年1月15日   2007年1月14日   2007年1月15日   2007年1月16日   2007年1月17日   2007年1月18日   2007年1月19日   2007年1月20日   2007年1月22日   2007年1月23日   2007年1月24日   2007年1月25日   2007年1月26日   2007年1月27日   2007年1月29日   2007年1月30日   2007年1月31日   2007年2月1日   2007年2月2日   2007年2月3日   2007年3月13日   2007年5月15日   2007年5月16日   2007年6月2日  

This page is powered by Blogger. Isn't yours?