RE:[sap-log-sd] Abap code for condition z001 and table 901

Posted by wnash7658 (SAP Specialist and Project Leader)
on May 10 at 3:57 AM
Hello,

Table is written as KOTG901.

The Z001 will exist in the table as KSCHL field as data. Check in SE11.

Mark as helpful.

Regards


Waza

---------------Original Message---------------
From: Peter M
Sent: Monday, May 09, 2011 9:03 AM
Subject: Abap code for condition z001 and table 901

Hi All,

I'm on project where is lack of ABAP programers.
I'm not ABAP programer (just SD consultant) and I need to make some small abap code but I have a trouble with it :(

It is about Listing/Exclusion functionality.

I need to deactivate condition Z002 (it is Exclusion) where system find in condition Z001 (Inclusion) proper combination of customer and material (I made my own table 901 for this Z001 inclusion condition)
The idea is:
in exclusion Z002 I exclude one particular material for all customer
in inclusion Z001 table 901 I set listing where I assigned one customer to one material
and I want to put in MV45AFZA code which "tell" the system "If you find in Z001 condition, table 901 combination of customer and material - "turn off" exclusion for it"

I know that for such tables like MARA or KNMT this code looks like:

SELECT SINGLE * FROM MARA (KNMT etc)
but how to write it for such things like condition Z001 and table 901.

I really hope that you understand me :)

__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
wnash7658
SAP Logistics Sales and Distribution Enthusiast

Contributed 500 posts in a group to earn a Silver Achievement
Popular White Papers

In the Spotlight
SAP Enterprise Mobility Webcast Watch today!
_.____.__