Question create a batch input session in display mode
Hi, i have a batch input, with this three functions
CALL FUNCTION 'BDC_OPEN_GROUP'
CALL FUNCTION 'BDC_INSERT'
CALL FUNCTION 'BDC_CLOSE_GROUP'
when i execute the program, i need to see the batch input session in display mode. I need to see all the screens.
I try with
DATA: PARAMETROS LIKE CTU_PARAMS.
PARAMETROS-DISMODE = 'A'.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'ME51'
POST_LOCAL = NOVBLOCAL
PRINTING = NOPRINT
SIMUBATCH = 'A'
CTUPARAMS = PARAMETROS
TABLES
dynprotab = i_bdcdata
EXCEPTIONS
INTERNAL_ERROR = 1
NOT_OPEN = 2
QUEUE_ERROR = 3
TCODE_INVALID = 4
PRINTING_INVALID = 5
POSTING_INVALID = 6
OTHERS = 7
But i can´t see the screens.
Help me, please
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 10, 2008 12:46 PM
hi
For a BDC upload you need to write a program which created BDC sessions.
<u>Steps</u>:
1. Work out the transaction you would use to create the data manually.
2. Use transaction SHDB to record the creation of one material master data.
Click the New recording button or the Menu - Recording - Create
3. Save the recording, and then go back a screen
4. Select the recording and <b>click on Edit - Create Program.</b> Give the program a Z name, and select transfer from recording.
5. Edit the program. You will see that all the data you entered is hard-coded into the program.
Execute the program. It will have options to create a batch session or to process directly.
IF THIS FINDS USEFUL PLEASE REWARD POINTS
REGARDS
ANOOP
Similar Messages
-
Please help me with some questions with batch input session?
hello everyone.
I come to some questions like
1 What is a batch input session ,
2 What is the alternative to batch input session?
3 An ABAP program creates a batch input session. We need to submit the program and the batch session in back ground. How to do it?
would you please help me with the questions, couldn't thank you more.
Best regards
FrankHi
Batch Input Session:
BATCH INPUT SESSION is an intermediate step between internal table
and database table. Data along with the action is stored in session
ie data for screen fields, to which screen it is passed, program
name behind it, and how next screen is processed.
Three processing modes of executing Batch Input Session :-
Run Visibly : You can correct faulty transactions online & work step-by-step through the transactions not yet executed.
Display Errors only : You can correct faulty transactions online. Transactions not yet executed, but without error, run in the background.
Run in Background .
2) What is the alternative to batch input session?
Call transaction.
3) An ABAP program creates a batch input session. We need to submit the program and the batch session in back ground. How to do it?
go to SM36 and create background job by giving
job name,job class and job steps (JOB SCHEDULING) -
LSMW - Error in Inventory - Create batch input session
Hello good day.
I'm trying to create a batch input session for inventory upload (Standard Batch Input program - RM07MMBL) and when I select the Name of logical file = "MM_INVENTORY_MANAGEMENT_GOODS_MOVEMENT" and press F8, the following error occurs:
<b>Sequential file mmgoods cannot be opened
Message no. M7 850</b>
Now as the legend says.... I've contacted my system administrator and he keeps telling me everything is ok, but the error keeps appearing, where can I see if I have authorization for this "file" ???
Where is it created ??
I need more info on this.
Your help is very much appreciated.
Thank you.
Juango to file transaction n check for the logical file path and logical file weather it is defined correctly r not?
if it is correctly defined check for the file, weather the flat file is defined at the correct location which is defined in the logical file path
u can refer the below link also
Re: Logical file
Regards,
Naveen -
RFBIBL00 - issue in Batch Input Session created
Hi Experts,
I am Posting a document thru FB01, for this I am using RFBIBL00 and RSBDCSUB programs to create a Batch Input Session,
I have filled all the required fields for structures BBPKF, BBSEG and BBTAX, but the session created is not processed successfully, while processing it in Foreground, I am getting a Message saying 'No batch input data for screen SAPLKEAK 0300 '.
Can anyone please help me on this.Hi Experts,
Now I have 2 errors in the Batch Input Session Log,
1. Field COBL-PRCTR(Profit Center). does not exist in the screen SAPLKACB 0002
2. Field DKACB-XERGO(Details - Its a check box in the screen). does not exist in the screen SAPLKACB 0002.
But I can see that these filelds are existing in the screens, can anyone let me know why this error occurs.
This is occuring after COPA generation with new fields.
I am trying for a OSS Note also, but I am not getting any. Please help. -
How to see the Batch input session name in SM35 with User name.
Hi
Yesterday,User has created one Batch input session from FBWE and selected process button after that display errors only tick mark in SM35. Then the system displayed one error message"No Batch input data for screen SAPMF05A 0700".After that he came out from the screen. He dont know what happened.
Today we have verified in SM35. But there is no batch input session with his name. We have verified in incorrect screens and every thing in SM35.
We have verified in Table 'T045DTA'. There are some entries are there.
We dont know the session name also.
How we can find the session name created by the User.
We have not deleted any thing.
Please help me
Thanks
Ravi.Hi Ravi,
Yes, you should be able to create a new batch job for FBWE. You can see your own batch sessions from SYSTEM ==> OWN JOBS
Regards,
Mike -
LSMW- Batch Input session getting error
Hi All,
I created LSMW object for Tcode KO01 and its creating the Internal order as expceted.But even after creating the document the Batch Input session status is showing incorrect.No messages are also displayed in the log.
Please let me know why this is happening.
Thanks in Advance,
SavithaHi,
Detail Error Message is as follows:
No batch input data for screen SAPLIMR0 1110
Message no. 00344
Diagnosis
The transaction sent a screen that was not expected in the batch input session and which therefore could not be supplied with data.
Possible reasons:
1. The batch input session was created incorrectly. The sequence of screens was recordly incorrectly.
2. The transaction behaves differently in background processing in a batch work process than when running in dialog (SY-BATCH is queried and changes the screen sequence).
3. The transaction has undergone user-specific Customizing and therefore certain screens may be skipped or processed differently, according to the current user. If the person who created a batch input session is not the same as the person now processing it, this problem may occur frequently.
System Response
None.
Procedure
For 1: Either re-create the session or process it in expert mode. Correct the batch input program.
For 2. It is very difficult to analyze this problem, particularly in the case that the screen sequence or the display-only options of fields differ according to whether the transaction is being processed in the background or as an online dialog. It could also be that this kind of transaction cannot run with batch input.
For 3: Have the creator of the session process it. If no error occurs now, then this is a program with user-specific Customizing.
Regards,
ababfk -
Happy new year everyone!
I am writing a piece of ABAP code which creates a batch input session.
In the code I have the following statement:
PERFORM session_insert USING 'F-02'.
However, when I run SM35 and look and display the log, in the transaction
column FB01 appears. There is no reference to F-02.
Does anybody know why this is?
Thanks
AndyHi andy,
1. in your subroutine session_insert,
(or before that, when u open the session),
the session name must be going as FB01.
(the session name and tcode can be different)
regards,
amit m. -
Running Batch Input sessions in One program
Hi Guys.
I am sure this question might have come up before. Reall y need quick help in this hence posted the same.
I need to develop a program which creates several batch input sessions.
At the end of the program all these sessions should ve triggerred in the background.
Please let me know if this can be done and if yes can someone send me psuedocode for same.
This is very urgent.
thxHi Vijay,
Using the following function modules you can create a batch input session.
BDC_OPEN_GROUP
BDC_INSERT
BDC_CLOSE_GROUP
Example - http://www.sap-img.com/abap/auto-disallowed-back-posting-to-previous-period.htm
You can use the program RSBDCSUB to schedule batch input sessions in background.
http://www.sap-img.com/abap/learning-bdc-programming.htm - How to write BDC program
Executing batch-input sessions in background jobs - Example for how to call the bdc session.
Hope these are helpful.
Thanks
Vinod -
How to check whether a batch input session is completed in ABAP program
I have created a ABAP program to create a batch input session (reference to RSBDCSUB). After the creation of the batch input session, I kick it to start and read the execution log. However, sometimes I cannot read anything from the execution log as the execution of the batch input is a synchronized process to the execution of my program, i.e. at the time being that I try to read the log of a particular transaction, that transaction is being processing / haven't start processing.
How can I check whether a batch input session is completed in the program?
The code that corresponding to the triggering of batch input session:
SUBMIT (SUBREPORT)
USER MTAB-USERID
VIA JOB MTAB-GROUPID
NUMBER JNUMB
WITH QUEUE_ID EQ MTAB-QID
WITH MAPPE EQ MTAB-GROUPID
WITH MODUS EQ 'N'
WITH LOGALL EQ LMODUS
Or is there any method to wait here until the process is completed before further processing?Hi gundam,
1. Or is there any method to wait here until the process is completed before further processing?
There is no such direct method to wait.
2. Immediately after submitting in background,
we cannot wait
neither can we LOOP and go on detecting
whether the b/g process has completed or not !
3. To over come such problems,
we have to use another technique.
4. we have to submit another
job which will get triggered
on event SAP_END_OF_JOB
ie. when the original job will finish,
our new job will AUTOMATICALLY get triggered,
5. This new job / program
will do the FURTHER actions !
regards,
amit m. -
Creation of batch input session for mass reversal of payment documents
Hello FI experts,
There is a business requirement in which the users want to reverse the payments en-masse. This can be achieved by creating a batch input session via a custom program to upload the documents from excel . Then calling FBRA and FB08 to do the resetting and reversal.
My issue is how to create the batch input session ? Please help.
Regards,
VanHi,
I have got developed such program earlierr.
You can define your custom program specification as below:-
(A) Based on the selection screen, the program will read all the records (field document number VBLNR, company code ZBUKR and year from field ZALDT) from table REGUH. (Proposal Run Indicator XVORL should be blank.)
(B) If Paying company code (REGUH-ZBUKR) is equal to Sending company code (REGUH-ABSBU):-
Step 1:- For each record of (Payment Document Number (REGUH-VBLNR), Company code (REGUH-ZBUKR), and Fiscal Year (REGUH-ZALDT)) it will call transaction FBRA and will reset the clearing of the document.
Step 2:- Then call transaction FB08 and pass the data as below:-
Document Number = Payment Document Number (REGUH-VBLNR)
Company Code = Company code (REGUH-ZBUKR)
Fiscal Year = Fiscal Year (REGUH-ZALDT)
Reversal Reason, Posting Date and Posting period will be defaulted from the selection screen of out program.
(C) If Paying company code (REGUH-ZBUKR) is not equal to Sending company code (REGUH-ABSBU):-
Step 1:- For each record of (Payment Document Number (REGUH-VBLNR), Company code (REGUH-ZBUKR), and Fiscal Year (REGUH-ZALDT)) it will call transaction FBRA and will reset the clearing of the document.
Step 2:- for each record of (Payment Document Number (REGUH-VBLNR), Company code (REGUH-ZBUKR), and Fiscal Year (REGUH-ZALDT)) get the cross company code document number (BKPF-BVORG) and
(ii) Then find out the Document number (BKPF-BELNR) from BKPF matching BUKRS = Sending company code (REGUH-ABSBU) and GJAHR = Fiscal Year (REGUH-ZALDT) and BVORG = cross company code document number (BKPF-BVORG) as obtained above in
(iii) Then call transaction FBRA and will reset the clearing of the document passing BKPF-BELNR, BKPF-BUKRS and BKPF-GKAHR as obtained in (ii) above.
Step 3:- Then call transaction FBU8 and pass the data as below:-
Cross CC Doc. Number= Blank
Document Number = Payment Document Number (REGUH-VBLNR)
Company Code = Company code (REGUH-ZBUKR)
Fiscal Year = Fiscal Year (REGUH-ZALDT)
Reversal Reason, Posting Date and Posting period will be defaulted from the selection screen of out program.
Regards,
Gaurav -
How to process a batch input session directly from the program
Hi,
I have developed a program which will create a batch input session.
When the program is executed, the session should get processed . ie. the user need not have to go to sm35 to process the session. I am facing some problem in this.
I am using BDC_INSERT by passing the tcode . The session is getting processed, but when i go to sm35, i noticed that the session is still listed under the "New" tab instead of the "Processed" tab.
Also I am not getting the final window with the buttons " Session overview" and "Exit Batch Input".
Please help me out in this.Hi
U have to submit the program RSBDCSUB:
SUBMIT RSBDCSUB WITH MAPPE = <session>
WITH VON = SY-DATUM
WITH BIS = SY-DATUM
WITH FEHLER = ' '
EXPORTING LIST TO MEMORY
AND RETURN.
Max -
Mass updates in CUA via a Batch Input Session
We are trying to do a mass upload of users in CUA, via SU01. When we come to create the batch input session, by creating a record, we find that the only thing that is not saved is the role data entered on the role tab, everything else gets saved.
Can anybody help with a solution ?Hi Geoff
Initial load of user through Batch-Input or CATT is kind of difficult when you are using CUA.
I use a couple of ABAP Reports for this, one that creates the users, and one to assign the roles, but it's not SAP standard reports
There are some good BAPI'S for both to create your own load program.
Regards
Morten Nielsen -
Batch input session to FB01 using standard program RFBIBL00
Hi all,
I am creating a batch input session using the standard program RFBIBL00 to simulate transaction FB01.
My problem is when I process the "batch input session" (using transaction SM35), this finish ok, but in the log I am retrieving the following message:
"Field BSEG-DMBTR. does not exist in the screen SAPMF05A 0300"
This is a success message and the document is created ok,and the field DMBTR is informed ok.
Has somebody some idea?.
Thanks so much in advance for any answer.Hi gundam,
1. Or is there any method to wait here until the process is completed before further processing?
There is no such direct method to wait.
2. Immediately after submitting in background,
we cannot wait
neither can we LOOP and go on detecting
whether the b/g process has completed or not !
3. To over come such problems,
we have to use another technique.
4. we have to submit another
job which will get triggered
on event SAP_END_OF_JOB
ie. when the original job will finish,
our new job will AUTOMATICALLY get triggered,
5. This new job / program
will do the FURTHER actions !
regards,
amit m. -
Batch input session for Recurring Entry
Hello All,
i have created Batch input session for Posting document's for recurring entries creted and job executed in background through SM35 and done successfully, but i am unable to find the Batch input session in SM35 which i have created to run the job.
i want to see the log file for this Batch Input session.
Please help me how to get the batch Input Session.
Thanks
ShankarHi Murali...
Thank you a lot for your answer, i have created the Batch input session without selecting the "HOLD Session" Check box..
Issue Resolved
Thanks Again
Shankar -
Batch input session from F.05 has an 'in processing' status
Hello all,
We would like to ask for advice regarding an issue that we are facing right now. We ran F.05 on 9/30/2008. This transaction should create a batch input
session and post revaluation at the end of the month and eventually
reverse them at the beginning of the next month. Unfortunately, as of
the date of the run, period 10 was not yet open. So, the results are
the following:
The batch input created, until now, has an 'in processing' status. 70
transactions were supposed to be processed (but not sure if this is
already the total or it still has some more to process -since we do not
have a record of the supposed number of postings). Now, period 10 is
already open and we are trying to reprocess the session, but it can't
be because of its status.
Looking at the transactions: total is 70 (but not sure if there are
still more to be processed supposedly). 35 transactions (pertaining to
the revaluation postings at the end of the month) have been processed and
their revaluation documents were already produced. 35 transactions (pertaining to the
supposed reversal on the first day of October) are in error because
period 10 was not yet open as of run date. No logs have been created (blank).
In the meantime, can we post manual reversals in October for the revaluation postings made in September? Is there a possibility that there are still revaluations to be processed for September? Let's say, instead of only 35, there are still more? Or another option: could we manually reverse the revaluation postings on September 30 and post on the same date, delete the batch input session (can it be deleted despite the status?), then run the revaluation transaction again for September?
Thanks in advance for your advice.
Regards,
PeterHi Peter,
Go to SM35 > Select the session in process > Release session (Shift + F4)
Now select the session again from "Overview" and process again in order to process the remaining documents. Ensure the period is opened.
This should resolve the issue. Let me know how it goes.
Rgds
Nadini
Maybe you are looking for
-
How to authenticate user in Active Directory for an Oracle report
Hey there, We have users of 1 report all over the country. Currently, when using the report, the user chooses a location as a parameter, then runs the report. The problem is we don't want the user to be able to see data from other locations, only the
-
when I am printing a pdf file, i do nto get all of the details of the document. Do I need to download something?
-
...would like to use your current location
Every application I've installed that features location services prompts me to use my current location. Despite the claims that these messages are supposed to disappear after pressing "Okay" twice, each program continues to ask. It seems like an unne
-
I have a 2010 Hyundai Sonata, and an IPhone 4. I am unable to use the music on the iPhone through the USB port in the car. Does anyone have suggestions or know where I can find a solution? Thanks
-
My keypad is stuck in the up position
my keypad is stuck in the up position. How to I correct this?