Skip to Content

This is my first document on SAP SCN, so I decided to post an ABAP solution that I created some time ago to get Sales Conditions, using a key combination almost like we found running VK13 transaction (condition type, material, condition number or customer):

VK13.png

This solution uses 3 methods from a “Z” Class, which can be used separated or combined, as necessary!

To see all source codes, check the files attached!

Method READ_CONDITION_TABLES (Static Method – Public)

This method is used to read all Sales Condition tables, defined into Customizing Access Sequences.

Parameters:

READ_CONDITION_TABLES_Param.png

Method GET_CONDITION_VALUES (Static Method – Public)

This method is used to select dynamically all entries from Sales Condition tables read by method READ_CONDITION_TABLES.

Parameters:

GET_CONDITION_VALUES_Param.png

Method GET_SALES_CONDITIONS (Static Method – Public)

This method was created to return all entries from Sales Condition tables enabled, using methods READ_CONDITION_TABLES & GET_CONDITION_VALUES.

Parameters:

GET_SALES_CONDITIONS_Param.png

I hope this document be helpful for someone!

Best regards,

Alexandre B. Dambrowski

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply