Skip to Content
avatar image
Former Member

How to reset clearing items programmaticaly?

Hi !

I need to reset clearing items from ABAP. I've tried to use the CALL_FBRA, but in simulation mode I it says that the period is closed? what parameters should I use? is this the way??

Regards,

Matias.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 17, 2007 at 03:56 PM

    The clearing items which are trying to reset, has posting period already close. Enquire with the finance people what posting period is open. IF the period is not open then you cannot run the call_fbra for that period.

    Assign points if helpful

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sunil !

      Thanks, for answering.

      The posting period should not be a problem. If I go manually to the FBRA tx via SAPGUI, and I enter one document number whose date is in a closed period and select "reset only", it resets the document automatically without problems. It works.

      BUT, if I try to use the call_fbra, for that same document, it says that the posting period is closed. If I try to specify a date for I_STODT, to make call_fbra use this, it keeps saying the posting period is closed for mode 01...but I'm not specifing any mode...in fact, I don't know how to specify it.

      Any clues.

      Regards,

      Matias

  • avatar image
    Former Member
    Aug 17, 2007 at 04:44 PM

    Yes if you dont specify anything N should be taken.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 17, 2007 at 04:31 PM

    DID you try to put N in the I_mode field.

    Assign points if helpful

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I didn't.

      As far as I know, "N" is a default value..so if don't specify value for that import parameter, then N should be taken. Am I right?

      Thanks,

      Matias