Skip to Content

IDOC created but not stored: No exception also

Hi All,

My scenario is that to upload the data from excel file and create inbound delivery. I am using the fm IDOC_INPUT_DESADV1. IBD and IDOC has been created but mot saved.

if I goto vl32n, There is no IBD and if i goto WE02 then there is No IDOC. No exception also.

Thanks with Regards,

Vallamuthu M

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 08, 2014 at 09:06 AM


    Thanks for all your updates. Not able to create IBD using IDOC_INPUT_DESADV1 in progran(SE38). I am using the following function modules. it's created IDOC and IBD. Now my problem is that how to create batch and serial number. I have given batch number in E1EDL24-CHARG and serial number E1EDL11-SERNR. It's create IBD with out the given batch number and serial number.

    call function 'IDOC_INBOUND_WRITE_TO_DB'


    t_data_records = gt_idoc_data



    pc_control_record = gs_idoc_contrl


    idoc_not_saved = 1

    OTHERS = 2.

    IF sy-subrc = 0.

    APPEND gs_idoc_contrl TO gt_idoc_contrl.




    pi_called_online = 'X'

    * PI_DO_COMMIT = 'X'


    * PI_ORG_UNIT = ' '

    succ_show_flag = 'X'



    t_control_records = gt_idoc_contrl



    invalid_document_number = 1

    error_before_call_application = 2

    inbound_process_not_possible = 3

    old_wf_start_failed = 4

    wf_task_error = 5

    serious_inbound_error = 6

    OTHERS = 7.

    IF sy-subrc <> 0.

    * Implement suitable error handling here


    Add comment
    10|10000 characters needed characters exceeded

    • Did you check all other parameter e.g. Material is batch managed or not. Also in the first line you mentioned that ". Not able to create IBD using IDOC_INPUT_DESADV1 in progran" so which function module or program are you using to pass the segment value to internal structure SDATA

  • Sep 05, 2014 at 10:56 AM

    you have never created an IDOC, hence you wont find any in WE02, BD87 or similar transactions.

    Add comment
    10|10000 characters needed characters exceeded

    • Jürgen Lins vallamuthu madheswaran

      Excel -> upload into internal table > move data into the right fields of the IDOC structure > save the data in EDIDD table > BD87 > IDOC_INPUT_DESADV1

      this is very rough the flow

      if you look into the interface of IDOC_INPUT_DESADV1, then you should realize that the function module gets its data via the table IDOC_DATA, this is the input - speak the IDOC is the input for this function module

      you called this function module directly and moved your Excel data into the fields of IDOC_DATA

      this way you simulated an IDOC but you do not have one. And even a successful process does not create any IDOC or an IDOC number as reference anywhere.

      If you want an IDOC from your Excel file, then a convenient way is LSMW.

      LSMW can create an IDOC from your source file, and can even process it.