Use of Standard Batch Programs - RFBIBL00 and RFBIBL01
Dear All,
I am facing issues while using the standard batch program
RFBIBL00 which in turn triggers RFBIBL01 for creating batch session.
I understand that there are 3 structures BGR00, BBKPF and BBSEG which needs to be populated.
I also understand that this program reads data from file on application server.
I want to understand whether the above batch program can be used for
1. To Create Batch Session ?
2. To Call Transaction ?
Please explain the steps in detail, for both these processes.
I am calling transaction F-22 to post invoices.
Please exlpain in detail on how to go about this.
Warm Regards'
Madan
Hi,
Thank you for the information.
I have already populated the strucutres BGR00 and BBKPF.
I am facing issues while populating data for BBSEG.(item leve data)
Can u pls tell me how exactly i can populate these structures and where exactly to do so ?
Please explain me the process of populating the header and item level data structures.
Appreciate all the help from your end.
Once again thanks for ur time and information.
Madan
Similar Messages
-
Using Sap Batch Program - RFBIBL00
Hi,
I have gone through the forum in trying to understand the standard sap batch program, but still unable to do so.
I have a requirement where I need to use standard sap batch program RFBIBL00
I need to use T.code: F-22 for processing
I have a posting text file to upload. Please explain me how to use the standard sap batch program.
I know there are 3 structures BGR00, BBKPF and BBSEG which needs to be populated before calling the program RFBIBL00
Please explain me in detail.
Appreciate all the help from your end.
MadanThis is a brief guideline from memory, so you will have to modify it to fit your exact requirements.
1. Initialise the work areas, can be done by
perform init_strukturen_erzeugen(rfbibli0) using '/'
2. Fill your batch structure BGR00 and append to output file data itab
3. Load your data from text file, and loop around it
4. Fill your header structure BBKPF per document, append to output file itab
5. Fill your lines itab BBSEG per document line, append to output file itab
6. Repeat 4 & 5 for each document in text file.
7. Create temporary output file on App server using contents of output file itab
8. Submit rfbibl00 program using output file name
9. Delete the temporary file (good practice)
Hope that helps for starters -
Customer Master using LSMW standard batch
Hi All,
I am uploading the customer master data using LSMW standard batch input method. When i process the session created using this i am getting an error that input data that "No batch input data for screen SAPMF02D 0310". This is happening when it reachs the sales area screen. All the remaining screens are processed correctly.
Please help me in this regards,
Thanks & Regards,
SudheeraHi,
Refer
https://forums.sdn.sap.com/click.jspa?searchID=9408057&messageID=4828875
Regards
Kiran Sure -
Edit Equipment TL using LSMW Standard Batch/Direct Method
Hello all
I have created a set of Equipment TL for around 600+ Equipments uwing LSMW method of Standard Batch/ Direct Input method (0470). While creating I found that it creates only the header of the TL and not the individual operations and Components at item level. Now that the TL have been generated I am trying to chnage the TL and insert the Operations/Components gainst respective Group and counter no, but the Change mode(0002) for Direct Input method (0470) is not available.
How can I achieve this..Tried searching some of the posts in this forum but they dont seem to be an answer for my requirement.
I do not want to go thru LSMW recording method.
Please assit with any FM or BAPI to achieve the above requirements.
Thanks
MuradIf you want to load the task list, it obvious to have three files : Header, Operations and components. - You have to maintain three strcutures for each file and you need to map three of them with some common key incase if you have multiple operations.
Goodluck
Mahee -
Equipment BOM using LSMW- standard batch/Direct input method - reg
hi,
I tried to upload equipment BOM using standar batch / direct input method.
I have maintained sorcue structures for BOM header and Item, maintained source fields.
Both source fields have common field as equipment number.
It is working fine upto step display read data.
At step, convert data- i am getting ABAP dump.
"Data objects in Unicode programs cannot be converted" is displayed in dump
If any one tried before or experiance similar condtion before, please help
thanks & rgards,
Kiran kumar.KasturiHi,
thanks for your inputs.
In the Specify files Step ,when specifying the file from system , in separators,selected Tabulator .
and I have done already all the above while uploading my header and item file ( type tab delimited) and
still iam getting error at convert file step.
please help
thanks & regards,
Kiran Kumar.K -
How to use RLB_INVOICE standard print program
my program is copy of RLB_INVOICE
when i press execute i m not getting any output
how can i see print preview by executing print program.hi,
check this
REPORT ZRE_SD_INVOICE.
*& Form ENTRY
text
-->P_ENT_RETCO text
-->P_ENT_SCREEN text
FORM ENTRY USING P_ENT_RETCO
P_ENT_SCREEN.
DATA: lf_formname TYPE TDSFNAME,
lf_fm_name TYPE RS38L_FNAM,
g_adrnr LIKE ADRC-ADDRNUMBER.
TABLES DECLARATIONS *
TABLES: NAST, "Messages
*NAST, "Messages
TNAPR, "Programs & Forms
ITCPO, "Communicationarea for Spool
ARC_PARAMS, "Archive parameters
TOA_DARA, "Archive parameters
ADDR_KEY, "Adressnumber for ADDRESS
T005U , "FOR RETRIVAL OF STATE
ADRC . "FOR RETRIVAL OF ADDRESS
DATA DECLARATIONS *
DATA: RETCODE LIKE SY-SUBRC. "Returncode
DATA: XSCREEN(1) TYPE C. "Output on printer or screen
DATA: REPEAT(1) TYPE C.
DATA: NAST_ANZAL LIKE NAST-ANZAL. "Number of outputs (Orig. + Cop.)
DATA: NAST_TDARMOD LIKE NAST-TDARMOD. "Archiving only one time
DATA: GF_LANGUAGE LIKE SY-LANGU.
DATA: L_FMNAME TYPE rs38l_fnam.
data: CS_BIL_INVOICE type LBBIL_INVOICE.
data: IS_PRINT_DATA_TO_READ type LBBIL_PRINT_DATA_TO_READ value
'XXXXXXXXXXXXXXXXXXXXXXXX'.
DATA: BILL_DOC_EXP LIKE VBCO3.
DATA: BILL_DOC_IMP_H LIKE VBDKR.
DATA: BILL_DOC_IMP_I LIKE VBDPR OCCURS 0 WITH HEADER LINE.
DATA: T_RC LIKE ADRC OCCURS 0 WITH HEADER LINE.
DATA: T_T00 LIKE T005U OCCURS 0 WITH HEADER LINE.
DATA: L_WERKS LIKE J_1IEXCHDR-WERKS.
DATA: I_LIKP LIKE LIKP OCCURS 0 WITH HEADER LINE,
I_VBAK LIKE VBAK OCCURS 0 WITH HEADER LINE,
I_LIPS LIKE LIPS OCCURS 0 WITH HEADER LINE,
I_VBKD LIKE VBKD OCCURS 0 WITH HEADER LINE,
I_EIKP LIKE EIKP OCCURS 0 WITH HEADER LINE,
I_MARC LIKE MARC OCCURS 0 WITH HEADER LINE,
I_KNA1 LIKE KNA1 OCCURS 0 WITH HEADER LINE,
I_T604T LIKE T604T OCCURS 0 WITH HEADER LINE,
I_KONV LIKE KONV OCCURS 0 WITH HEADER LINE,
I_VBRK LIKE VBRK OCCURS 0 WITH HEADER LINE,
I_VBRP LIKE VBRP OCCURS 0 WITH HEADER LINE.
I_T685T LIKE T685T OCCURS 0 WITH HEADER LINE,
I_KONV1 LIKE KONV OCCURS 0 WITH HEADER LINE.
*types begin of t_vbrp.
*include structure vbrp.
*types grp_counter type i .
*types end of t_vbrp.
*data i_vbrp type standard table of t_vbrp with header line.
*NAST-OBJKY = BILL_DOC .
DATA : inv_code LIKE vbak-vbeln.
BILL_DOC_EXP-SPRAS = 'E'.
BILL_DOC_EXP-VBELN = nast-objky(10).
inv_code = nast-objky(10).
SELECT SINGLE WERKS INTO L_WERKS FROM J_1IEXCHDR WHERE RDOC =
inv_code.
select * from vbrp into table i_vbrp where vbeln = inv_code.
lf_formname = tnapr-sform.
IF L_WERKS = '2000'.
tnapr-sform = 'ZSF_SD_INVOICE'.
ELSE.
tnapr-sform = 'ZSD_FACTORY_EXCISE_INVOICE_PAT'.
ENDIF.
Read print data
CALL FUNCTION 'LB_BIL_INV_OUTP_READ_PRTDATA'
EXPORTING
IF_BIL_NUMBER = NAST-OBJKY
IF_PARVW = NAST-PARVW
IF_PARNR = NAST-PARNR
IF_LANGUAGE = NAST-SPRAS
IS_PRINT_DATA_TO_READ = IS_PRINT_DATA_TO_READ
IMPORTING
ES_BIL_INVOICE = CS_BIL_INVOICE
EXCEPTIONS
RECORDS_NOT_FOUND = 1
RECORDS_NOT_REQUESTED = 2
OTHERS = 3.
GET THE DATA RELATED TO THE BILLING DOCUMENT BASED ON THE BILLING
*DOCUMENT NUMBER
CALL FUNCTION 'RV_BILLING_PRINT_VIEW'
EXPORTING
COMWA = BILL_DOC_EXP
IMPORTING
KOPF = BILL_DOC_IMP_H
TABLES
POS = BILL_DOC_IMP_I
EXCEPTIONS
TERMS_OF_PAYMENT_NOT_IN_T052 = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = tnapr-sform
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = L_FMNAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION L_FMNAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
ITAB_LANDX =
ITAB_ZOLLA =
ITAB_AZOLL =
ITAB_KZGBE =
ITAB_IEVER =
ITAB_LADEL =
ITAB_LANDX50 =
ITAB_VTEXT =
ITAB_EXPVZ =
I_KZABE =
NN_LINES =
S =
D =
I_TOTAL =
I_MAKTG =
I_CAL_NET =
IS_BIL_INVOICE = CS_BIL_INVOICE
IS_KOPF = BILL_DOC_IMP_H
IS_NAST =
IS_REPEAT =
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
I_LIKP = I_LIKP
I_VBAK = I_VBAK
I_LIPS = I_LIPS
I_VBKD = I_VBKD
I_EIKP = I_EIKP
I_MARC = I_MARC
I_KNA1 = I_KNA1
I_T604T = I_T604T
I_KONV = I_KONV
I_VBRK = I_VBRK
I_VBRP = I_VBRP
I_T685T = I_T685T
I_KONV1 = I_KONV1
IS_PO = BILL_DOC_IMP_I
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR ` = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "ENTRY
Regards
Santosh. -
Customer Statement using SAP Script and Standard print program RFKORD10
Using sap script and standard print program RFKORD10 I need to create a customer statement where the main window will be as follows
Invoice # InvoiceDate CustomerPO Debit Amt Credit Amt Total
6 7 8 9 10 11
6 7 8 9 10 11
Totals 12 13 14
Where company code BKORM-KUKRS
Invoice BSID-BELNR
Invoice date BSID-BLDAT
Customer PO VBKD-BSTKD
For each document number selected there will be one to many records in VBRP. For each invoice item in VBRP:
u2022 Select BSTKD from VBKD where
o VBELN = VBRP-VGBEL and
o POSNR = VBRP-VGPOS
u2022 If no hits then select BSTKD from VBKD where
o VBELN = VBRP-VGBEL
If there is more than one PO per invoice then list them in the Customer PO field without repeating the other fields.PO shouldnu2019t come more than once per invoice.
Debit Amt if BSEG-SHKZG = S then WRBTR ELSE 0
Credit Amt if BSEG-SHKZG = H then WRBTR ELSE 0
Total Debit Amt u2013 Credit Amt
Totals Subtotals
It will be of great help if some one can help me with the script and the alterations required in standard print program RFKORD10
Points will b rewarded for sure.
Thanks.Hi Suganya,
The custom form is getting displayed properly. But the requirement is to have it as an editable PDF. So the functional team is working on configuring the settings of PDF forms with customers email address.
But for right now, i customized the standard form F140_ACC_STAT_01 and standard print program RFKORD10_PDF and did the configuration. It is getting displayed (I tested only with the transaction FBL5N - customer open line items..)
Please let me know any further details on this.
Poornima -
Using Program RFBIBL00 ( LSMW)
Hi ALL,
I am trying to create journal upload in the transaction FB01. I am using LSMW to upload the data.
while uploading i have Header data and Item data.
<b>I am using standard batch input method and program is RFBIBL00.</b>
<b>Header data conists of fields.
1. Document date 2. Posting date 3. Type 4. Company code
Item data consists of fields.
1. Posting key 2. account 3. amount 4. taxcode 5. costcenter</b>
<b>So whether i have two prepare two excel files.?</b>
so how to link in LSMW with excel files.
can anybody explain step by step procedure to create this journal upload using LSMW thru program RFBIBL00.
Points will be awarded.
Regards,
vinoth.hi zarina,
please send me the documents to my mail also
([email protected]),, waiting for your mail
thanks in advance ,,
krishna
Message was edited by:
Krishna Ramasamy -
LSMW Standard Batch Input Program
Hi,
I have one requirement on creating BOM.
I have to upload data from legacy system to SAP for T-Code ' CS01'
I have to use the Standard Batch input Program 'RCSBI010'.
I have source structure and Target Structure.
In Source structure i have Header and item data.
In Header i have 11 fields and in Item i have 23 fields.
In Target Structure i have upto 130 fields.
In the Standard program who have 4 structures and each structure have fields.
So How many fields i have to map with Standard structure. and in my source structure i dont have the fields like T-code, session name, user name,and xkeep.
So how to pass these fields (T-code, session name, user name,and xkeep) to the standard structure. and is it necessary to pass these fields to the standard batch input program.
Advance thanks,
Kumar AHi,
Hi,
Record type 0: one session record (structure BGR00) per session..
The session header contains general administrative data on the batch input session to be created. All records that follow the header in the sequential file are assigned to the current session, until the next header occurs in the file.
Record type 1: one session record (structure BICSK) for each BOM
The BOM header record contains the transaction code (for example, CS01 Create material BOM) and the header data
Record type 2: one item record (structure BICSP) per item
All BOM item records are assigned to the preceding BOM header, until the next BOM header or session header occurs in the sequential file
Record type 3: one sub-item record (structure BICSU) per sub-item
All BOM sub-item records are assigned to the preceding BOM item, until the next item header, BOM header, or session header occurs in the sequential file
and x-line which will be used as index while retreiveing
and the file to be imported should contain values in this format
BGR00 data will be in first line (0-stype)
BICSK in second line (1 stype)
BICSP in 3rd line
BICSU in 4th line
e.g:
0 sessname 800
1 CS01 123
2 values req
3 values req
Hope this gives u some idea...
<b>Reward points</b>
Regards -
Getting a calendar to show up with a date field when using Adobe Standard 6.0.3
Is the calendar available with this version of Adobe Standard? I know with Adobe Reader 7.0 it is, but we have to use Adobe Standard 6.0.3 and I would like to make use of the calendar.
Thanks.The calendar control was only implemented for windows in the AcroForms plugin for Reader 7. There is no alternative in 6.x.
-
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. -
F-43 and F-22 tcode will work by using the program RFBIBL00 in LSMW?
Hi Guys,
Currently we have the requirement like we need to post the vendor open items and customer open items by using the tcodes
F-43 and F-22.
Is it possible to create the records by using the program RFBIBL00 in LSMW?
Thanks in advance
SRS ReddyDear Reddy,
FB01 is the generic and classic transaction to post an FI document. There is no difference at all with F-43 and F-22 that are only linked to a specific document type and posting key.
I hope this helps You.
mauri -
Am using a standard smart form and a corresponding program.
hi
i am using a standard smart form and a corresponding program. i did evry possible thing but it is not executing..where could be the error.?
can any1 suggestHi,
Dude..!
you told that you created form and corresponding print program also....!
but you didn't mentioned what it is..! in the sense to which module..!
are you changing any standard form or what..! be clear while raising issue..! so that you can get your issue cleared..
and you have to assign your form and corresponding print program in NACE transaction for the given output type.
Thanks & regards,
Sasi Kanth. -
What does the standard program RFBIBL00 does?
what does the standard program RFBIBL00 does?
Hi Bharath
Accounting Documents: Data Transfer Workbench
Definition
Transferring FI accounting documents from an external system into the SAP System using program RFBIBL00.
Use
You use program RFBIBL00 to enter accounting documents and to clear open items.
Method
Program RFBIBL00 primarily transfers accounting documents using the batch input method. However, you can also generate documents immediately using call transaction or direct input by means of the "Data transfer type" parameter. Both of these procedures lead to improvements in system performance when transferring large quantities of data (more than 10,000 transactions).
Object-Specific Settings
With call transaction or direct input, documents are posted immediately to the SAP System. As a result, you need to ensure that if for any reason the program is terminated, it can be restarted without inconsistencies occurring in the data.
other information:
To enhance the batch input procedure, the system offers the direct input technique, especially for transferring large amounts of data. In contrast to batch input, this technique does not create sessions, but stores the data directly. It does not process screens. To enter the data into the corresponding database tables directly, the system calls a number of function modules that execute any necessary checks. In case of errors, the direct input technique provides a restart mechanism. However, to be able to activate the restart mechanism, direct input programs must be executed in the background only. To maintain and start these programs, use program RBMVSHOW or Transaction BMV0.
Examples for direct input programs are:
Program Application
RFBIBL00 FI
RMDATIND MM
RVAFSS00 SD
RAALTD11 AM
RKEVEXT0 CO-PA
Hope this helps u
thanks and regards
suma sailaja pvn -
Error in standard program RFBIBL00 - BBSEG-PRODPER 000000
Hi alls,
I'm tring to execute the standard program RFBIBL00 with a file prepared by a my Z program but it stopped with the following message:
BBSEG-SEND /
BBSEG-PRODPER 000000
Editing was terminated. "
I tried to execute the same thing with a file prepared by the standard program RFBIBLT0 but tye systems stopped with the same error.
I found the SAP note 1171612 and I applied it because I'm working on SAPKH6008 patches but the same error occured.
In order to solve my problem (I only have to execute the standard Batch Input!! and in this step I'm only verifying the file) What do I have to do?
thanks
GinoHello,
We get this error if the file format is wrong. The data depends on version too!!
Are you doing Batch input by using ZBSEG?
If yes, prepare file as per ZBSEG in ur system like below example.
If suppose ZBSEG has structure like below.
STYPE STYPE_BI CHAR 1
TBNAM TABNAME CHAR 30
NEWBS NEWBS CHAR 2
File should be like below.
1ZBSEG(25 spaces as it has to be 30 total)40
IF any field is blank, u should take special char / with same length which is in structure.
Above fields, wrbtr, prctr and newko are mandatory.
Then it should work.
check the test file format thoroughly
Regards,
Subbu
Maybe you are looking for
-
Calling a procedure from an OAF page through a button in the screen
problem: calling a procedure from an OAF page through a button in the screen
-
I can't copy photos to my iPhone!!!
I have a serious problem, i want to copy photos dragging them from my pc pictures folder to my iphone in my explorer and i can't do it anymore!!! i could do it two days ago and now i can't please help me! i restarted the iphone i the problem is still
-
Quality issues importing Sony HD into iMovie 8
I have a Sony HD AVCHD camera which uses SD cards. The only method to import the footage is with iMovie 8. The program advises to use the "large" quality setting, and the footage came out really nicely. The resolution was small, but the quality was f
-
SAP standart window modification
Hello! I have to modificate standart SAP window(add Search Help). How can I do it?
-
Can somebody please fix the link for "Discussions" on Oracle JDev HomePage
Current Link on Oracle JDeveloper Official Home Page JDeveloper and ADF Correct Link JDeveloper and ADF