Quantcast
Channel: SCN : All Content - SAP ERP - Logistics Materials Management (SAP MM)
Viewing all 6446 articles
Browse latest View live

Release Strategy: Restrict lower users to revoke PO after the complete release by superior

$
0
0

Dear Friends,


I would like to share with you all a scenario which I've come across in 'PO Release Strategy', and the requirement has been met by introducing a small enhancement.


Note: There was no solution in 'Standard SAP' (confirmed by SAP), thus achieved the requirement thru enhancement


The Scenario:


Example: PO Release Strategy is configured for 3 level as explained below;


1st Level:      L2 - Local Purchase Manager

2nd Level:     L3 -  Finance Manager

3rd Level:      GM - General Manager (Final/Highest Level)


For the above stated release strategy the standard SAP has provided an option to the 1st and 2nd (L2 - Local Purchase Manager & Finance Manager)level approvers to revoke the purchase order, which is released completely by 3rd level (General Manager). Few business advises to restrict this functionality, as they expect the functionality should be like once the PO gets released by General Manager (final approver), neither Finance Manager nor Local Purchase Manager should have the authorization to revoke the PO, until the General Manager revokes it.

 

 

Solution:

Restricted the release authorization at the role level for the transaction code ME29N, by doing screen enhancement. Since the requirement is not achievable in standard sap (confirmed by SAP).


Steps:

  1. Go to transaction code ME29N--> enter purchase order number, which is waiting for release--> enter /h (debug mode) in command bar--> then click on ‘Release Strategy’ tab in PO header-->it would take you to the program ‘SAPLMERELVI--> find out for the ‘Include - lmerelvici1-->double click on the include and then go to method ‘HOTSPOT_CLICK--> write the restriction logic for the desired roles as shown in below logic.

 

Transaction Code: ME29N

Program Name: SAPLMERELVI

Include Program: LMERELVICI1 

In Method: HOTSPOT_CLICK

 

Method.png

Method2.png


Fucnctional Logic:

  1. Once we go to the transaction ME29N to release the PO, the program would check for the PO release status (Structure: MEPO_REL_GENERAL- FRGKX≠ R or (Just for reference: EKKO-FRGRL=X))--> if the PO is not completely released (FRGKX ≠ R) skip the process-->  if the PO is released completely (FRGKX = R or (Ref: EKKO-FRGRL= ‘ ’)) go to table AGR_USERS (list of users) and check for the role--> if the user has role: 'GM:GENERAL_MANAGER', allow the user to revoke the PO--> if he doesn't has the given role, display an error message as 'You are not Authorized to revoke the Release Strategy, until final level revokes the PO'

 

Design.png


ABAP Code:

IF sy-tcode = 'ME29N'.
TYPES:
BEGIN OF ty_agr_users,
agr_name
TYPE agr_users-agr_name,
uname
TYPE agr_users-uname,
END OF ty_agr_users.

DATA : lv_user TYPE sy-uname,
it_agr
TYPE TABLE OF ty_agr_users,
wa_agr
TYPE ty_agr_users.

if MEPO_REL_GENERAL-FRGKX = 'R'.

lv_user = sy-uname.
SELECT
agr_name
uname
FROM agr_users
INTO TABLE it_agr
WHERE uname = lv_user.

READ TABLE it_agr INTO wa_agr WITH KEY agr_name = 'GM:GENERAL_MANAGER'.
IF sy-subrc <> 0.
MESSAGE 'You are not Authorized to revoke the Release Strategy, until the final level revokes the PO' TYPE 'I' .
EXIT.
ENDIF.
ENDIF.
clear : lv_user,it_agr,wa_agr.
ENDIF.


Result:

Local Purchase Manager is trying to revoke a purchase order, which has already released by Finance Manager & General Manager, but system is throwing an error message, as expected.

Error.png     

Hope this document is clear for you and helps you in your current or future project(s) .

 

Thank you for reading the document .

 

Narayana N


Purchase Requisition with Freight Agent

$
0
0

