09-02-2014 9:50 AM
Hello everybody,
I want to know that is there any way exists by which we can fill the Idoc number generated in the IDOC itself i.e. we are generating IDOC from EDIDD and EDIDC tables and I have a requirement to populate IDOC number(which will be generated after the IDOC will be created) in one of the IDOC's segment. From my end I have no clue on this because we are trying to use the value (IDOC number) before it is being generated and hence help needed on this.
Regards,
Harsh.
09-02-2014 9:56 AM
09-04-2014 8:04 AM
09-02-2014 10:34 AM
Hi Harsh,
you can get your idoc number from the master_idoc_data table genretated by FM 'MASTER_IDOC_DISTRIBUTE'.
edidc-docnum is your desired thing. you can pass this field in other segment.
Regards,
Pranay
09-04-2014 8:05 AM
Yes this FM returns idoc number. but before returning I want to use this idoc number and populate in my idoc header. Is there any way out.
09-08-2014 6:10 AM
No Harsh, i am not aware of that. Because Idoc gets generated after this FM call only.