Wednesday, 20 January 2010

Steps to create Field Exit ...

SAP Community Network Forums: steps to create field exit ...

MIRO FIELD EXIT

SAP Community Network Forums: field exit error ...: "field exit error


hi all,
I am getting error when activating function module for field exit. 'The main program of the function 'FIELD_EXIT_MB_ERFMG_A' does not be 'FUNCTION-POOL'.

what is wrong?

Transaction Variant - A Step by Step Guide for Creation

SAP Community Network Wiki - Code Gallery - Transaction Variant - A Step by Step Guide for Creation

Reminder: Jayadevan Tj invited you to join Facebook...

facebook
Hi Jayadevantj.teachsap,
The following person invited you to be their friend on Facebook:
Jayadevan TjJayadevan Tj
Invite sent:
Dec 19, 2009
 

Facebook is a great place to keep in touch with friends, post photos, videos and create events. But first you need to join! Sign up today to create a profile and connect with the people you know.
Thanks,
The Facebook Team

Already have an account? Add this email address to your account here.
Facebook is free and anyone can join.
Sign Up
This message was intended for jayadevantj.teachsap@blogger.com. If you do not wish to receive this type of email from Facebook in the future, please click here to unsubscribe.
Facebook's offices are located at 1601 S. California Ave., Palo Alto, CA 94304.

Friday, 15 January 2010

Unit of Meaure in Idocs

In Idoc, we should sent ISO Unit of Measure only.

for PO, for example, we should send PO_UNIT_ISO and ORDERPR_UN_ISO.

Monday, 11 January 2010

Changing the Base Unit of Measurement

Summary:
I would like to change the Unit Of Measurement. Does anyone know the exact steps that must be followed? Are there any negative impacts to be aware of?
Full Article:

Disclaimer: Contents are not reviewed for correctness and are not endorsed or recommended by ITtoolbox or any vendor. Popular Q&A contents include summarized information from SAP-R3-LOG-MM discussion unless otherwise noted.

1. Adapted from response by terry_askew on Monday, March 31, 2003

You first must know the relationship of the two units of measure. This will determine the accuracy of inventory and pricing. Then you will need to know if there are transactions and inventory against the material in question. If so, you will not be able to change the Base UOM until nothing is pending against the material.

2. Adapted from response by Gill, Martin On Monday, March 31, 2003

Jeff Tually posted an excellent procedure to the old SAP-R3-LOG group on Monday, September 30, 2002 that should answer all of your queries. Here it is for your convenience.

Here is an outline of what needs to be checked.

1. Production Data: If it is a finished good or a component of a BOM, then remove BOM, remove assignment to Routing/Master Recipe, delete production versions. Delete any process/production orders or complete then and set status to TECO.

2. Purchasing: the deletion flag must be set in all current and old purchase orders and purchase info recs. Delete entries in source lists, contracts and outline agreements.

3. QM: Make UD on outstanding inspection lots.

4. Planning Data: Delete any forecasts or planned independent requirements or SOP/Flexible planning plans.

5. Sales: Cancel or complete the process for any sales documents (eg orders, deliveries). Remove or disable pricing records.

6. Warehouse Management: Cancel or complete transfer orders, transfer requirements, posting change notices. Ensure that no negative bin stock exists that cannot otherwise be balanced by other positive bin stocks.

7. Physical Inventory: Delete old, obsolete (but still active) physical inventory documents. Post Count, Adjust and close documents, or delete item from active documents.

8. Record previous period stock for the plant (MM03-Accounting). If non-zero then record details by batch and storage location (table MCHBH if using release > 4.0a?).

9. You must remove previous period stock - the previous period in both MM and GL may need to be reopened (or wait until month-end processing when both previous and current periods are open simultaneously). To remove you need to use a transaction such as MI10 or MB1C and use a posting date of the previous period.

10. You must remove any remaining current period stock.

11. Planning Data (cont'd): delete all planned orders. Delete MRP List if any (check with MD05).

12. Costing: Delete any cost estimates.

13. Legacy Systems / Interfaces: Check what impact the change will have.

14. Material Master preparation:
* Ensure no alternative unit of measures are being used on the sales / purchasing / work scheduling / plant storage 1 views.
* Remove all alternative UoMs from "Extras"

15. CHANGE THE BASE UNIT OF MEASURE. If any errors, then check above steps again.

16. Material Master:
* Modify Planned Price 1, standard cost and/or moving average price on costing and accounting views.
* Modify any unit-related fields eg gross/net weights, MRP lot sizes / safety stock
* Re-create any alternative units of measure and re-assign to correct material master views.

17. Recovery: If you need any of the orders or master data deleted in any of the above steps, then now is the time.

18. Re-enter stock. Do not attempt to add back into previous period especially if using moving average price control (V) - do not back-date.

badi / user exit to change miro data

BADI INVOICE_UPDATE.

first implement , then try to change the values of S_RBKP_NEW or etc.

CHANGE_AT_SAVE --->it has 2 internal tables one for OLD , NEW values.

////////////////////////////////////////////

INVOICE_UPDATE
AC_DOCUMENT

Enhancements:

LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification

/////////////////////////////

Hi Uday,

User exits are:

EXIT_SAPLMR1M_001 - MM08R002 - User exit for tolerance checks

EXIT_SAPLMR1M_002 - LMR1M001 - User exits in Logistics Invoice Verification

EXIT_SAPLMR1M_003 - LMR1M001 - User exits in Logistics Invoice Verification


BADI's are:

BADI_ENJ_ALT_ADR - Go to alternative vendor/customer data

MR_CIN_LMR1MI2G_SEL - BAdi in LIV for determining line selection

MR_CIN_LMR1MI2G - BAdI for India Version exit in include LMR1MI2G