RE:[sap-log-sd] Duplication of Header Condition and Item Condition in Sales Order

Reply from Tigerlim on May 23 at 10:11 AM
This is the code which is applied.

DATA: WA_XKOMV LIKE XKOMV,
W_INDEX LIKE SY-TABIX.

CLEAR: WA_XKOMV, W_INDEX.
LOOP AT XKOMV.
IF SY-TABIX GT 1.
W_INDEX = SY-TABIX - 1.
READ TABLE XKOMV INDEX W_INDEX INTO WA_XKOMV.

IF WA_XKOMV-KSCHL = XKOMV-KSCHL AND
WA_XKOMV-KPOSN = XKOMV-KPOSN.

MESSAGE E001(00) . "Error message
ENDIF.

ENDIF.
ENDLOOP.

---------------Original Message---------------
From: Tigerlim
Sent: Friday, May 18, 2012 9:59 AM
Subject: Duplication of Header Condition and Item Condition in Sales Order

Hi gurus

I have a problem with condition in sales order.

There is a d/c condition ZADC in our system

1. I made sales order and ZADC was applied for every single item as 30%.
2. For the change the rate, I went to header level deleted existing ZADC and
input new ZADC as 40%. and then It was applied for every single item as 40%.
and saved.
3. I went to VA02 and added another item. And now there are two ZADC ( one is 30% the other is 40%).

I want to set like,
If there is header condition ZADC 40%, ZADC 30% doesn't come out in item level.
I mean only ZADC 40% should be applied to every single item.

Please give me advice.
Thank you in advance.

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
 
Tigerlim  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

No comments:

Post a Comment