Skip to Content
avatar image
Former Member

How to customize a specific date format for a customer?

Hi gurus,

May I know if is possible to set a specific date format for a particular customer?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Nov 02, 2015 at 07:02 AM

    Hi Eva ,

    Yes we can do it for specif customer,

    Before writing the coding for date changes you have to put the if condition based on specific customer .

    Like below coding.

    If WA_KNA1-KUNNR = <Put your customer number>.  ""ïf it is based on specific customer

    or

    If WA_KNA1-LAND1 = <Put your customer City>.  ""ïf it is based on specific Country

    date(4) is year

    date+4(2) is month

    date+6(2) is day

    use concatenate date4(2) '/' date6(2) '/' date(4)  into field date_result.

    endif.

    <Text Removed>

    Thanks,

    Rupesh Chouhan

    Message was edited by: Jyoti Prakash - As per SCN RoE, point begging not allowed.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 02, 2015 at 06:37 AM

    Assuming that your requirement is only in the output, ask your ABAP team to add the required coding in the existing smart form being used for an output type which is configured for that customer.  Couple of similar discussions have already taken place in SCN and if you search, you will get the required inputs

    G. Lakshmipathi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 02, 2015 at 07:04 AM

    Thanks all for your advise 😊

    Add comment
    10|10000 characters needed characters exceeded