cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Invoice Party field in MIRO with PO condition Vendor and PI partner function

Former Member
0 Kudos

I want to use the Invoice Party field in MIRO in such a way that it should only allow to change or enter as in Invoice party in PO or Vendor and with vendor maintained with PO condition type, or else it should not allow to change.

Is it possible to do this with standard configuration?

Accepted Solutions (0)

Answers (4)

Answers (4)

inna_merai
Explorer
0 Kudos

Hi Prem,

We achieved it after turning on both messages as errors and also changing the settings for document type RE in OBA7 by setting 'Cust/vend check' flag on. No custom development is required.

Thank you,

Inna

Former Member
0 Kudos

Have anyone faced such issue.

raheem_baksh
Contributor
0 Kudos

Hi Prem,

This can be possible by Validation with user Exit (U700),

Step 1

Create validation as

Step 2

Go T. code GCX2 and check Program As snap shot in case it is assigned standard so change it By copy same and create Z

App A - GBLR and Program ZFI_RGGBR000

Step 3

Write exit in this program,

you can also validate Vendor from the Table EKBZ

Sorry for Previous application area it was wrongly mention, Create Exit with App; Area GBLR

Message was edited by: RAHEEM BAKSH Sorry for Previous application area it was wrongly mention, Create Exit with App; Area GBLR

Former Member
0 Kudos

Kindly check following thread - may be useful for your case:

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

Former Member
0 Kudos

Then what is role of PI as partner function in PO?

I think there should be some restriction on SAP Standard to use invoice party field in MIRO in relevant to PO

former_member183424
Active Contributor
0 Kudos

SAP has some certain logic to fetch the invoice party with certain criteria.

If you maintain a vendor for PI partner in PO, then system will fetch this vendor as invoice party in MIRO

If you do not maintain any vendor for PI partner in PO, then system will fetch main vendor as invoice party in MIRO.

For delivery cost, system will fetch the vendor from PO - Condition tab - Vendor which is maintained for the freight condition type.

Further if you will go to change vendor, then system will show you an error or warning message (as per your settings).

Also look into the KBA 1688253 - MIRO invoice is booked with different vendors from the Purchase Order , it explains how system can't recognize the particular vendor.

Former Member
0 Kudos

I tried with KBA 1688253, but unfortunately the error message does not worked.

former_member183424
Active Contributor
0 Kudos

Have you made these message as error from OMRM ? Can you share your ECC and EHP release.

Former Member
0 Kudos

Yes.

ECC6.0, EHP4

former_member183424
Active Contributor
0 Kudos

It is valid for this release.. Here is the message :

Former Member
0 Kudos

don;t understand why is this not working in my case.

Pls find attached the screenshot of OMRM.

former_member183424
Active Contributor
0 Kudos

Can you please try once first give the different vendor before giving the purchase order.

Or after giving all details, just change the option in MIRO, then check

Former Member
0 Kudos

It works when changing the option, but I want it to work for option 3 also.

Former Member
0 Kudos

Anyone can use option 3 and then delete the delv cost line item and can process the IV with different invoicing party.

Former Member
0 Kudos

Hi Dibyendu,

Does it work for option 3, as i am trying for option 3, but its not working.

Although it works for option 1 and 2.

former_member183424
Active Contributor
0 Kudos

It will work if you flip the option. It will also work for option 3.

former_member198650
Active Contributor
0 Kudos

Hi Prem,

There is no standard configuration for that. You have to go with user exist for that you have to contact with your ABAPer.

Regards,

Mukthar

Former Member
0 Kudos

Which user exit can we use and on what logic