2008 May 26 7:39 PM
Hello all!
I've developed a new substitution exit at OBBH named UFOR. This exit should be responsible for concatenating the vendor name (LFA1-NAME1) into the item text data for the BSEG records (BSEG-SGTXT) concerning that invoice.
The condition for these substitutions are:
BKPF-BLART = 'RE' AND BKPF-AWTYP = 'RMRP' AND
BKPF-TCODE = 'MIRO' AND BKPF-PPNAM = '' AND
BSEG-HKONT <> '212101' AND BKPF-BUKRS = '1000'
Problem is, the invoices are processed via BAPI, using the function BAPI_INCOMINGINVOICE_PARK via NetWeaver portal.
My doubt is: When this calling happens, the process will also execute the substitutions, or will just ignore them? The UFOR exit will be called?
Thanks in advance!
Regards.
Hello all!
I've developed a new substitution exit at OBBH named UFOR. This exit should be responsible for concatenating the vendor name (LFA1-NAME1) into the item text data for the BSEG records (BSEG-SGTXT) concerning that invoice.
The condition for these substitutions are:
BKPF-BLART = 'RE' AND BKPF-AWTYP = 'RMRP' AND
BKPF-TCODE = 'MIRO' AND BKPF-PPNAM = '' AND
BSEG-HKONT <> '212101' AND BKPF-BUKRS = '1000'
Problem is, the invoices are processed via BAPI, using the function BAPI_INCOMINGINVOICE_PARK via NetWeaver portal.
My doubt is: When this calling happens, the process will also execute the substitutions, or will just ignore them? The UFOR exit will be called?
Thanks in advance!
Regards.
2008 May 26 8:20 PM
normally all the user exits, badi's are called when using a BAPI.
2008 May 27 1:05 PM
Thanks Micky....
And that works even for substitutions from OBBH?
I mean, in this particular case, one of the conditions is BKPF-TCODE = 'MIRO'. Won't this condition, or any of the others, restrict this substitution exit execution, as it will run via BAPI?
2008 May 27 1:11 PM
Good question, well I really wouldn't know. I haven't dealt with this sitiuation before, so can't say anything about it, except that in this case (with sy-tcode) my guess would be that it's not going to work via BAPI. The only way would be to test and find out. Good luck.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |