MC94 - Batch Input problem
Hi All,
I'm having a problem with MC94. I've used the recorder (SHDB) to create a batch input program but some of the fields I've used during the recording do not appear in the batch input program.
Any ideas?
Thanks.
Manu.
Hi
Has anyone have code for upload program code for
1) MC62 for infostructure. Actually i want to upload for season_category, promotion, catalog, generic article, variant article,site ..or any relevant to MC62..
2) MC94 change plan (consistent planning).. This is a matrix upload in my case is weekly 52 column against in my case for
a) sales at cost
b) sales qty
c) actual sales qty
d) avg selling price
e) lost sales qty
f) return qty
or any relevant to transaction MC94..
Can anyone provide me the codes pls..
THanx a ton.
Anthony
Similar Messages
-
Dear all,
I am uploading the bank statements using manual bank statements through Z transaction, Once uploaded system is generating the batch input session for the same.
When i run the batch input session system not clearing outgoing payment automatically based on the assignment field, as i have alreday mentioned the same assignment while posting the document and in the excel file.
I am getting the following message while running the batch input session.
No batch input data for screen SAPDF05X 3100
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.
Please let me know solution for the same.
Regards,
AnandHi,
This may not be a solution but may help you to isolate the problem
a) Are you able to load the bank statement for other banks without error ?
b) Try for the same bank in a different system .
c) If it is working for different bank then check the file format is the same for both the banks.
d) If it is working in different system check the ABAP code for any changes between the system,
e) Are you getting this message for all the line items or only for some line items ?
Regards
K.R -
No batch input problem with Vendor master Upload
Hi All,
I am getting a problem with Vendor Master upload conversion. We have'nt change the code and configuration but when i try to run the code today its giving an error for particular Account group. I run this code yesterday and its work fine with that particluar Account group. But i am getting an error when i run the code today. The error is as follows "No batch input data for screen SAPMF02K 0610".When i got through the code i have'nt find that screen number.
Can anyone suggest how to resolve that problem.Double click on the session name in SM35 and click on the screens tab there you can find the screen number.
process the same session in foreground mode and see if you are getting the same error.
If so, the new screen number you got is due to some change in the settings some where, show the new screen to Your Functional guy and he can help you.
There is one more chance where some data is missing in the flat file, just check it out.
Reward points if usefull.
Thanks ,
Veeru. -
Batch Input Problem with PB10 - Updating IT22 via BDC
Hi out there,
I'm using PB10 to persist new applicants data.
Im processing after save the IT22.
In dialogmode i can just go back without putting input to it22. After going back the new applicant is saved successfully. Now it is possible to use pb30 to maintain (or new creation) of it22 for this applicant.
Now I recorded this "process" and after call transaction the system brings back an error that mandatory field p0022-endda is missing. this error exists also, if i fill the recorded map with data.
Batch Input in Background Mode ->Error
Batch Input in Dialog Mode -> IT22 Dialog appears with empty data
....Using "normal" Dialog Transaction OK!
Here's the code:
PERFORM: bdc_dynpro USING 'SAPMPAP4' '0100',
bdc_field USING 'BDC_OKCODE' '=UPD',
bdc_field USING 'PSPAR-BEGDA' d_beginn,
bdc_field USING 'Q4000-WERKS' '0001',
bdc_field USING 'P0001-BTRTL' '0001',
bdc_field USING 'Q4000-APGRP' '1',
bdc_field USING 'Q4000-APTYP' aptyp,
bdc_field USING 'Q0002-ANREX' anrex,
bdc_field USING 'P0002-VORNA' vorna,
bdc_field USING 'P0002-NACHN' nachn,
bdc_field USING 'Q0002-GBPAS' d_gbpas,
bdc_field USING 'P0002-SPRSL' sprac,
bdc_field USING 'P0002-NATIO' natio,
bdc_field USING 'P0006-LAND1' land1,
bdc_field USING 'P0006-STRAS' stras,
bdc_field USING 'P0006-PSTLZ' pstlz,
bdc_field USING 'P0006-ORT01' ort01,
bdc_field USING 'P0006-TELNR' telnr,
bdc_field USING 'EMAIL' stamm-email,
bdc_field USING 'P4001-SPAPL' aptyp,
*IT22
bdc_dynpro USING 'MP002200' '2000',
bdc_field USING 'BDC_OKCODE' '=UPD',
bdc_field USING 'P0022-BEGDA' d_beginn,
bdc_field USING 'P0022-ENDDA' '31129999',
bdc_field USING 'P0022-SLART' 'XX',
bdc_field USING 'P0022-INSTI' 'FH Irgendwo',
bdc_field USING 'P0022-SLABS' '50',
bdc_field USING 'P0022-EMARK' '1.7',
bdc_field USING 'P0022-SLAND' 'DE',
bdc_dynpro USING 'SAPMPAP4' '0100',
bdc_field USING 'BDC_OKCODE' '/EEBAC'.
CALL TRANSACTION 'PB10' USING bdcdata
MODE 'E'
MESSAGES INTO messtab.
Error in messtab
Edited by: Timo Ehl on Oct 24, 2011 9:05 AMHi Kevin,
Is it really FB01<b>L</b>? I cannot find it in my 46c system?
Anyway, you can control this message as follows. Go to SM30, enter V_T100C and 'Maintain'. Enter 'F5' for application area in the subsequent pop-up.
In the table control, see if message number 192 is already there. If it is there, then change the value under column 'BatchI' to 'I' and save. If it is not there, then enter a new record for 192.
Hope this helps,
Srinivas -
Batch Input Problems with CS01
Hi all,
I have written a batch input program to create new material BOMs using CS01. The BOM gets its effective date from an ECM number which is entered into the RC29N-AENNR field in cs01. When the enter key is pressed to submit the data from the screen a warning message is posted by SAP to say "Date dd.mm.yyyy copied from change number".
This is all very well in manual input mode, where the message can be cleared by the user, but in batch input mode it stops the program dead in its tracks, and causes the whole batch input session to barf.
Can anyone tell me how I can clear this message in code so my program can proceed with adding the new BOM?
Thanks in advance,
Mark Wheatonhi mark
in that particular screen add one more line in the coding like
perform bdc_field using 'BDC_OKCODE'
'/00'. or '=OKAY'
and you run in foreground then see what it happens
cheers,
sasi -
Hi,
I'm using a CALL TRANSACTION USING bdcdata. and i cannot get pass the OKCODE = '/00'. I always have to hit enter in the target selection. I cannot use AND SKIP FIRST SCREEN cause i have to pass a value.
Im must enter a contract transaction with a specified contract number.
Many thanks,
Alin.Hi Alin,
In the code that i have shown will be of exactly of your requirement i mean until we press ENTER next records will be populated save the current records on the screen.
Here is the sample code working fine for me modify according to your issue..
FORM WRITE_RECORDS.
LOOP AT IT_TABDATA INTO WA_ITAB.
perform bdc_dynpro using 'ZORMM' '0900'.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
perform bdc_field using 'BDC_CURSOR'
'ZORMM-DDTIM'.
perform bdc_field using 'ZORMM-BOKNO'
WA_ITAB-BOKNO.
perform bdc_field using 'ZORMM-PASNO'
WA_ITAB-PASNO.
perform bdc_field using 'ZORMM-TPRNO'
WA_ITAB-TPRNO.
perform bdc_field using 'ZORMM-FMDAT'
WA_ITAB-FMDAT.
perform bdc_field using 'ZORMM-VLDFR'
WA_ITAB-VLDFR.
perform bdc_field using 'ZORMM-VLDTO'
WA_ITAB-VLDTO.
perform bdc_field using 'ZORMM-DTIOP'
WA_ITAB-DTIOP.
perform bdc_field using 'ZORMM-TMIOP'
WA_ITAB-TMIOP.
perform bdc_field using 'ZORMM-NMINE'
WA_ITAB-NMINE.
perform bdc_field using 'ZORMM-NLESS'
WA_ITAB-NLESS.
perform bdc_field using 'ZORMM-NPTRS'
WA_ITAB-NPTRS.
perform bdc_field using 'ZORMM-DESTN'
WA_ITAB-DESTN.
perform bdc_dynpro using 'ZORMM' '0900'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
CALL TRANSACTION 'ZYM11' USING IT_BDCDATA MODE 'A' UPDATE 'S'
MESSAGES INTO IT_BDCMSGCOLL.
REFRESH IT_BDCDATA.
Hope my answer helps you.
Cheers!! -
Problems while creating a batch input
Hi Experts,
I tried to create a batch input program for the transaction CRMD_ORDER for some changes on to the configuration tab to enable the BOM to work. This cannot be done by the BAPIs. I have included the batch input program in a RFC enabled function module to do this job. I am getting the error control framework: fatal error - GUI cannot be reached and Runtime error RAISE_EXCEPTION has occured. This happens only in the mode N, if i re run the session with the other modes there are no problems.
I am call the function module through a method in the controller class.
Replies are highly appreciated.
Thanks in Advance.
Regards,
SuthagarHi Durai,
I tried that option too. Ufortunately the same error has happened. The problem is solved using 3 other function modules, by not using the BDC.
Appreciate your reply. Thanks!
Regards.
Suthagar -
Hi wizards,
please help me for the following problem:
I have created a parent recording for MATERIAL MASTER in LSMW batch input method by selecting all of the fields that may be required for different material types. Now I want to edit the recording and create new recordings from the parent one for specific material types. For this, i have made a copy of the same recording with a different name in the same project. In the copied recording, i have kept only the screen fields which i require for a particular material type and deleted the rest. I have created new structure relationships and field mapping rules for the new recording. Now when i upload the data, system is behaving normally upto the DISPLAY READ DATA stage, but gives a short dump on CONVERT DATA. On inspection i have found that during FIELD MAPPING, the _source field mapping is still showing mapping with the source structure of the parent recording for fields which have mapping rule as "Transfer" but it is picking up the new source structure for those source fields for which mapping rule is "Constant"_.
Kindly help me solve this problem as i do not want to create a separate recording for each material type. Can creating a new subproject help in this regard?
Thanks and regards
AbhikHi Harris,
could you please let me know how to use the two methods you have mentioned? If you have any docs regarding the same then could you please mail it to me at [email protected]? Or else if you have any link for the same then please do send it to me.
However, I would like to know that if separate recording is required for every material type, then why the "COPY RECORDING" and "DELETE SCREENFIELD" utilities have been provided.
Thanks and regards
Abhik -
Dear All
Could you advise me, we have many batch inputs stored in our system, some of them are very old one.
What is SAP recommendation?
How long batch inputs should be stored?
Maybe you have some experience in this matter and can advice us>
Thank you in advance for your help.
Best regards
MajaHi Maja,
if you double click on each batch input session, u will find the status, (Error, Processed, Not Message). u can delete the batch inputs whose status is Error or no message. those are all not in use. Even if you leave that also not a problem.
U can find the status in 2nd Column, if the 2nd column has symbles like (Execute, Create and Error). Based on that also u can find the status.
Kumar -
Problem Running a Batch Input!
Good Morning My Friends!
Let me explain how I work today.
I am running an RFC.
This RFC executes a JOB.
JOB executes a Batch Input BACK GROUND.
My problem is this.
If I only run the batch input it works, but when I call the RFC and it creates the job, the Batch Input does not work.
Following is the code that creates the JOB.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>
CALL FUNCTION 'JOB_OPEN'
EXPORTING
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc EQ 0.
SUBMIT zgpm_bat_inpl
WITH nome_per = nome
WITH descri = 'Descricao'
USER sy-uname
VIA JOB jobname NUMBER number
AND RETURN.
exdate = sy-datum.
extime = sy-uzeit.
ADD 30 TO extime.
DATA start_imediato LIKE btch0000-char1 VALUE 'X'.
Define o start do job.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobname = jobname
jobcount = jobcount
sdlstrtdt = exdate
sdlstrttm = extime
strtimmed = start_imediato
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<
Following is the code that runs the Batch Input.
program : zgpm_bat_inpl
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>
opt_ctu_params-dismode = 'N'.
opt_ctu_params-updmode = 'S'.
opt_ctu_params-cattmode = ''.
opt_ctu_params-defsize = ''.
opt_ctu_params-racommit = 'X'.
opt_ctu_params-nobinpt = ''.
opt_ctu_params-nobiend = ''.
CALL TRANSACTION (name_tran) USING it_bdcdata
OPTIONS FROM opt_ctu_params
MESSAGES INTO it_msg.
IF sy-subrc <> 0.
LOOP AT it_msg .
WRITE: /, it_msg-dyname,
it_msg-dynumb,
it_msg-msgv1,
it_msg-msgv2,
it_msg-msgv3,
it_msg-msgv4.
ENDLOOP.
endif.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<
Att:
Deivison BRSee note 311440. I think you can only run this in the foreground.
Rob -
Problem about House Number of Vender Transfer by using LSMW+Batch-Input
Hi,
anyone has met the same problem?
by using LSMW+Batch-Input method to transfer vender data the field House Number cannot be added.
Object: 0040 Vendor Master
Method 0002 Shared
Program Name RFBIKR00
Program Type B Batch Input
Thanks in advance!in Vedndor master LSMW batch input method there is no field for House Number , we have only one filed
(STRAS)for street and house numner in LSMW.
first create the vendors after that update through XK02
for this you can write program small LSMW recording method
using below fileds
LIFNR C(010) Vendor
BUKRS C(004) Company Code
STREET C(060) STREET
HOUSE_NUM1 C(010) HOUSE_NUM1 -
Trans. ME32K. Batch Input. Problem in header versions with container
Hi all:
I've got a problem with the transaction ME32K.
The required action is meant to be changing the address delivery in the agreement position.
The bapi BAPI_AGREEMENT_MAINTAIN doesn't solve the problem because the field adrn2 is not present in this function module, so refering to other posts I've decided to implement a batch input.
The problem starts when I try to introduce REVOK and RSCOD in grid container in section header version. When I simulate the transaction ME32K with shdb the only code appearing is:
SAPLMEDCMV 0200 X BDC_OKCODE =GRIDENTER
BDC_SUBSCR SAPLMEDCMV 0100SUB0
SAPLMEDCMV 0200 X BDC_OKCODE =SAVE
BDC_SUBSCR SAPLMEDCMV 0100SUB0
and then the values 'X' in REVOK and '0007' in RSCOD are not recognized.
How can I introduce the new version in header ?
Thanks in advance.
Jose Luis.Hi Jose,
did you find a solution for your issue?
I have the same problem now.
Greets,
Valentin -
What are the problems in processing batch input sessions?
hi,
What are the problems in processing batch input sessions? How is batch input process different from processing on line?
regards.sorry, question resolved.
-
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.
-
A strange problem about batch input (VA01)
Dear experts,
I have created one batch input program about VA01,When the selection screen is full window and run,one error occurs.Opposition the screen is not full window ,and the error do not occur.
Could you help me?
Thanks and regards,
collysunHi Collysun,
The problem what you are facing is due to the resolution setting of individual desktop. This is a known issue in BDC's. Pls do one more recording of VA01 by putting the screen into default size from the tri color button that comes at the right corner of the application tool bar of your session window.
The advantage is that when the BDC is executed in background automatically the size of the session which is doing the job for you goes to the original size as the one in the recording and it will work irrespective of the windows screen resolution.
Cheers
JK
PS: Award points if this answer is helpful
Maybe you are looking for
-
VPN no longer accessible after OSX Server 4 upgrade
I was using mavericks server on a mac mini and I had the vpn working perfectly for l2tp. I recently upgraded to Yosemite server and now I can no longer connect to my vpn. Testing internally I can see that the port 1701 is not open on the mac mini.
-
Selecting "Display PDF in browser" option launches 8.1.2 Installer
I have seen many auto-update and installer problems in this forum, but not this one. I have Acrobat 3D 8.1.2 on Windows XP, and today the automatic check for updates box appeared. (This system was set up by someone other than me and I didn't realize
-
Sales Invoice Linked from Sales Order
Hello Experts!! I want to restrict users to enter Sales Invoice Directly. We are using Sales Order But Every One Can Post Invoice Directly. Please Guide how to restrict them Thanks, Vikram
-
Something called Snap.do has hijacked my browser. How do I get rid of it?
I have used Firefox for years and I never knowingly download unknown software. Recently I have been getting this Snap.Do search screen instead of my usual browser. Does anyone know from whence it came, is it dangerous, how do I get rid of it? Many th
-
Need information on ESS/MSS Roll-Out Project
Hi All I have few questions on ESS/MSS as am new to ESS/MSS. please help me. 1.What is process of Roll-Out Project in ESS/MSS 2.Client is implemented ESS/MSS EHP5 in india, they want us to Roll-Out to china for the latest version EHP7. Can i know wha