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

F.13 BATCH input

Former Member
0 Likes
1,563

Hi experts,

I have to create a program for submitting data to F.13 transaction ( needs it to create session with SM35

I can't find which structure (like bbseg, bbkpf,...) and which field should I use for the 2 checkbox bellow:

F.13 transaction

- Select Customers in tab (General Customers ).

- date from most recent document in tab (Posting parameters ).

Pleas need help on this

6 REPLIES 6
Read only

Former Member
0 Likes
998

I don't know why do you want to send it in btci.

I think the best way is to send it in background.

There's a customizing point to select how you will clear your document.

Check custo with a consultant in FI forum.

Regards.

Read only

Former Member
0 Likes
998

I have to create a program wich load a file ( contains accouting document number + price ).

and check if the price is the same as the invoice (SD).

if the case, I have to batch all those line via F.13.

what it the appropiate way to make this work? do you know a FM? a bapi? or should I CALL transaction F.13 in mode background?

Mohamed

thanks for answer man

Read only

0 Likes
998

F.13 is NOT a module pool, so the easiest thing to do, would be to create a report which uploads the file.

Then in your report do a SUBMIT of the F.13 report SAPF124 using the data from the file to fill the selection screen.

Look for SUBMIT in help (click on SUBMIT and press F1) to the correct syntax.

If you upload your file from application server you can schedule your main report (which does the SUBMIT) in background via SM36. If you upload your data from frontend (Desktop, workstation), then you have to do the SUBMIT in background by using JOB_OPEN and JOB_CLOSE function modules.

Read only

Former Member
0 Likes
998

Yes, I upload file from my station,

so should I do for any line of file :

- open job

- submit SAPF124

- close the job.

is this the only way to do it so properly?

Read only

0 Likes
998

What data will you retrieve from the file? If this is the document number for example, than you can see that on the selection screen the document number is a SELECT-OPTIONS, meaning you can enter several (all) items (documents) at once.

So upload file, determine all documents, and submit them all at once.

Again, you can find several syntax options for this in the help, otherwise search on SDN how to use the SUMBIT statement to pass select-options (and parameters).

Read only

Former Member
0 Likes
998

The file is :

COmpany code | Invoice number | net price.

My program object : is to get all account numbers related to invoices number, after this I will check if the summ of all account prices = invoice-price.

then I will get a internal table with bukrs | Accouting year | account number. that I will submit to the F.13 .

for each line not well processed I will put in a specified data table.

this is my need, so how I will process?

thanks