Hello friends,

 

We are starting to set Freight Agent in contracts and with material vendor as well. Having both set in a contract and creating a purchase order from the contract we get both vendor and freight agent automatically set at PO header.

 

The issue we are having is when a user creates a purchase requisition based on the contract and then creates a purchase order based on the PR plus contract. As the PR has only the material vendor, the PO won't get the freight agent data from it and neither from the contract.

 

Any tips on how to handle this scenario? Is there any way to have more than one vendor at PR so we can have material vendor and also freight agent or any way to make the PO gets vendor data from the contract and not from the PR without ABAP development?

 

Thanks in advance.

service code is not picking g/l while creating service contact

$
0
0

Dear All ,

 

I ahve created a valuation class :

 

 

 

The service code created on this valuation . The system is picking the g/l correctly when i create service PO using this service .But while creating contract system is not picking the g/ automatically .Kindly explain which field i should maintain .

 

 

thnaks and Regards ,

Shikha Singh Chauhan .

Which Business Function to Activate at SFWF for WM Transaction BORGR

$
0
0

Hi,

 

I'm trying to access Tcode BORGR but I hit the following error:

 

"

Transaction code BORGR cannot be executed

Message no. SFW052

Diagnosis

You are trying to execute the transaction code BORGR.

System Response

Execution is canceled because the transaction is assigned to a deactivated (in the sense of the Switch Framework) package.

Procedure

Using the transactions of the Switch Framework (particularly transaction SFW5), you can check whether all components required for the operation of your system are activated (switched on). After consultation with your system administrator, you can - if necessary - activate additional components (business functions).

"

 

However, at Tcode SFW5, I'm not sure which Business Function I'm supposed to activate. Please help. Thanks!

PO change after release

$
0
0

Dears,

 

we could adjust PO release indication in a way to select new release upon PO changes, but in PR we can choose certain layout with specific field to changeable and others not (after PR release).

 

is there a way we can do the same for PO after final release even user exit or ?

Clarification on ME2A report

$
0
0

Hi,

 

Could you please explain what is the  business significance of ME2A report, I am the technical person and I know that it is used to display vendor confrimations.

 

for example we order a material  abc of quantity 100 and if the vendor confirms 10 quantity than that 10 quantity entry would be shown on ME2A output , if thats the case why its showing zero quantity also.

 

Thanks,

Balu

FM: WRF_POHF_PO_CHANGE to close Seasonal Purchase Order

$
0
0

Hi All,

 

Can anyone of you please let me know the usage of FM: WRF_POHF_PO_CHANGE.

I want to close(delivery complete indicator to be marked ) the seasonal purchase order with this function module.

I want to know the input parameters for this.

whenever I am trying to do so, it is not showing any error message neither it marks the delivery complete indicator.

 

 

Thanks.

Regards,

Aadhya.

how to solve error 2141 sap mm


NCM Codes for Brazil in Purch Req

$
0
0

Hello all,

 

We are currently using the Brazilian purchase order, which utilises the NCM code in the Brazil tab

However, the users have asked for this field/code to also be made available in the purchase requisition

 

We are using a specific purchase req type for Brazilian activity so does anybody know if it is possible to introduce this field? And how it might be done?

 

Many thanks

LG

Value of CVD not showing in PO history

$
0
0

I have done import procurement process. But when i m seeing the PO history tab the BCD value is showing there but the CVD value is not showing in the GR section although it is appearing for the invoice. May I know the reason behind it? I have attached the screenshots for reference.

Error in BAPI BAPI_SERVNOT_CREATE

$
0
0

Hi,

I'm using bapi BAPI_SERVNOT_CREATE from an external system and am getting the following error:

Partner maintenance: Mandatory function AG was not maintained for object

 

