07-13-2006 7:42 PM
Hi everybody
I have some modifications in EXIT_SAPLEBND_001 for calculate the Release Strategy for each Purchase Requisition Item. In EXIT_SAPLMEREQ_005 i make some related validations to Release Strategy obtained in standar exit between this two exits.
For make my requirement, i need to get the Purchase Requisition Item Number (BNFPO) in EXIT_SAPLEBND_001 but it does not come in FM parameters, so i tried to get via pointers this value accesing the variables in SAPLEBND - FM ME_REL_STRATEGIE_EBAN (wich calls the exit SAPLEBND_001) , for example using (saplebnd)e_eban , but this variables are declared locally so it's not possible. Then i tried the next level, accesing the SAPLMEREQ variables (wich calls ME_REL_STRATEGIE_EBAN) ; but this is not possible too.
Does somebody knows how can i get the processing Item Number (BNFPO)in EXIT_SAPLEBND_001 ? This value is 'live' in the Funct.Modules wich calls this exit, but it can not be retrieved from the exit.
Any help will be appreciated.
Regards
Frank
07-13-2006 8:57 PM
Hi,
You can try an EXPORT of the item number(s) within EXIT_SAPLMEREQ_005 and then a corresponding IMPORT within EXIT_SAPLEBND_001. I'm not familiar logical flow of the various functions in the transaction, but from a technical standpoint an EXPORT/IMPORT might work in your case.
Regards,
James Gaddis
07-13-2006 8:57 PM
Hi,
You can try an EXPORT of the item number(s) within EXIT_SAPLMEREQ_005 and then a corresponding IMPORT within EXIT_SAPLEBND_001. I'm not familiar logical flow of the various functions in the transaction, but from a technical standpoint an EXPORT/IMPORT might work in your case.
Regards,
James Gaddis
07-14-2006 1:51 AM
Thanks James
The problem it's that the SAPLEBND_001 is executed first, and the is executed SAPLMEREQ_005 ; and the first exit it's wich does not has the Item Number.
However, i gave the user others options instead to need to link both exits with Item Numer.
Thanks a lot.
Frank