Application Development and Automation 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: 
Read only

Changing Material Document Type while Posting GR

amol_chaudhari5
Explorer
0 Likes
668

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
Read only

prabhu_s2
Active Contributor
0 Likes
621

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

Read only

0 Likes
621

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.

Read only

prabhu_s2
Active Contributor
0 Likes
621

yes u can go 4 it

Read only

Former Member
0 Likes
621

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