‎2007 Jun 21 2:59 PM
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....
‎2007 Jun 22 12:48 AM
Hi,
Some of the standard bapi's internally call transaction of relevant sap transactions.
Check your bapi whether it calling transaction VA02?
aRs
‎2007 Jun 22 1:05 AM
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.
‎2007 Jun 25 3:38 PM
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
‎2007 Jun 25 3:59 PM
Or is there any other Sales order bapi which will return the credit check warnings in return table?
Thanks,
Mohan