on 03-18-2015 11:02 AM
can any one tell me what mistake i have done
EXITS-NAME = 'U504'. "JSB
EXITS-PARAM = C_EXIT_PARAM_Field. "JSB
EXITS-TITLE = TEXT-106. "JSB
APPEND EXITS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Singh,
I think you can try to adopt a substitution rule for bringing Usage type into your financial documents.
Any how below link will help you to get a basic idea on creation / using the substitution rules in SAP.
Regards,
Subbarao.Narne
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i write dowm my user exit as
FORM U504. "Nutan
DATA : wa1 type vimi01 ,
RU Like vimi01-smenr,
be like vimi01-swenr,
snunr LIKE vimi01-snunr.
* If Account type is 'K' i.e. Vendor and G/L Account is '0000240005'
* then get the Business area from Employee Master (Info type no '0001'
* on the basis of Personall No. (Pernr)
* G/L Account = '0000240005' Sundry Creditors- Employees
clear: wa1.
ru = BSEG-VERTN+6(4) .
BE = BSEG-VERTN+0(2).
shift ru right deleting trailing space.
overlay ru with '00000000' .
shift BE right deleting trailing space.
overlay BE with '00000000' .
SELECT single * FROM VIMI01 into WA1 WHERE bukrs = 'DMRC' and SMENR = ru and swenr = BE.
If sy-subrc = 0 .
move wa1-snunr to bseg-werks .
endif.
ENDFORM.
but still its not coming in fi
User | Count |
---|---|
6 | |
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.