07-27-2007 5:27 PM
He i'm using BDC's to update some data in the tcode.I'm the subroutine's of recording transaction i'm calling the
'Call transaction 't-code' using pmode update 'S'.
if the above statement is true then i'm performing bdc_transaction for the same t-code.The problem here is pmode(is parameter 'A' , 'N' , 'E')when i'm giving 'A' its the data is uploading correctly with all screen mode but when i'm using No screen mode the statement call transaction is turning false ie sy-subrc not zero and under this i've return a error message......if the call transaction statement is turning true and sy-subrc = 0 then it should go to perform bdc_transaction....this is working fine with 'A' but turing down when i'm giving 'N'......any suggestions.....why its hapening.....
Thanks in Advance
07-27-2007 5:33 PM
hi,
when you are running in the A mode you will intactively enter the command.. for example if you get some warning message during the execution of the transaction you press enter when you are running in A mode but when you run in N mode the program should have that logic to add extra enter okcode at that point of the message.. i had a similar problem earlier and written code for the enter command and run in n mode it will work.
remember when you record these kind of enter's command for warning messages are not recorded
Thanks
mahesh