‎2006 Nov 22 12:23 PM
Hi All,
I am working on MIRO. I want to extract the PO number and reference number from the screen fields of MIRO but the structures in various user exits that get triggered for MIRO are either partially filled or empty hence I am not able to fetch the value of desired fields. Please suggest which tables should i use so as to fetch the screen fields of MIRO.
Regards
Rahul Gambhir
‎2006 Nov 22 12:36 PM
Hi ,
check BSEG table,
BELNR : accounting doc. no
EBELN : purchasing doc no.
if this is not ur solution please give full details please,
Regards,
swapnil
‎2006 Nov 22 12:45 PM
I have already tried that.
Its showing BELNR to be $ 1
and EBELN to be empty.
My main aim is to fetch packno and sub_packno from ESSR & Packno and introw from ESLL table.(this can be done if i get the service entry no., which I am unable to get through BSEG)
‎2006 Nov 22 12:49 PM
Hello,
Check if any BADI is available for that tcode, in the se80 you can find them...for example badi INVOICE_UPDATE, go and look for enhacements, and implement the class that would work for what you need.
Hope this helps!!
Gabriel P
‎2006 Nov 22 12:52 PM
u need to write code in user exit or badi on save...On save only the document number gets generated and this can be used in ur purpose.
‎2006 Nov 22 12:52 PM
Hi Rahul, Welcome to SDN.....
Try EKBE table, hope this will be Helpfull for ur requirement.
Cheers...
Santosh.
Mark All Usefull Answers.