cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong goods receipt document smartform.

Former Member
0 Kudos

Dear all,

Having a problem at a client site where we can't seem to reproduce our new goods receipt document.

With smartforms (SE71) our developers have added a new document (ZGOODSRECEIPT) that should replace our old standard SAP smartform.

The smartform should trigger when we do a goods receipt in transaction MB31 and enter the sales order for which we want to do a goods receipt.

However, whenever we check our material documents (transaction MB90, WF01) we see that our new smart form is not used for our newly created documents. (What makes things weirder is that the new smartform IS used for old material documents that are still in MB90...However, whenever I use MB31 myself, I can't seem to reproduce the new smartform....)

Of course I have searched all over customizing (which we set up ourselves) etcetera but don't find any good reason why we can't see the smartform.

Following data is in our customizing:

1) Menu Path: IMG / Materials Management / Inventory Management and Physical Inventory / Output determination / Assign Forms and programs:

     Form ZGOODSRECEIPT was assigned to Output type WF01. (instead of old form )

2) Menu Path: IMG / Materials Management / Inventory Management and Physical Inventory / Output determination / Maintain conditions:

For output type WF01 (Trans.Event type WF, version 1, which is what we see in the header of our material documents when we create them with MB31)

Print item 6 - Material doc Printout for GR/GI (should this be set to 1 - Material doc printout?)

3) Menu Path: IMG / Materials Management / Inventory Management and Physical Inventory / Output determination / Output types:

For WF01 , processing routines:

Program                   SAPM07DR

Form Routine              ENTRY_WF01

Form                      ZGOODSRECEIPT

Partner functions is empty...

What do I miss? Perhaps Print item?

Kind regards!

R.

View Entire Topic
Former Member
0 Kudos

Important highlight is that the new lay-out/script works for older documents in MB90 , but does not show up for any documents that we create today...

So 2 material documents with identical properties (but different dates) have a different lay-out/script.

BijayKumarBarik
Active Contributor
0 Kudos

Hi,

You can use your favorable output type WF01 but check form/smartforms used for your your goods receipt. If form,check in t.code:SE71 or if smartforms, check  in t.code:SMARTFORMS.

Discuss with ABAPer and see logic behind to "goods receipt print" for your forms/smartforms and how print format differs based on different date!

Regards,

Biju K

Former Member
0 Kudos

Thank you.

There was a coding error. Only the upper part was adjusted (between protect and endprotect), but the lower part of coding (between another protect and end protect) that we used for our test cases wasn't adjusted properly and thus showed the old lay-out!

Thanks again.