Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_COMPANYCODE_GET_PERIOD

Former Member
0 Likes
880

Hi ,

I am picking up data from BKPF, BSEG then cross checking with tables BSIK & BSAK. In the prg I am using BAPI_COMPANYCODE_GET_PERIOD . This part of the code gets triggered only if a select a particular variant. My problem is when I select this variant I see data coming in only for Feb ... & if I do not select this variant the prg dumps saying it's a run time error ... Does " BAPI_COMPANYCODE_GET_PERIOD" is taking the system date & then getting data for the month of Feb only ??... I am not using any selection date criteria in my logic or on the selection screen.

Thank You,

SB.

4 REPLIES 4
Read only

Former Member
0 Likes
730

SB - For POSTING_DATE, you can enter any valid date. It will return the Fiscal Year and Period.

Rob

Read only

0 Likes
730

Thanks

Read only

0 Likes
730

You dont need to give comments everytime while closing all your posts.

It will make the posts come on to the top of the list.

Read only

0 Likes
730

Correct, and if any of the replies helped you, please assign the appropriate star to them via radio-buttons to the left of each reply.

Thomas