M7 599 “Inform system administrator: error at data inconsistency multiple account assignment”


Sol:

Above error is occurred when the service entry sheet is released for a Service Purchase Order. The reason is the Service Purchase Order contains Planned Delivery Costs. Below are the reasons from SAP Standard to stop Service Entry Sheet.

planned delivery costs are generally not supported in External Services Management and for blanket purchase orders, item category D or B.

In the business function “LOG_MM_MAA_1”, it is possible to process service purchase order items with multiple account assignment and valuated goods receipts only without planned delivery costs. The design of this business function does not allow planned delivery costs for MAA service purchase order items. When posting the goods receipt for MAA purchase order items, the system checks the data to be posted for consistency. If this data is not consistent, the posting of the goods receipt terminates with error message M7 599. This message should prevent data inconsistencies.

Notel: MAA – Multiple Account Assignment

Regards,

Ganesh

No labels are printed when a goods movement is posted using the transaction MIGO. The number of GR slips is 000.


Solution:

For all movement types (e.g. 101), for which label printing is desired, you must maintain movement-type-dependent field selection.
You will find this Customizing under:
Materials Management –> Inventory Management and Physical Inventory –> Settings for Enjoy Transactions –> Settings for Goods Movements (MIGO) –> Field Selection per Movement Type


Include the field WEANZ as an optional or mandatory entry field for the desired movement types. You can add with New Entries


Regards,

Ganesh

What are the possible reasons for taking long run time for MB5B?


Ans:

Below could be possible reasons for the long run time

The runtime optimizations can be carried out only for the following entries on the selection screen:

  • In the stock type section, storage location/batch stock or special stock is selected.
  • In the scope of list section, all categories are selected.
  • In the settings section, the option “Totals Only – Non-Hierarchical Representation” or “Totals Only – Hierarchical Representation” is selected. The no reversal movements option is not selected.
  • In the “Access to Archive” section, the archived documents option is not selected.


If your entries on the selection screen differ from these settings, no optimization is possible and the report is executed as before; therefore, you cannot expect improved runtimes.

This information is also provided in the documentation for BAdI RM07MLBD_DBSYS_OPT (Stock on Posting Date) in the section concerning the BAdI method CALCULATE_STOCKS.

Solution

Set the input criteria on the selection screen as described above so that the optimized version of the report can run

Regards,

Ganesh Padala

How to stop the cancellation of Goods Receipt Material Document before cancelling Invoice Receipt Document?


Requirement: Business wants to have control in system to give error if any user tries to cancel GR document without cancelling the IR document. This will be helpful to avoid any inconsistencies between GR and IR.

Solution: We should suggest to use GR Based Invoice verification process to the business if they are not using. If they are already using GR Based IV, it will be fine. As per SAP standard system, there is a configuration where we can setup which movements can be allowed after posting Invoice Receipt for a purchase order.

For example: 122- Return to Vendor should be allowed and 102- Cancel of GR Document should not be allowed

Configuration:

Below configuration needs to be used to put this control. The path for configuration : SPRO- SAP Reference IMG-Materials Management-Inventory Management and Physical Inventory-Goods Receipt-For GR-Based IV, Reversal of GR Despite Invoice

Once you click on the node – For GR-Based IV, Reversal of GR Despite Invoice , below screen will be appeared. Movement types need to be maintained along with check box.

Indicates that in the case of GR Based IV, you can enter a reversal in respect of the purchase order, or a return delivery, even though the corresponding invoice for the goods receipt document has already been posted.

If RevGR desp.IR = X, it means GR cancellation/Return to Vendor can be done without cancelling IR document

If RevGR desp.IR = Blank, it means GR cancellation/Return to Vendor can’t be done without cancelling IR document

Testing:

As the requirement is to test the cancellation of GR Document after posting both GR and IR for purchase order, we can consider that the GR and IR are completed for the Purchase Order. Below is the transaction to cancel the GR document without performing IR cancellation. You can observe the error message based on above configuration.

Transaction Code is MIGO. You can perform the cancellation of Material Document with Transaction Code MBST also. You can observe the error message once you click on Check or Post button

Error details are provided below for the information.

The error message will be given by the system when user tries to cancel the material document without cancelling the IR document when GR Based IV is activated in PO. Below screenshot is provided from the Purchase Order where GR Based IV flag will be available

This error can be resolved if you follow below steps

  1. Cancel IR document with MR8M Transaction Code
  2. Cancel GR document with MIGO-Cancellation or MBST Transaction Code

I hope this support issue document will be helpful for you. Keep learning and sharing. All the Best

Thanks and Best Regards,

Ganesh Padala

How to stop the Purchase Order creation from expired Contract in SAP MM?


Requirement: Based on business requirement, system shouldn’t allow users to create Purchase Order with reference to Contract (outline agreement) which is already expired.

Solution: This requirement can be fulfilled by changing the warning message to Error message about contract expiry message number :06041. But, we should clearly inform users about the impact once the message is changed to Error. After the message is changed to Error, purchase order can’t be created with the expired contract.

