cancel
Showing results for 
Search instead for 
Did you mean: 

New condition type should be available only in profarma invoice not customer invoice document

Former Member
0 Kudos

Dear Team,

Currently we have requriment that for the sales order we need to create a new condition type and this new condition type should be available only in Proframa invoice not in the standard invoice, could you please help how can we make this.

I think we need to write a routine but we need to know where and which place we should writ a routine, please help us on this.

Thanks & Regards,

MK.

Accepted Solutions (1)

Accepted Solutions (1)

siva_vasireddy2
Active Contributor
0 Kudos

Hi,

  you can copy the Routine-24 only in billing Document and change the Logic as per your requirement and Assign the same for your Condition type in the Pricing procedure

The standard logic is in the screen shot

Former Member
0 Kudos

Hi,

Thanks for the information, helpful comments issue Resolved.

Answers (4)

Answers (4)

Former Member
0 Kudos

HI Murli,

You are right that you need a routine for the requirement.

Go to VOFM select menu - requirements - > pricing and create a new routine there. You will need an access key for the same.

As you want the condition value to appear in sales order and in proforma invoice then your abap code should check that the document category, VBTYP is - C or U.

Regards

Ankit

Former Member
0 Kudos

Hi Ankit,

This is helpful answer issue is resolved.

former_member182378
Active Contributor
0 Kudos

muralikrishna,

Currently we have requriment that for the sales order we need to create a new condition type and this new condition type should be available only in Proframa invoice not in the standard invoice, 

Could you please explain what condition type is this?

And what is the business background for this requirement?

Is it that all the condition types (with their values) which populate in the actual invoice should also populate in the proforma invoice. In addition to that, in the proforma there should be another condition type?

Former Member
0 Kudos

Hi Murli,

You can try below option.

Create two different pricing procedure (one with additional pricing condition) and do determination of pricing procedure in billing document based on that billing document type (Bill Doc. Pric. Proc, Cust. Pric. Proc. and Sales Area).

For Proforma Invoice, you can determine pricing procedure with an additional condition type.

You have to maintain copy control according to your requirement.

Thanks,

Pratik

Former Member
0 Kudos

Please check the below option.

Maintain an access sequence such that the billing type field comes above the current access that will be used for sales order level pricing.

meaning. lets assume that at sales order level, the condition type will be fetched through Access sequence say - Sales org/ Sales docucment type.

lets create an additional access for this condition type as say - sales org/ Billing document type(with exclusive indicator checked)

we will maintain the actual value on Sales org/ Sales document type & maintain zero against Sales org/ Billing doc type.

if we have price re-determination ( B/C) that can happen through Copy control at the actual customer invoice level, the price re-determination will then read zero against this condition type for the customer invoice.

& for copy control between order to Proforma we will indicate price redetermination as say unchanged (D/G). this way price at proforma will match the Sales order.

the above suggestion is purely on the standard parameters. if this is not ok we can go with Routine at the pricing procedure level against this condition type.

Regards

Ilango

Former Member
0 Kudos

Dear all,

Any other alternative, please provide the details with step by step.

Thanks & Regards,

MK

Former Member
0 Kudos

Hi,

As mentioned billing type field comes above the current access, that means do we need to create the condition table with billing type and assign this table very first in the access sequence, if yes this field billing type is not available in the Condition table field, because we are creating this access sequence in the sales order level, could you please help me on this how can proceed further.

Former Member
0 Kudos

Hi Murali,

you can go with a new field addition for Billing Type and work accordingly.

rgds

Ilango