cancel
Showing results for 
Search instead for 
Did you mean: 

Create sales doc with reference but not copy some of the conditions

Former Member
0 Kudos

Create a credit/debit sales document with reference to the billing document, but not copy specified conditions. For example, freight was added to the billing document and it is now copied into the new document. It is not desired to copy the freight into the credit. I have tried D and H pricing type on the copy control pricing, but neither worked. I have also marked the condition type category as F and it also didn't work. In either case, the Analysis indicated "Condition has been found (without condition record)"/"No more information is available".

What is the best method to allow the copy control but prevent specific conditions from being included in the copy?

I also tried creating a new pricing procedure for the credit and it worked if I created without reference, but once I created with reference, it kept the billing document pricing procedure. I also don't want to stay with this idea because I may want to create a credit later on for the condition and need to include it in pricing procedure. I just don't want it to be copied at time of create with reference.

Thank you,

Accepted Solutions (1)

Accepted Solutions (1)

H_Terras
Explorer
0 Kudos

Hello Anabela,

You need one Abaper.

Tx. VOFM

Requirements

Pricing

Create for exemple 700:

  • Requirements for put in your access sequences

FORM KOBED_700.

SY-SUBRC = 4.

CHECK: komk-auart ne 'ZXX2' and komk-auart ne 'ZXX1' . (your doc.types cred./deb.)

SY-SUBRC = 0.

ENDFORM.

FORM KOBEV_700.

SY-SUBRC = 4.

CHECK: komk-auart ne 'ZXX2' and komk-auart ne 'ZXX1' . (your doc.types)

SY-SUBRC = 0.

ENDFORM.

-


Tx. VOK0

Condition Type

Access sequences

For exemple:

Access sequence YU04 AUTO TP SURCHARGE

Overview Accesses

No. TabDescription RequiremntExclusive

10 610SalesDocTy/Price grp/Cust.group/Route 700

I hope this help You.

H. Terras

Answers (2)

Answers (2)

former_member1249468
Contributor
0 Kudos

Hi,

The best method to control this is to create a separate pricing procedure for credit memo/debit memo request then maintain the copy controls from billing document to credit memo document .We need to take abaper's help to restrict the unwanted fields from billing document to request document.I did this and working fine.

Hope it helps.

Regards,

Pasapula.

Former Member
0 Kudos

Pasapula,

Thanks for the feedback. I did try to create a separate pricing procedure, but when I created the document with reference to billing document, it retained the pricing procedure on the billing document. It did not use the credit pricing procedure.

Also, the pricing procedure shouldn't eliminate the conditions entirely as it is possible that a credit/debit may be issued for that condition specifically.

Bela

Former Member
0 Kudos

Hi there,

In copy control from invoice to order in VTAF, at the item level pricing type choose the option B to carry new pricing, or C to copy manual pricing elements & redrtermine others. Select the required option.

For eg you have a condition type ZTXX. You donot want to copy this from invoice to CR. Then in the requirement routinein the pricing procedure, put a condition that this should not apply if doc type is CR / DR

Regards,

Sivanand