Before going to the solution of changing the message type, we will see the message during Purchase Order creation

Below is the contract header screen which is expired. This contract will be used to create the Purchase Order. We can see in below screen that the contract validity End is 31.01.2018

Below screen shows the Warning message related to contract expiry but it won’t stop the creation of Purchase Order although it gives warning. So, it will be like an information to the user who is creating Purchase Order. User can ignore the warning message and proceed with PO creation

Message details are provided below

Based on business requirement, the solution is decided to change the message from Warning (W) to Error (E). The configuration path to make these changes is

SPRO-IMG Reference-Material Management-Purchasing-Environment Data-Define Attributes of System Messages-System messages

This configuration setting will be helpful to stop the creation of both Purchase Requisition and Purchase Order with reference to expired Contract document.

I hope this support issue is helpful for your learning. Go through my documents/videos and provide your valuable feedback.

Thanks and Best Regards,

Ganesh Padala

Conversion of IDoc Status


Hi Friends,

Generally the requirement to convert the status of IDoc would come in our regular work. Mainly we get the requirement from business to change the status to 68- Error-No further process. Generally IDocs which are not useful and which doesn’t need to be reprocessed will be changed to the status 68.

In this document, I am providing you to convert the status of IDoc with screen shots.

Process Steps:

  1. IDoc Status before running the program

The status of IDoc is 51 and it is shown in below screenIdoc coversion status 1

2.The program RC1_IDOC_SET_STATUS is used to convert the status. Program can be executed with T Code SA38 or SE38Program to convert IDoc status 2

  1. Once you execute the program, below screen will be appeared. Input the IDoc numbers which need to be converted and also the current status and new status.

Test run option is also available before the actual run

Idoc coversion status 3

  1. After clicking on execute button, below successful message will be observed. It will indicate the successful conversion

Idoc coversion status 4

  1. Now you can see the new status 68 for the IDoc.

Idoc coversion status 5

 

I hope the document is helpful for you.

Follow the blog for new updates and share with your friends to make it useful to many people.  Use Online shopping links in my blog whenever you shop in Flipkart, Amazon etc.

 

Regards,

Ganesh

ganesh.sap2015@gmail.com

Accounting document against Material document


Requirement: Business has the requirement to get the list of Accounting documents against respective Material document(s). As we aware that whenever a Goods movement happens, a material document and accounting document will be generated automatically.

Solution:

In this document, I have explained the process of getting Accounting documents from Material documents with screen shots.

Important Table and Fields which are used in this document

Table – BKPF – Accounting Document Header

Input Screen: 

Input FieldsAWTYP– Reference Transaction. As we are giving Material document as input, reference transaction has to be given as MKPF (This field is an optional. You can pass only AWKEY to get the output because AWTYP will vary among the transactions)

AWKEY – Reference Key. Reference key has to be given the combination of Material document+Material document Year ( MBLNR+MJAHR). While givin the material document, you have to give the total number length (here it is 10)

BKPF Input Screen

 

Output screen: 

Important Output field:  BELNR-  Accounting Document Number

BKPF Output

 

Thanks for reading. I hope this document is helpful for you. Share the Blog with your friends in social network.

 

Regards,

Ganesh

 

 

 

 

How to block a vendor in SAP?


Hi Friends,

We frequently get requirements from business to block a vendor for specific period or for specific purchase organization or for specific company code as per the requirement. We have the functionality to block a vendor as per the business requirement. I have explained you the step by step manual here to understand the solution.

I hope it will be useful for you. Go through the document and share the blog with your friends in social network.

Download the document from below link

 

Blocking a Vendor

Regards,

Ganesh

Pre closing of Purchase Order


FlipkartLogo

Hello Friends,

Generally the requirement of pre closing the purchase order comes from the business frequently due to several reasons like the vendor has stopped supplying suddenly or that material is not required any more in the future etc. I have provided the document here to close Purchase order. Once you close the Purchase order, it won’t be allowed to do Goods Receipt.

Closing Purchase Order -No future GR: 

Once we activate the flag for Delivery Completed field, system won’t allow to do Goods Receipt for this Purchase Order. Delivery Completed indicator is available in the Delivery tab of the Purchase Order item.

 

 

 

Regards,

Ganesh

ganesh.sap2015@gmail.com

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pre closing the Purchase Requisition


Requirement: User wants to close the Purchase requisition items which are open i.e. partially converted to Purchase Order or Purchase Order is not yet created. User requirement is  the creation of Purchase Order should not be allowed by the system for respective Purchase Requisition.

Solution: The best solution to fulfil this requirement is activating the CLOSED flag for required items of the Purchase Requisition. This can be done for any item of the Purchase Requisition. Screen shot is given below

Closed indicator in PR

 

Follow the blog for new updates and share with your friends to make it useful to many people.  Use Online shopping links in my blog whenever you shop in Flipkart, Amazon etc.


Regards,

Ganesh

ganesh.sap2015@gmail.com