cancel
Showing results for 
Search instead for 
Did you mean: 

MvT in outbound delivery

Former Member
0 Kudos

Hello Experts

Movement type in outbound delivery differs than that was assigned to the schedule line category on VOV6. so please anyone can tell me how system propose this MvT in outbound delivery?

Regards,

Amr

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

User exit form userexit_move_field_to_vbep. on MV45AFZZ used.

Regards,

Amr

former_member182378
Active Contributor
0 Kudos

Amr wrote:

Also no change in schdule line category after delivery creation, I simulate a case on QAS as the following:

  1. Checked the Schd. line cat DN whose MvT 651
  2. Sales order, the DN was determined properly as configured.
  3. Now, on Delivery it is 653 which is incorrect.

What is the business requirement for which this code has been written?

Also, how does the system know, in delivery:

- in which cases to have movt type 651?

- in which cases to have movt. type 653?

I find it very strange that there is a difference in movement type at sales order and delivery level!

Why did your company go for a different item category, in order to determine a different schedule line category with movement type 653. So that the movement type would have been identical "throughout the process" (i.e. in sales order and delivery). This would be the correct way and would have not involved any coding!

Also, with the help of coding in this userexit, why did your company not change the movt type in the sales order level?

(why have different movt. types in sales order and delivery?)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Amr,

In addition to what Shiva said.  Please check the MRP type of the Material master.

Generally, Schedule line category is determined based on Item category+MRP type. And from the Schedule line category movement type is determined as Shiva said.

1) Please check if there was change in the Item category. If not,

2) Please check the MRP type. There might be diff. schedule line category linked to Item categ+MRP type.

Generally, the second case would not happen. Because mostly one Item category would be linked to a schedule line categories with the same movement type.

Please share the outcome.

Regards

Dhilipan

Shiva_Ram
Active Contributor
0 Kudos

You are correct, the movement type is derived from schedule line category. If the movement type changes than the expected one, then check in sales order whether the item category has been changed by the user/or by user exit or not.

Regards,

Former Member
0 Kudos

No change occurs in sales order, The system determine correctly schdule line DN whose MvT 651. but in Adminstration tab on outbound Delivery it is 653.

Regards,

Amr

Former Member
0 Kudos

Hello Amr,

Can you please check if there were changes to Schedule line category after Delivery was created(Movement type altered in Sch. category after Delivery created).

Because, the movement type assigned in Schedule line category should flow in the Delivery. Which should work for sure.

If this is happening in any new Sales Orders/Delivery being created. Can you please check if the Schedule line category in Procurement tab of the Sales Order and the one in Schedule line category is different.

Ideally this will be same everytime. But just wanted to confirm.

Regards

Dhilipan

Former Member
0 Kudos

Hello Dhilipan

Also no change in schdule line category after delivery creation, I simulate a case on QAS as the following:

  1. Checked the Schd. line cat DN whose MvT 651
  2. Sales order, the DN was determined properly as configured.
  3. Now, on Delivery it is 653 which is incorrect.

Regards,

Former Member
0 Kudos

Hello Amr,


Really strange. Can you please check if there are inconsistenices in table TVEP. Is TVEP still show 651 or 653.

Regards

Dhilipan

former_member184555
Active Contributor
0 Kudos

Amr Elfakharany wrote:

No change occurs in sales order, The system determine correctly schdule line DN whose MvT 651. but in Adminstration tab on outbound Delivery it is 653.

Regards,

Amr

The movement types 651 and 653 are used for posting the stock returns and do you have these movement types in the Outbound delivery? Are you processing a stock return? OR a sales order and outbound delivery process?

Former Member
0 Kudos

Stock return.

former_member184555
Active Contributor
0 Kudos

Please ask your abaper to debug and check if there is any enhancement in the delivery user exits. Based on the materials, the movement type might be getting changed automatically to post the return stock to Unrestricted stock as the movement type 651 posts stock to Restricted Stock and 653 posts stock to Unrestricted stock. This is just a pointer for your analysis.

Thanks,

Ravi Sankar

former_member182378
Active Contributor
0 Kudos

Dhilipan,

I found you post interesting.

Could you please explain -

Can you please check if there were changes to Schedule line category after Delivery was created(Movement type altered in Sch. category after Delivery created).

how to check that there was a change in a particular Schedule line category in VOV6 (configuration level)?

Are you indicating to check the CRs (that were moved to PRD environment)?

Former Member
0 Kudos

Hi TW,

Greetings... Good to hear from you.

Actually AMR reported, he can find movement type determined as 653 in the delivery. Which should have been 651 assigned to Sch. category DN.

Just to confirm, there was no change in movement type assigned to Schedule line category DN. Requestd to verify if there were any CRs moved to prod.

Regards

Dhilipan