Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

pricing requirement

Former Member
0 Likes
395

HEY ALL

i need to create a requirement in for pricing through VOFM tcode as follows ...can u people please tel me what is the coding which i need to put down for the below requirement :---

check if the value exists in the access tables A834.

Find the entry with the condition key ZMIN, Salesorg. and PO-type (BSARK from the order) and validity date equal to the pricing date (function module might exist to find this).

If entry exists,

Check if Netvalue2 from the order header greater than the value from the condition(ZMIN)

If yes, set the actual condition as valid, and exit the requirement.

If no, set the actual condition as invalid, and exit the requirement.

If entry did not exist, continue to next step.

what is the actual condition here specified?

HEY ALL

i need to create a requirement in for pricing through VOFM tcode as follows ...can u people please tel me what is the coding which i need to put down for the below requirement :---

check if the value exists in the access tables A834.

Find the entry with the condition key ZMIN, Salesorg. and PO-type (BSARK from the order) and validity date equal to the pricing date (function module might exist to find this).

If entry exists,

Check if Netvalue2 from the order header greater than the value from the condition(ZMIN)

If yes, set the actual condition as valid, and exit the requirement.

If no, set the actual condition as invalid, and exit the requirement.

If entry did not exist, continue to next step.

what is the actual condition here specified?

1 REPLY 1
Read only

Former Member
0 Likes
342

Hello,

Set the sy-subrc = 4 whenever the condition fails and set sy-subrc = 0 whenever the condition satisfies, this will resolve and get the required as per the requirements.

BR

Sudhakar