cancel
Showing results for 
Search instead for 
Did you mean: 

Commercial Invoice Number Filed Mandatory in MIGO

Former Member
0 Kudos

Dear Experts,

I have a requirement to make  Commercial Invoice Number Filed Mandatory in MIGO for Import PO .

Also i want to bypass this validation for some scenarios . So i could make it mandatory through Config.

I have check almost all the exits & BADI but i am not able to find out the perfect User exit or BADI to write this validation.

Request you to please suggest me .

Regards,

Sagar Pambhar

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Experts ,

First of all thank u very much "AKPT MM" , as your suggestion is very helpful to me.

But while creating migo , rather than entering Commercial invoice number if i press Esc button , it is not give me any error message that Commercial invoice number is blank .

I want to make it mandatory and display the error message if that field is blank.

Also to Mr Ashok , thx 4 ur valuable reply. My scenario is that If i have cleared my PO from custom & created only 1 invoice of 100 tons of goods , and that goods is coming to my warehouse in 2 different trucks. Suppose 1st truck reached 1st & we have to create migo for that so we use this 100 tons commercial invoice number , so valuation is done in backgroud according to that. But when 2nd truck will arrive , at that time while creating migo we do not have to pass any commercial invoice number as entry has been already been done by truck 1. so i want to bypass this validation in this scenario .

But as per the suggestion of "AKPT MM" , error message fired on when i put blank field in commercial invoice field.  But if i press ESC button program itself bypass this validation.

So plz suggest how can i handle this..?

former_member192897
Active Contributor
0 Kudos

Are you able to see the referred commerical excise invoice in the Posted Gr document? If not, you will have to implement the corrections as per note 1572603.

Further, Could you tell us how you are dealing with excise part in this scenario. You capture the excise partially or for complete qty?

You may try using the User exit MB_MIGO_BADI or J1I7_MIGO_SAVE to fulfil your requirement. You may check with your programmer whether these exits will serve your requirement.

Prasoon
Active Contributor
0 Kudos

Hi,

   Did you implemented the code corrections as explained in the note

Note 1572603 - Commercial invoice number & year not saved for imports- MIGO)

Regards,

AKPT

former_member192897
Active Contributor
0 Kudos

You can check the SAP notes as suggested by "AKPT MM "and have created the message if it is not already available in your system and set the message to Error in the path SPRO-Logistic General-Tax on Goods Movements-India-Tools Message control.

Further, you want to bypass the message for some scenarios. Could you elaborate your requirement in which cases /  scenarios you want to bypass the message.

You can fulfil your requirement with the said Message number. If you want to allow some user with warnings (to bypass the message) you maintain the same message with User id and Message type to Warning in the same path.

You donot need to go for any development as your requirement can be fulfiled by standard message itself.

Prasoon
Active Contributor
0 Kudos

Hi,

   Go to SE91, enter the application area as 4F and enter the message number 098 and go inside in change mode. Here maintain the description as "Commercial Invoice Mandatory" and make the message as self explanatory. Follow the correction instructions as explained in the note: Note 1572603 - Commercial invoice number & year not saved for imports- MIGO

   Now go to SPRO - Logistics General - Tax on Goods Movements - India - Tools - Message control

Here add the message 4F - 098 and make it as error message.

The above mentioned note explains the scenario in detail. (
Note 1572603 - Commercial invoice number & year not saved for imports- MIGO)

Also check the note: Note 1303077 - Validation for commercial invoice entered in MIGO for import

Hope its helpful.

Regards,

AKPT


Message was edited by: AKPT MM