I'm passing the following parameters to the bapi:

                ["NOTIFHEADER"] -

                ["SHORT_TEXT"] = short text

                ["PRIORITY"] = 1

                ["PLANGROUP"] = <PlanGroup>

                ["PLANPLANT"] = <Plant>

                ["CODE_GROUP"] = <CodeGroup>

                ["CODING"] = <Coding>

 

 

                ["NOTIF_TYPE"];

                ParamValue = <NotifType>

 

 

 

                ["NOTIFPARTNR"]

                ["PARTN_ROLE"] = "AG";

                ["PARTNER"] = <BPnumber>

 

 

 

This is not happening on all business partners but it's quite frequent. I can't find anything different in data between successful an unsuccessful partners.

Can you please help with what may be the issue?

Thanks.

Tax configuration for India plant

$
0
0

All,

 

 

Need some help on following scenario : International company recently acquired India company and need to setup in SAP. India company don't have manufacturing so we don't have to implement CIN but how to incorporate their "service tax", "VAT", "octroi" in MM PO.

 

 

1. Do I need to create new price determination for India plant/company code?

2. They don't use material, they use material groups.

 

Appreciate if someone can provide steps.

PO output message

$
0
0

I created new plants but notice there is no output message for the PO pertaining to my new plant. Can somebody provide me the steps for configuring the PO output message?

Relevant PO for Shipment Cost

$
0
0

Dear Gurus,

 

After creating shipment document I have post the shipment cost document successfully in the SAP system.

 

While doing invoice for the service perform by the transporter, i use transaction MIRO, where I enter the PO purchase order.

 

I want to know the report where if i can enter the shipment number or shipment cost number system give the PO that is generated.

 

So that user directly enter the PO in the miro screen, manually go to the shipment document choose document flow and check the service entry sheet and PO is not a suitable process in my business scenario.

 

Hope gurus is understand the scenario and and guide me accordingly.

 

regards,

 

imran khan

Subcontracting Procedure steps with t code.

$
0
0

Subcontracting Procedure steps with t code.


Stock Transfer Finding Error

$
0
0

While doing stock transfer T Code mb1c Material what i entered Is showing Error as no valuation record found for material. Kindly map me the process of customization and path flow for this

Vendor Evaluation - ME61 - Overall point do not recompute

$
0
0

Dear all,

 

I have the following problem and it does not seem to be in configuration for me. I scroed Vendor in Service Entry, both Quality and Timeliness for 100. Overall (average) score is of course 100 in ME61. I ordered another service for the same vendor and scored less points, however in ME61 i reveived message that Scores were recomputed, but the average number was not updated. Does anyone know that case?

Regards

Deletion of PR corresponding to PO

$
0
0

Hello,

 

I have an issue regarding the deletion of PR's.

After I delete all the SubReq and PR''s from a PO,when I run the MRP the system changes the PR number.(e.g I delete PR 1 and after MRP run appears PR 2 )

Is there a step I missed or did it wrong?

 

Thank you,

Condition record issue in ERS

$
0
0

Hello Experts,

 

I am created a condition table for message determination in ERS and assigned it to pre-existing access sequence at 3rd line out of 4.

 

Fields in the condition table are.

 

1) Company code

2) Vendor

3) Purchasing Group

 

Now there are 4 key combinations for output type ERS. The condition record maintainance status is as

 

1) Not maintained

2) Not maintained

3) Maintained

4) Maintained

 

Now, when I try to post the invoice through transaction MRRL, the system don't pick the condition record of 3rd key combination which ideally it should. Instead, a condition record is picked of 4th key combination.

 

Please give me a hint, if I am missing/wrong somewhere.

 

 

Thanks,

Mahesh

Problem w.r.to Funds Management while PO Creation

$
0
0

Hi Gurus

My client has Funds Management implimented and it is working fine. We are upgrading the patches in the system (4.7 R/3).

 

While testing in the Development client while creating a raw material PO it throws an error saying that Annual Budget exceeded by 137 USD(value given is an example) (FM CB Availabilty control) for the Funds center.

 

For Raw materials actually  a dummy funds is picked automatically which does not have any budget and this message should not appear.

 

This has really stopped our testing.Request for a solution.

 

Regards

 

Deva

Viewing all 6446 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>