cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset clearing items programmaticaly?

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

Yes if you dont specify anything N should be taken.

Former Member
0 Kudos

DID you try to put N in the I_mode field.

Assign points if helpful

Former Member
0 Kudos

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