Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Material Document Type while Posting GR

amol_chaudhari5
Explorer
0 Kudos

Hi,

Is it possible to change the document type of material document number while posting the GR.

The method MB_DOCUMENT_BEFORE_UPDATE of BADI MB_DOCUMENT_BADI has all the necessary parameters required to change the document type.

I do not have any data with me as of now, so just need a confirmation whether this is possible or not.

If not possible, any other process ???

Thanks in Advance

Amol

4 REPLIES 4

prabhu_s2
Active Contributor
0 Kudos

amol

it is possible and u can use it....but make sure when the materials doc# is generated. if this is the place it is generating then u can very well use it or locate for an exit

0 Kudos

Thanks Prabhu.

The material document is already existing and I have to change the associated document type based on some condition of GR.

Hope it is possible.

prabhu_s2
Active Contributor
0 Kudos

yes u can go 4 it

Former Member
0 Kudos

Hi Amol,

Can you please suggest how can I change the document type because all the parameters to that BADI are import only. Is there any function module module to do that for us.

Thanks in Advance

Someswara