2007 Jul 04 10:29 AM
Hi,
Iam working one object for Reporting Date in COPA.
User Exit : COPA0005
Function Exit : EXIT_SAPLKEII_001
This user exit will be triggered for all PA posings in COPA.
in this exit import parameter is i_item and export parameter is E_item.
There is no information for i_item,E_item.
But iam taking one structure(E200) this is refer to i_item,E_item.
Iam getting the values(I_item,E_item) from E200.
my quiers is
1. Move the posting date (BUDAT) in the input structure of the user exit to the reporting date field (WWRPT) and pass the reporting date to the output structure if the billing document type (FKART) is blank in the input structure.
2. If the billing document type (FKART) in the input structure is not B1, B1E, B2, B2E, B3, B3E, B4, BK1, BK3, FXG, G2, G2S, JGL, RE, VLG2, BM1, BM3, FXL, JLL or L2 (note: the billing document category (VBRK_VBTYP) is not avaiable in the input structure), move the posting date (BUDAT) in the input structure of the user exit to the reporting date field (WWRPT) and pass the reporting date to the output structure.
Please help me the logic.
Hi,
Iam working one object for Reporting Date in COPA.
User Exit : COPA0005
Function Exit : EXIT_SAPLKEII_001
This user exit will be triggered for all PA posings in COPA.
in this exit import parameter is i_item and export parameter is E_item.
There is no information for i_item,E_item.
But iam taking one structure(E200) this is refer to i_item,E_item.
Iam getting the values(I_item,E_item) from E200.
my quiers is
1. Move the posting date (BUDAT) in the input structure of the user exit to the reporting date field (WWRPT) and pass the reporting date to the output structure if the billing document type (FKART) is blank in the input structure.
2. If the billing document type (FKART) in the input structure is not B1, B1E, B2, B2E, B3, B3E, B4, BK1, BK3, FXG, G2, G2S, JGL, RE, VLG2, BM1, BM3, FXL, JLL or L2 (note: the billing document category (VBRK_VBTYP) is not avaiable in the input structure), move the posting date (BUDAT) in the input structure of the user exit to the reporting date field (WWRPT) and pass the reporting date to the output structure.
Please help me the logic.
2007 Oct 10 8:23 AM
DATA CE0_E200 LIKE CE0E200.
CASE I_ERKRS.
WHEN 'E200'. "E200
Inform the calling program that you have stored user exit source code
for this operating concern. This is important since otherwise
the derivation processor does no longer call the user exit in
that sequence (within the same transaction/report)
CE0_E200 = I_ITEM.
E_ITEM = CE0_E200.
WHEN OTHERS.
E_ITEM = I_ITEM.
ENDCASE.
null
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |