‎2007 Jun 20 2:28 AM
Hi all,
I am sending the HR pay roll master data in to the application server using idocs.I am doing this part .But now i want to restrict idoc not to send into application server if there is no data in the generated idoc.I am scheduling the program in back ground.
For eg. If there is data in the idoc then only i would send it in to application server. other wise wont send there.
Points to be rewarded .
Thanks in advance...
‎2007 Jun 20 6:20 AM
Phani,
Given that you are collecting the Idocs .How(Through any program)?.
At the time of collect pass the idoc numbers to EDIDD table and check the required data for thisidoc existed.If no don't pass those Idocs.
Don't forget to reward if useful....
‎2007 Jun 20 2:52 AM
What kind of transaction you are using.
If you are using output type then you can use requirement routine.
Implement small logic check if there is any enrty. If no entry found
Pass sy-subrc eq 4. Then your output won't trigger.
If you are using ALE, then standard program will take care.
Thanks,
Narayan
‎2007 Jun 20 4:20 AM
Hi,
Before sending to Application server check the internal table whether the data is there or not.If not there stop that.
Means before OPEN DATASET...........CLOSE DATASET
put IF condition for internal table.(IF NOT ITAB[] IS INITIAL.......ENDIF.)
Don't forget to reward if useful...
‎2007 Jun 20 5:54 AM
Hi,
Firstly, with out using OPEN DATASET statement i m sending the idocs to application server.I have standard program to create idocs for given or all pernrs.
Secondly, I collect all idocs created by that program and using WE14 I am placing the idocs into application server. I have taken care every thing in port and partner profiles for this.
Now how to avoid my problem....
Thanks..
‎2007 Jun 20 6:20 AM
Phani,
Given that you are collecting the Idocs .How(Through any program)?.
At the time of collect pass the idoc numbers to EDIDD table and check the required data for thisidoc existed.If no don't pass those Idocs.
Don't forget to reward if useful....