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

Problem with FM PRICING

Former Member
0 Likes
655

Hello,

We are getting the Tax values from TAXWARE.

I need to print the Tax values in the PO, and i have used the Function Module PRICING in my Smartform program.

The problem i am getting is that when i use the FM through SE37 and execute the FM i get the correct values as required,

but when i use the same FM in my Smartform, and the Smartform is called through ME23N txn to Print the PO,

it does not give the correct values in TKOMV table.

I tried this FM in my custom program and passing the values in the custom table i get the required values.

The problem comes when use the FM in Smartform and call the Smartform through ME23N txn, i did not get the required results.

Hello,

We are getting the Tax values from TAXWARE.

I need to print the Tax values in the PO, and i have used the Function Module PRICING in my Smartform program.

The problem i am getting is that when i use the FM through SE37 and execute the FM i get the correct values as required,

but when i use the same FM in my Smartform, and the Smartform is called through ME23N txn to Print the PO,

it does not give the correct values in TKOMV table.

I tried this FM in my custom program and passing the values in the custom table i get the required values.

The problem comes when use the FM in Smartform and call the Smartform through ME23N txn, i did not get the required results.

2 REPLIES 2
Read only

Former Member
0 Likes
545

Hi Friend,

I thnik the probelm is arises because:

1. The FM PRICING is called by ME23 program

2. ME23N is calling a function module which has same function group with that FM.

If it is possible try to apply the logic in smart form which thsi FM has.

Regards

Krishnendu

Read only

Former Member
0 Likes
545

Changes has been done at Legacy end.