Skip to Content
author's profile photo Former Member
Former Member

HOW TO ADD FIELDS OF BSEG-ZFBDT & BSEG-ZBD1T

hi frnds.

currently iam working on SD MODULE I NEED the NET DUE DATE SO HOW TO DO THAT

1 problem plz:

HOW TO ADD FIELDS OF BSEG-ZFBDT & BSEG-ZBD1T

TOGETHER

one is date & other is numeric value so how?

one is date & other is numeric value so how to add this 2 fields

& finally i want to display the o/p in date format dd/mm/year

THANKS IN ADVANCE.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on May 31, 2007 at 01:57 PM

    Hi Mahesh,

    you're aware of the fact that it's possible give points to helpful answers in the forum? This way you encourage people to answer on your coming questions.

    Best regards,

    ok

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 31, 2007 at 11:16 AM

    Hi Mahesh,

    one of the nice features of ABAP is that it takes care about month/year changes when adding days/month on a date.

    ADD lv_zbd1t TO lv_zfbdt.
    

    This should work fine. If not, try to convert zbd1t into an integer first.

    To get you preferred date output format try this:

    DATA: lv_datestring TYPE string.
    
    CONCATENATE lv_zfbdt+6(2) '/' lv_zfbdt+4(2) '/' lv_zfbdt(4)
    INTO lv_datestring.
    

    This isn't tested, but should give you a clue.

    Regards,

    ok

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 31, 2007 at 11:17 AM

    Hi,

    you can use a Fm for that like FM:/SAPHT/DRM_CALC_DATE

    input the date and numeric value.

    else goto tranx se37 type calcDATE* and press F4 , you will get a lot of FM's.

    Regards,

    Sooness

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.