on 08-12-2005 2:20 PM
Hi,
I'm doing a BDC using the following ;
bdcdtab-dynpro = '0000'.
bdcdtab-dynbegin = ' '.
bdcdtab-fnam = 'BKPF-BUDAT'.
bdcdtab-fval = '12.07.2005'. "ybsid-budat Change this
APPEND bdcdtab.
And I want to ensure that the date is always in the format dd.mm.yyyy like 12.07.2005 above. I have the date from the variable 'BKPF-BUDAT', how can format to always be the way I want?
Thanks
Use function module : CONVERT_DATE_TO_EXTERNAL
Regards,
Subramanian V.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use WRITE BKPF-BUDAT TO bdcdtab-FVAL.
This will write date in format defined in used setting.
Regards,
Gagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This FM 'CONVERSION_EXIT_PDATE_OUTPUT' converts date to output user format.
Another approach:
concatenate date6(2) date4(2) date+0(4) into string separated by '.'. - converts in dd.mm.yyyy
Svetlin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.