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

Defaulting batch and valuation type for a specific division for tcode me21n

Former Member
0 Likes
1,096

Hi

I would like to default the valuation type and batch for a specific division while creating the PO.

Kindly let me know if there is any user exit for this.

Thanks & Regards

Bhagya

Hi

I would like to default the valuation type and batch for a specific division while creating the PO.

Kindly let me know if there is any user exit for this.

Thanks & Regards

Bhagya

6 REPLIES 6
Read only

Former Member
0 Likes
979

Hi Bhagyavathi,

Please use the BAdi ME_PROCESS_PO_CUST for your requirement.

Implement this BAdi and with in this BAdi implement the method PROCESS_ITEM.

Hope this helps you out. Reward accordingly.

Thanks and Regards,

Maddineni Bharath.

Read only

0 Likes
979

We are already using this BADI and the method for specific document type related to EDI .

I coded my logic but it is not getting triggered.

As I'm new to BADI, I'm finding it difficult. I will try again

Thanks for the reply.

Regards

Bhagya

Read only

0 Likes
979

Hi .

Actually my requirement is while you are creating PO, the value say 'ABC' must be defaulted both in Batch and valuation type but when change that to 'DEF' it should allow you.. means you should be able to modify the batch and valuation type fields. I can be kept empty also.

I tried using field exit to default Batch and valuation type, but it does not work if the batch is empty.

If I use the BADI you mentioned what are import and export parameters and how do I code to meet my requirement.

Kindly let me know.

I will definitely reward points if it works.

Thanks in advance

Bhagya

Read only

0 Likes
979

Hi .

Actually my requirement is while you are creating PO, the value say 'ABC' must be defaulted both in Batch and valuation type but when change that to 'DEF' it should allow you.. means you should be able to modify the batch and valuation type fields. I can be kept empty also.

I tried using field exit to default Batch and valuation type, but it does not work if the batch is empty.

If I use the BADI you mentioned what are import and export parameters and how do I code to meet my requirement.

Kindly let me know.

I will definitely reward points if it works.

Thanks in advance

Bhagya

Read only

0 Likes
979

Hi .

Actually my requirement is while you are creating PO, the value say 'ABC' must be defaulted both in Batch and valuation type but when change that to 'DEF' it should allow you.. means you should be able to modify the batch and valuation type fields. I can be kept empty also.

I tried using field exit to default Batch and valuation type, but it does not work if the batch is empty.

If I use the BADI you mentioned what are import and export parameters and how do I code to meet my requirement.

Kindly let me know.

I will definitely reward points if it works.

Thanks in advance

Bhagya

Read only

0 Likes
979

Hi .

Actually my requirement is while you are creating PO, the value say 'ABC' must be defaulted both in Batch and valuation type but when change that to 'DEF' it should allow you.. means you should be able to modify the batch and valuation type fields. I can be kept empty also.

I tried using field exit to default Batch and valuation type, but it does not work if the batch is empty.

If I use the BADI you mentioned what are import and export parameters and how do I code to meet my requirement.

Kindly let me know.

I will definitely reward points if it works.

Thanks in advance

Bhagya