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.

Accepted Solutions (1)

Accepted Solutions (1)

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.

Answers (2)

Answers (2)

jaheer_hussain
Active Contributor
0 Kudos

Hi,

Did you create condition  record properly for this?

You can use  transaction code MN21 for this.

With Regards,

Jaheer

Former Member
0 Kudos

Condition record set-up as follows:

2) Menu Path: IMG / Materials Management / Inventory Management and Physical Inventory / Output determination / Maintain conditions (= MN21 I think)

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?)

Is Print item 6 correct?

jaheer_hussain
Active Contributor
0 Kudos

For goods receipt you can use we01,we02,we03.

please try this.

WE01 - GR  for PO - Print output - Date time = 4

Former Member
0 Kudos

Thank you,

I doubted this would solve the problem since we do a goods receipt on our production orders (WF). When I look for my material documents in MB90 I also enter "WF01" as output type.

I tried :

WE01 - Material doc Printout for GR/G - Print output - Date time = 4, but didn't work...

BijayKumarBarik
Active Contributor
0 Kudos

Hi,

I am not sure,what output type you are using earlier to get "Goods Receipt Print".
In general,WE01 or WE02 or WE03 output type is used for Goods Receipt Print Out.

As you have created new output type and considering all configuration done for your new output type with new Smartform,then now assign your printer to your output type in OMJ3 t.code with combination of your Plant and Storage location.

Now check your Goods Receipt Printout with new output type!

Regards,

Biju K

Former Member
0 Kudos

Dear Bijay,

Thank you for your reply. I don't think I should use WE01, WE02, WE03, since I do a good receipt on production orders. The material documents that I create are of type WF also...

Former Member
0 Kudos

(so to answer your doubt, I use output type WF01, conform my material documents)

vijay2006ece
Contributor
0 Kudos

Hi Rens,

Just to cross check your functionality, as per your requirement create Material document using MB31.

Goto MB02 > enter doc number

double click on the line item, then click on Messages Icon.

Enter your output condition type & save. check it in MB90.

Former Member
0 Kudos

Dear Vjay,

I followed your steps but didn't save anything because the right record was already available under messages. I see the following:

WF01 - GR Prod Ord Vers.1- Print output - Date time = 4

Sincerely