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

Issue with calling FBL1N using SUBMIT command.

Sijin_Chandran
Active Contributor
0 Likes
2,769

Hello All ,

I am encountering a strange problem while calling FBL1N using submit command in my program.

The parameters I need to fill while calling the program are :

1. Vendor Code

2. Company Code

3. Open at key date ( Open items )

4. Normal Items (Check Box )

5. Special G/L indicator.

So for this am calling submit as below :

SUBMIT RFITEMAP       WITH LIFNR = '100024'

                                    WITH BUKRS = '1000'

                                    WITH ALLGSTID = '20120101'

                                    WITH XNORM = 'X'

                                    WITH XSHBV = 'X' AND RETURN.

Now the problem is with third parameter , as you can see that I have set date to '20120101' i.e 01.01.2012 but when submit triggers FBL1N that date is set to today's date ( which is a default behavior of fbl1n ). I don't know why this is happening when I passing the date correct.

1 ACCEPTED SOLUTION
Read only

arindam_m
Active Contributor
0 Likes
1,874

Hi,

Check if that is the field parameter technical name in the screen. If so Change your date to '01012012'. It might be skipping the conversion as screen is not used and then take today's date as default.

Cheers,

Arindam

10 REPLIES 10
Read only

arindam_m
Active Contributor
0 Likes
1,875

Hi,

Check if that is the field parameter technical name in the screen. If so Change your date to '01012012'. It might be skipping the conversion as screen is not used and then take today's date as default.

Cheers,

Arindam

Read only

0 Likes
1,874

Hi Arindam ,

I have tried that also , its not working !!!

You can try it in your development server.

Read only

arindam_m
Active Contributor
0 Likes
1,874

Hi,

I dont have any server access here. can you post the selection screen parameters of RFITEMAP.

Cheers,

Arindam

Read only

0 Likes
1,874

Actually the correct format is '20120101'.

I tried with CONVERSION_EXIT_SDATE_INPUT also ,

Read only

0 Likes
1,874

I have already mentioned the same above.

Read only

arindam_m
Active Contributor
0 Likes
1,874

Hi,

I doubt those are the parameters name of the report. I checked about the net. I parameter is kd_bukrs. But you are doing BUKRS.

Can you copy paste the selection screen code in report RFITEMAP. Thats what I asked for.

Cheers,

Arindam

Read only

Sijin_Chandran
Active Contributor
0 Likes
1,874

Yeah Arindam ,

That was the issue .

I don't know how I made such a Blunder mistake .

Read only

Sijin_Chandran
Active Contributor
0 Likes
1,874

Yeah Arindam ,

That was the issue .

I don't know how I made such a Blunder mistake .

Read only

0 Likes
1,874

Cool all sorted then.

Cheers,

Arindam

Read only

0 Likes
1,874

yeah ,

I have used SUBMIT many a times in my life with ABAP.

Actually I was trying to replace a CALL TRANSACTION( was written by an earlier abaper and was not working correctly ) with a SUBMIT and in call transaction method values are passed with SCREEN variables ,  without thinking I copied it to SUBMIT , this was the error which you pointed out