cancel
Showing results for 
Search instead for 
Did you mean: 

Create a PR with reference to sales order only for XYZ customer.

aravindrawat
Participant
0 Kudos

Hi All,

We are simply using our OTC process. Sales order, Delivery, and Invoice. The item category we are using is TAN. There is one customer XYZ, and there is a requirement for this customer when we create a sales order, a PR should create automatically. I know we create PR automatically with reference to sales orders in a third-party process and for that, we use Item categorie TAS. we do not want to make any changes in TAN. Still, we want to create PR with reference to sales orders for XYZ customer only.

Thanks in Advance
Aravind

Accepted Solutions (0)

Answers (4)

Answers (4)

jignesh_mehta3
Active Contributor

Hello Arvind,

If you want to create PR with reference to a TAN Item, that is not possible with standard settings.

If you would like to use TAS Item for a particular Customer, the suggestion from Rob above is most appropriate.

However, what I am interested here is what is driving this requirement? Can you please explain the Business process which mandates creation of Purchase Requisition only for a particular Customer?

Thanks,

rob_ariaans
Contributor

Create a custom item category usage in customing and assign it in the customer-master info record (VD51) in the control data for the specific customer/material.

Then in VOV4 assign TAS item category to be used with the assigned item usage.

jignesh_mehta3
Active Contributor
0 Kudos

Real good suggestion rob.ariaans

aravindrawat
Participant
0 Kudos

We do not maintain CMIR in our project.

rob_ariaans
Contributor

Then you should reconsider that decision.... What would be easier: create 1 CMIR for the affected customer/material and keep the solution within standard SAP - or create (and maintain) all kinds of developments to achieve the same...

Lakshmipathi
Active Contributor
0 Kudos

As rightly pointed out by rob.ariaans instead of going with custom development, just because, your project don't maintain CMIR, ask the Business to accept this standard functionality and start using this so that at a later point of time, if the number of customers are increased, it is enough if the users just maintain CMIR. At the worst case, if still the Business are reluctant to go with CMIR, then, my suggestion would be not to hard code any values in the ABAP coding. Instead, maintain the required entries in TVARVC table and via MV45AFZZ, ask the ABAP team just to check this table entry and compare the fields like VBELN & PSTYV and based on that PR can be triggered.

Of course, you need to take into consideration certain scenarios like how SAP should function that after PR is generated, the user is set Reason for Rejection to that line item. The ABAP coding should take care of this also in such a way that if VBEP-BANFN is not initial and the user set VBAP-ABGRU, then, the related PR should also get deleted. There is one more question on how SAP to function in case there is a partial delivery for that line item

Neeraj_Jain
Active Contributor
0 Kudos

Hello aravindrawat,

If your business requirement to make PR against sale order then you need to use item category TAS. It's not feasible to create PR with item category TAN.

Regards,

Neeraj Jain

aravindrawat
Participant
0 Kudos

Hi Neeraj,

If we use TAS item category, it will create PR for every customer. We don't want to create PR for every customer. We just want to create PR for XYZ costomer only.

Neeraj_Jain
Active Contributor
0 Kudos

Then connect with your ABAP Consultant to place user exit on VA01 and VA02 transaction for that customer and item category. In standard it's not feasible.