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

Passing Tax code externally in Contracts

Former Member
0 Likes
531

Hello All,

I am working on data load for contracts using "ME31K". After entering material, net price is getting picked up from Info records. And cursor goes to third screen where tax code is placed. Same time one warning message triggers for material price. Here now if in BDC recording we put tax code manually and run that session again after converting the BDC to program, the save doesn't get trigger. And contracts is not getting created. Whether if i am not passing Tax code externally and allow it to come from info records, save is getting triggered.

Please advise how to code Tax code externally.

Any other way to create MM contracts with ME31K?

Thanks in advance.

Hello All,

I am working on data load for contracts using "ME31K". After entering material, net price is getting picked up from Info records. And cursor goes to third screen where tax code is placed. Same time one warning message triggers for material price. Here now if in BDC recording we put tax code manually and run that session again after converting the BDC to program, the save doesn't get trigger. And contracts is not getting created. Whether if i am not passing Tax code externally and allow it to come from info records, save is getting triggered.

Please advise how to code Tax code externally.

Any other way to create MM contracts with ME31K?

Thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
404

Hi Rajnarayanan,

You cannot skip that screen without entering the Tax Code.

There are two possibilities with which you can work out.

1. Ask your Functional Consultant to configure or input the Value for the Tax Code and then run the BDC.

2. Find out the Message "Enter the Tax Code" in the standard SAP Code for that Tcode and check why it triggers this message and accordingly there could be a solution to skip this area. So make the changes using that functionality.

Just try out.

Pls reward points, if the answer is useful.

Thanks,

-Syed.

Read only

Former Member
0 Likes
404

Thanks but the warning message is related to material price and not with the tax code.

The tax code is by default comming from Info Records but in some cases user wants to change it in the contracts.

Is there any BAPI which i can use for the same?