Skip to Content

funtion module and logic help

hello experts,

i want to

Pass VBRK-WAERK and VBRK-FKDAT into TCURR-FCURR and TCURR-GDATU for TCURR-KURST=ZCUS. Get UKURS for corresponding entry.

here one problem is the GDATU is specified as a whole month for eg( 01.07.2008) , means the data with 1st of the month to 31st of the month .

where as VBRK-FKDAT is specified as exact date eg (21.07.2008).

so if we pass VBRK-FKDAT to TCURR it wont fetch any record.

So please kindly help me out with the logic and the function module involved.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Oct 22, 2008 at 12:01 PM

    yes i am able to but i want to know how to convert the FKDAT to the stating date of the month...

    if there any function module or logic plz kindly let me know

    thank you.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2008 at 11:00 AM

    Hi,

    Before passing date to where condtion or FM use,

    CONVERT DATE VBRK-FKDAT INTO INVERTED-DATE dat2.

    and then pass dat2.

    Thanks & Regards,

    Navneeth K.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2008 at 11:08 AM

    gdatu is inverted date, which you can get by calling CONVERSION_EXIT_INVDT_INPUT with the date field.

    if you have the 1st of the month for gdatu, then change your fkdat to start of the month then convert to inverted date format

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2008 at 11:58 AM

    Are you able to get data now ?

    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.