BATCH INPUT transaction FB02
Hello Friends,
I have a programme which uses batch-input with transaction FB02. The idea here is to put a dunning block to several documents. This works fine and the BSEG-MANSP field is updated. But when I run transaction F150 (the wholde dunning process) the blocked documents still come up here...even though they are blocked... but if I do an ABAP direct update on the MHND-MANSP field (this also indicates that document is blocked, but is not set when running FB02 ) it works, then these documents are not dunned in F150. Is there any way to block the documents from being dunned in F150 without using the direct mhnd update?
Best regards
Baljinder Singh
if you want to leave a batch session try "/bend" or "/n" to move to the next record.
Similar Messages
-
Hi,
I want to call transaction MIGO twice in a report using batch input:
once with Goods Receipt acition(A01) AND
once with Goods issue action(A07).
My problem is that MIGO remebers the last MIGO transaction and does not accept new batch input fields for antother action.
Does anyone know how to refresh the MIGO memory or something?
Best Regards
Anne M JohannessenTry with the code b4 batch input is called.
Delete from Esdus where uname = sy-uname.
This will delete the user settings for that user.
Tharani -
HELP with a Batch Input - Transaction VF01
Hi
It's me again, with another question... this time it's a Batch Input, creating a delivery with more than 20 items, how can I do with the error
Field KOMFK-VBELN(69) does not exit in the screen SAPMV60A 0102
and if I click on OK-Code how to indicate (in code lines) to simulate the process <b>EDIT</b> (From Menu bar) <b>More Documents F7</b>
Thanks in advance!!!
TokioThanks to all of you...
These are my fist lines to answer one of my posted problems ...
Preview code lines:
perform bdc_dynpro using 'SAPMV60A' '0102'.
loop at entregas.
move sy-tabix to fila.
concatenate 'KOMFK-VBELN(' fila ')' into cadena.
perform bdc_field using cadena entregas-entrega.
IF FILA GE '20'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=P+'.
MOVE SY-TABIX TO FILA.
CONCATENATE 'KOMFK-VBELN(' FILA ')' INTO CADENA.
PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.
ENDIF.
New code lines:
CLEAR ENTREGAS.
PERFORM BDC_DYNPRO USING 'SAPMV60A' '0102'.
LOOP AT ENTREGAS.
MOVE SY-TABIX TO FILA.
IF FILA LT 22.
CONCATENATE 'KOMFK-VBELN(' FILA ')' INTO CADENA.
PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.
ENDIF.
IF FILA EQ 22.
CONCATENATE 'KOMFK-VBELN(' FILA ')' INTO CADENA.
PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.
PERFORM BDC_OKCODE USING '=FKAN'.
PERFORM BDC_DYNPRO USING 'SAPMV60A' '0102'.
ENDIF.
IF FILA GE 23. BREAK FOSTKFRT.
DATA: FILA2(2), CNT2 LIKE SY-TABIX VALUE 2. MOVE CNT2 TO FILA2.
CONCATENATE 'KOMFK-VBELN(' FILA2 ')' INTO CADENA.
PERFORM BDC_CURSOR USING CADENA.
PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.
CNT2 = CNT2 + 1.
ENDIF.
ENDLOOP.
CLEAR CNT2.
I hope these lines could help.
Regards
Tokio -
Need change Batch input transaction me21
Hi all,
I have to modify a existing report that load data via bdc,
i have to add ekko-wkurs field in bdc.
my question is, after put the field wkurs in internal table with other data, how can modify the bdc?
writing this: perform bdc_field using 'EKKO-WKURS'
tab-01-tst-cambio.
and if it the right way, where I exactly put this piece of program?
I paste a piece of report where I put this:
perform bdc_dynpro using 'SAPMM06E' '0100'.
perform bdc_field using 'EKKO-LIFNR'
TAB-01-TST-CODICE_FORNITORE.
perform bdc_field using 'RM06E-BSART'
'ZAPI'.
perform bdc_field using 'RM06E-BEDAT'
TAB-01-TST-DATA_ODA.
perform bdc_field using 'RM06E-BSTNR'
TAB-01-TST-NUM_ODA.
perform bdc_field using 'EKKO-EKORG'
'Z535'.
perform bdc_field using 'EKKO-EKGRP'
'Z34'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMM06E' '0514'.
perform bdc_field using 'EKKO-BUKRS'
TAB-01-TST-SOCIETA.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'ENTE'.
perform bdc_dynpro using 'SAPMM06E' '0120'.
perform bdc_field using 'BDC_OKCODE'
'=KOPF'.
perform bdc_dynpro using 'SAPMM06E' '0101'.
perform bdc_field using 'EKKO-ZTERM'
TAB-01-TST-CON_PAG.
perform bdc_field using 'EKKO-WAERS'
TAB-01-TST-DIV_ODA.
aggiunta del campo wkurs
PERFORM BDC_FIELD USING 'EKKO-WKURS'
TAB-01-TST-CAMBIO.
PERFORM BDC_FIELD USING 'EKKO-IHREZ'
'CONVERSIONE'.
perform bdc_field using 'BDC_OKCODE'
'AB'.
thanks all.Hi Fabrizio
I believe It's right what you have done:
If this is old code:
perform bdc_dynpro using 'SAPMM06E' '0101'.
perform bdc_field using 'EKKO-ZTERM' TAB-01-TST-CON_PAG.
perform bdc_field using 'EKKO-WAERS' TAB-01-TST-DIV_ODA.
It's right to add your new code here
PERFORM BDC_FIELD USING 'EKKO-WKURS' TAB-01-TST-CAMBIO.
Infact the field 'EKKO-WKURS' is in screen SAPMM06E0101 so it's right place the code where the field of that screen are filled.
Max -
Leave to transaction "SAPMF05L" not allowed in batch input
Hello,
When we run FF.5 with the file sent from Itaú, it is generated a batch input for transaction FB02 which updates the reference key 1, 2 and 3 (XREF1, XREF2 and XREF3) in the documents.
There are some cases where the batch input does not update all the document items. For example, I got a document that has 32 items to be updated with the reference keys, but the update is only done in the first 14 document items. I observed that the batch input only updates up to number 14 because the standard program does not u201Cscroll the baru201D to check if there are more items in the document to be updated. The batch input is having trouble and generating some incorrect transactions and showing the error message: LEAVE TO TRANSACTION u201CSAPMF05Lu201D not allowed in batch input.
I tried to find a SAP note, but couldnu2019t find anything that was related to this. Does anyone got this problem and maybe can help me?
Thanks,
Leandroif you want to leave a batch session try "/bend" or "/n" to move to the next record.
-
Error exec. Background Mode a Batch-Input using KP26 Transaction Code
I have a program that build a Batch-Input based on transaction code KP26.
I encounter the following error :
Field Z-BDC02(1) is not an input field (Program : SAPLKPP2 Screen : 0112)
When executing in background I got the error and when executing in Foreground, it is OK.
I use SHDB to look at the field needed and it gave me the same field to use.
Here is an extract of my program for the field I have the issue on :
PERFORM F100_BDC_FIELD USING 'Z-BDC02(01)' I_T01-LST.
PERFORM F100_BDC_FIELD USING 'Z-BDC05(01)' I_T01-SPRED.
PERFORM F100_BDC_FIELD USING 'Z-BDC07(01)' I_T01-TOV.
PERFORM F100_BDC_FIELD USING 'Z-BDC08(01)' I_T01-TOF.
Any one have an hint to solve this ?Hi,
Just one remark: batch input is always executed in synchronous mode (hopefully, otherwise we would get many lock issues during mass updates!) Or is there something I missed?
Same thing when you use BDC_INSERT, CTU_PARAMS is ignored ([SAP note 1437811 (Batch input: BDC_INSERT parameter CTUPARAMS)|https://service.sap.com/sap/support/notes/1437811 ])
About the issue, I don't know, so maybe explain more about the context: for instance, do you run the session under a different user? (for instance, the user could be assigned a transaction/screen variant with table control variant, that protects some fields) Do you have one transaction in the batch input session or are there several ones. Try with one only to see if it works. If yes, then maybe it's something in memory that changes the "input-capability" of the field after the first transaction.
Sandra -
Batch Input with transaction ME58
Hello SAP:
We are trying to do a Batch Input Session with transaction ME58
(Creating Service Entry Sheets) by using a FrameWork Order.
After the batch input selects the purchase order and mark all
the requisitions related with that order and confirms the selection,
the system calls program SAPLMLSR dynpro 400, where the tab "Basic
Data" appears and the error "Make an entry in all required fields"
(00 055) is displayed. Althought we had put all the obligatory
fields required by the Batch Input in that particular
screen SAPLMLSR - 400 (we also tried with subscreen 410), the fields
indicated in the Batch Input were lost.
It seems the flow control of the Batch Input is lost because of the
error message 00 055.
Thank You - And we will be waiting for Your answer.
Frinee ParedesHi Christian!!
The error that is displayed is because of a mandatory field, the problem is that it appears before the screen is displayed, I mean the validation occurs before I can input data.
It's very interesting what you said about enjoy transactions and there might be the problem, a few minutes ago, while debugging transaction ME58, I found that it calls function module MS_SERVICE_ENTRY2, which calls transaction ML81N, which I think is an enjoy sap transaction, I guess I'm in a big trouble because I've already looked for a BAPI and it seems there aren't any.
If you like to reproduce the error you could record transaction ME58 with transaction SHDB,you would need a framework order (FO) for the selection screen and purchase requisitions (PO) created asociated to that FO.
What I want to do with ME58 is to run a job periodically which creates service entry sheets with the FO and PR as input.
Thank you very much!!
Frinee -
Batch-input to transaction SM34
Hello,
I need to create a batch-input for the transaction SM34.
I have done a recording but there is a screen(dialog structure) that only appeares when I call the transaction without batch-input mode. So, I have done the recording with the option "Not a Batch-input Session". But the recording gives the TCODE "=%_GC 117 22" when I do double-click for displaying the details and when I try to call the transaction (options-nobinpt = 'X') from my report, this TCODE doesn't work.
Does anybody know if there is another way to display these details, without doing double-click? Or another way to pass this TCODE?
Thank you very much,
Maite.Hello,
I've solve my problem on my own.
I don't need to call the details by a double-click, I can go to Table View --> Other View. The TCODE of this option doesn't give any problem in the Batch-input.
Maite. -
Batch input to transaction VG01
hi abapers
i want to do a batch input to transaction VG01, the problem is that when i have more than the rows
on screen (and this is according to user screen resulotion) i need to use page down button how can i avoid this.
thanks
AmitHi,
Check this link..may be it will help u..
http://www.sapfans.com/sapfans/repos/comelite.htm
Regards,
JOy. -
Number of transactions in the current batch input session ...
Hi,
How to control a Number of transactions in the current batch input session ...
for LSMW.
Pls help. I'm new to LSMW
Thanks
Ram> Main idea is to get an idea about the DB
>
> currently in the PRD DB auditing is disabled.
> Im thinking of enabling the DB auditing.
> Therefore i'm looking to get rough idea about, number of transactions that will occur in the DB
>
> audit_sys_operations boolean FALSE
> audit_trail string NONE
>
> Will enabling auditing, make additional overhead to the database.!
I see.
Just my two cents on this:
- you enable auditing, when there is a requirement for it (business/legal wise), so it isn't really about the technical overhead
- and of course there is overhead. It's just the question whether or not your users will see a increased response time because of that.
> how can i check these stats in DB level. (table/view)
Check V$SYSSTAT and V$SYSMETRIC on Oracle level.
These should contain the information you like to see.
(btw: in my first reply I referred to how easy it is to create these statistic information on DB kernel level )
regards,
Lars -
Greyed out screen field in transaction but modifiable by batch input
Hi Gurus,
I have a requirement where a custom screen field in a transaction (FK01/FK02/XK01/XK02) has to be greyed out when a user access these transactions. However, these fields will have to be modifiable when LSMW/batch input is being done.
I hope someone can advise how I can do this.
I'll definitely reward points for helpful answers.
Thanks so much.
Rgds,
JoyieDeclare on your layout input is 0. Or the field cannot be filled by value.
After you have done that, create some code like this:
Loop at screen.
IF sy-batch is not initial or sy-binpt is not initial.
if screen-group1 = 'ANL'
screen-input = '1'.
endif.
endif.
endloop.
Hope it helps solve your problem. -
Batch Input at transaction AS02
When I try to do a batch input on transaction AS02,
it returns to me an error:
Runtime error GETWA_NOT_ASSIGNED has occurred.
someone knows what is happening?
thanks!
RicardoHi Rob.
This note has been applied. We have this package here:
EA-APPL 600 0010 SAPKGPAD10 SAP R/3 Enterprise Extension PLM, SCM, Financials
Thanks!
Ricardo -
Problem Recording FMX1 Transaction for Batch Input. Plz Help
Hi Everyone!!!
I'm using the Transaction SHDB to create a new recording over the FMX1 Transaction for a Batch Input. The strange thing is that when i'm about to save the recording i get the following error:
"A runtime error: SAPSQL_ARRAY_INSERT_DUPREC"
I tried using the transaction FMX1 with the same data(constants), and it works perfectly. And I know it's not a duplicated key or anything, it works fine when i use the transaction.
This lead me to think that the problem is somewhere when i try to record the transaction.
Any Ideas of how to fix the problem, or does anyone knows if its a SAP problem that needs some kind of fix.
Any help would be really aprreciated!
Thx again.Try using recording method and try to post 1 item...U will get the recording. In this recording, the field might be shown up which can be used.
-
Batch Input. Transaction KSU5 and KOK4
Hi,
I would like to execute transactions KSU5 and KOK4 in background.
The system generates this error message 00344: "No batch input data for screen..." When the batch input session is processed online the error does not occur.
Regards.Hi Martin,
How can I execute this report in operation MODE 'E'?
Regards. -
FB05 Batch Input / Call Transaction - Does not select amount for payment
Hi,
When I launch the FBWD transaction (returned bills of exchange), the call transaction for G/L account postings is in error. So the FBWD automatically creates a batch input, but when I tried to launch the batch input, it remains unsuccessful.
So I launched the BI in foreground, I can see that the first steps of the account postings are OK, but the BI stops when assigning the payment amounts : the BI found the different postings to clear, but it waits to enter the payment amount.
Manually, I just have to click on 'Accept' or enter the payment amount and click on 'Continue'.
=> Is there anything to do so that there is no payment amount to fill? (there should be something because the FBWD is a standard transaction, so it should work!!)
Can you help me on this?
ThxHi.
Yes the issue has been resolved.
You just have to configure your master record (FS00) by ticking the box 'relevant to cash flow' (XGKON).
Hope it will help you.
Bernard.
Maybe you are looking for
-
How to rotate text together with a Rectangle2D?
Hi forum I hope you can help me out here. See the follow code example. I have a Rectangle2D, in which some text is rendered. What I'm trying to do here is the following: rotate the Rectangle2D - no problem here - but the text should follow - ie. stil
-
Can Wlan Controller work with Third party Aps
Can Cisco Wlan Controller work for 3rd party Aps which does not have LWAPP running. If yes How.If no then how we can manage existing Ap's of say 3com in the network...
-
DVD-101 Sony Handycam importing problems?
I have the mpeg2 plug-in from Apple, and the free Streamclipicon.mpeg, but I still have a problem importing all the video clips. I imported a movie from my camcorder and got only three short clips? One clip was of all the scenes as it appears on the
-
Create excel in background with data sheet
any way to create a excel with data sheet with specific name in background?
-
Why does feba post to worng posting key?
Generated IDoc from FEBA and processed an incoming payment . it was supposed to be posted to vendor but posts to customer in stead. Where can I check for FEBA related configuration and vendor customer relationship