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

A problem with message display

Former Member
0 Likes
567

Hi,

I have an issue.

We have a tcode ztcode whic uses the SAPMZSCH prg to create contract based sales orders. Also we r using VA02 to change normal sales orders.

But the prb is when the creidt check is being done both prgms go through the same stm in the same FM to display the credit limit exceeded warning. But for VA02 it is getting displayed not for ztcode tcode.

ztcode is using bapi to change sales orders which i guess in turn calls va02...

But y this difference?

Pls help me....

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
539

Hi,

Some of the standard bapi's internally call transaction of relevant sap transactions.

Check your bapi whether it calling transaction VA02?

aRs

Read only

Former Member
0 Likes
539

Whilst many BAPIs will share some code with the online transactions, they are certainly not identical. But if you know both are reaching the same "FM to display the credit limit exceeded warning" then I'd suggest setting a brakpoint there and stepping through watching how the messages are being handled in each case.

Read only

0 Likes
539

Hi Jonathan,

as u said i did try debugging at that point... it passes thrgh the same stm... the only diffrerence i see is the screen number , prog name all those parameters .. also the screen used to dispaly this message in va02 is a subscreen.. will that be a prblem?

pls help

Mohan

Read only

Former Member
0 Likes
539

Or is there any other Sales order bapi which will return the credit check warnings in return table?

Thanks,

Mohan