Idoc distribution with status of error records.

November 30

Hi Gurus,
my business requirement is i want to creat the Outbound Interface to distribute the data from sapserver to ESB server using the one userdefined function module, in this custom function module i written the logic to validate the input data if validation is file those error records are updated to one return table parameter and using the FM Master_Idoc_distribute for  create and distribute the sucessfull records. till its working fine (with status 30-ready to dispach, 01- idoc creatd is in we05 and i have done  the all configaration of message type creation, idoc type creation, port, partnerfrofil) ,
but my requirement is , for example if in 10 records even one record is also error records then no need to distribute the idoc data to sending system,  just i want to send the idoc number with status error with error message.
plese suggest me the appropriate procedure.
Thanks & Regards,
Sai Ram.



in ur code ur filling the idoc data rcord, control record ryt ..before u append data to idoc data , u r also validating and u might be doing in loop for appening the idoc data.
if there is any error in idoc then it won't distribute the data, it will be in error status only..u can only see the data in WE02. Then u can also change the data in WE02 and redistirbute it via BD87.
if u have any conerns let me know

View 4 Replies


  1. will z10 pair with ive-w530
  2. cfl on pdf text box in sap
  3. WS12300111 standard steps sap
  4. sap note 1113277
  5. Primary BT ID
  6. NL3I
  7. 7PBZ
  8. surfaceqqq
  9. underlinewgn
  10. attachedyxc
Copyrights 2019 Fcffair BigData Resource, All rights reserved