Problem Batch Input SAPLSLVC_FULLSCREEN 0700
Hi experts,
I have a problem during my batch input recording. The requirement I have is to maintain the communication type TLX (Télex) when i´m creating a new vendor. I'm creating a BDC for XK01, and when i´m trying to input the "other communication" details for the vendor, recording stop. I saw on SDN similar problems: ( ) But i don´t see the solution.
My code is like this:
PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RF02K-KTOKK'.
PERFORM bdc_field USING 'RF02K-KTOKK' i_sol-ktokk.
PERFORM bdc_field USING 'RF02K-BUKRS' i_sol-bukrs.
PERFORM bdc_field USING 'RF02K-EKORG' ekorg.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0111'.
PERFORM bdc_field USING 'BDC_CURSOR' 'ADDR1_DATA-REGION'.
PERFORM bdc_field USING 'ADDR1_DATA-NAME1' i_sol-name1.
PERFORM bdc_field USING 'ADDR1_DATA-POST_CODE1' i_sol-pstlz.
PERFORM bdc_field USING 'ADDR1_DATA-STREET' i_sol-stras.
PERFORM bdc_field USING 'ADDR1_DATA-NAME2' i_sol-name2.
PERFORM bdc_field USING 'ADDR1_DATA-SORT1' i_sol-sort1.
PERFORM bdc_field USING 'ADDR1_DATA-SORT2' i_sol-sort2.
PERFORM bdc_field USING 'BDC_OKCODE' '=$MCO'.
PERFORM bdc_dynpro USING 'SAPLSLVC_FULLSCREEN' '0700'.
PERFORM bdc_field USING 'BDC_OKCODE' '=%_GC 117 3'.
PERFORM bdc_dynpro USING 'SAPLSZA6' '0500'.
PERFORM bdc_field USING 'BDC_CURSOR' 'ADTLX-TLX_NUMBER(01)'.
PERFORM bdc_field USING 'ADTLX-TLX_NUMBER(01)' i_sol-telx1.
PERFORM bdc_field USING 'BDC_OKCODE' '=CONT'.
I think the problem is that the cursor in dynpro 700 appears in first position (Fax) and i want to put it on the télex position, but any codes i try resolved it.
Thanks in advanced.
Edited by: Noaser on Aug 19, 2010 11:47 AM
Hello,
Solved problem, I changed my code:
PERFORM bdc_dynpro USING 'SAPMF02K' '0111'.
PERFORM bdc_field USING 'BDC_OKCODE' '=$TLX'.
PERFORM bdc_field USING 'BDC_CURSOR' 'ADDR1_DATA-REGION'.
PERFORM bdc_field USING 'ADDR1_DATA-NAME1' i_sol-name1.
PERFORM bdc_field USING 'ADDR1_DATA-POST_CODE1' i_sol-pstlz.
PERFORM bdc_field USING 'ADDR1_DATA-STREET' i_sol-stras.
PERFORM bdc_field USING 'ADDR1_DATA-HOUSE_NUM1' i_sol-house_num1.
PERFORM bdc_field USING 'ADDR1_DATA-CITY1' i_sol-ort01.
PERFORM bdc_field USING 'ADDR1_DATA-COUNTRY' spras.
PERFORM bdc_field USING 'ADDR1_DATA-REGION' i_sol-regio.
PERFORM bdc_field USING 'ADDR1_DATA-LANGU' i_sol-spras.
PERFORM bdc_field USING 'ADDR1_DATA-NAME2' i_sol-name2.
PERFORM bdc_field USING 'ADDR1_DATA-SORT1' i_sol-sort1.
PERFORM bdc_field USING 'ADDR1_DATA-SORT2' i_sol-sort2.
PERFORM bdc_field USING 'ADDR1_DATA-REMARK' i_sol-comentarios.
PERFORM bdc_field USING 'SZA1_D0100-TEL_NUMBER' i_sol-telf1.
PERFORM bdc_field USING 'SZA1_D0100-FAX_NUMBER' i_sol-telfx.
PERFORM bdc_field USING 'SZA1_D0100-SMTP_ADDR' i_sol-email.
PERFORM bdc_field USING 'SZA1_D0100-MOB_NUMBER' i_sol-mob_number.
PERFORM bdc_dynpro USING 'SAPLSZA6' '0500'.
PERFORM bdc_field USING 'BDC_CURSOR' 'ADTLX-TLX_NUMBER(01)'.
PERFORM bdc_field USING 'ADTLX-TLX_NUMBER(01)' i_sol-telx1.
PERFORM bdc_field USING 'BDC_OKCODE' '=CONT'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0111'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
Regards.
Similar Messages
-
Problems Batch Input BDC-okCODE = LIST
Hi experts!!
I've a batch Input that must change the data from the infotype 2001. I do this steps...
1. Go to PA30
2. Insert the pernr and the code 2001
3. Press the button LIST
4. Choice the row I want to change, only the rows that are ocked
5. Update and save...
I'm trying to do this with a Batch Input, but I don't know how to indicate what row I want to change...I have a data that has all the positions that are locked in 2001 but I don't know how to know what row is from what row of my table... can anybody help me?
Thanks a lot
Regards,
RebecaHi Rebeca,
It is difficult to find the locked recods dynamically using your BDC approach.
The other way to delete the locked records is....
Select the all the records from PA2001 infotype where SPRPS equal to 'X' ( Locked Entries ) into the itab internal table.
later Loop the table and delete the record from 2001 using BDC on PA30.
Do the recording for deleting individual record. -
Error Message "No batch input data for screen SAPMF05A 0700" for FV60&FB60
Dear All,
I doing a BDC Upload program for Create Vendor Invoice and Park using FV60 ,But i can't upload successfully by Batch Input method and i am gettin the Error Message "No batch input data for screen SAPMF05A 0700'.I tried using FB60 and got the same error message. When i do in the direct method i can able to do it ,But can't park the document successfully and can do it untill sumilate only.
How to overcome this issue and if you already encounter this kind of problem please advice me.
Thanks in Advance.
DeesanthHi,
Below is my recording.
perform bdc_dynpro using 'SAPMF05A' '1100'.
perform bdc_field using 'INVFO-ACCNT' gwa_inv_up-lifnr.
perform bdc_field using 'INVFO-BLDAT' gwa_inv_up-bldat.
perform bdc_field using 'INVFO-XBLNR' gwa_inv_up-xblnr.
perform bdc_field using 'INVFO-BUDAT' gwa_inv_up-budat.
perform bdc_field using 'INVFO-MONAT' '9'.
perform bdc_field using 'INVFO-BLART' gwa_inv_up-blart.
perform bdc_field using 'INVFO-WRBTR' gwa_inv_up-dmbtr.
perform bdc_field using 'INVFO-WAERS' gwa_inv_up-waers.
perform bdc_field using 'INVFO-XMWST' gwa_inv_up-xmwst.
perform bdc_field using 'INVFO-MWSKZ' 'P0'.
perform bdc_field using 'INVFO-SGTXT' gwa_inv_up-sgtxt.
perform bdc_dynpro using 'SAPMF05A' '1100'.
perform bdc_field using 'BDC_OKCODE' '=PAYM'.
perform bdc_field using 'INVFO-GSBER' gwa_inv_up-gsber.
perform bdc_dynpro using 'SAPMF05A' '1100'.
perform bdc_field using 'BDC_OKCODE' '=BS'.
perform bdc_field using 'INVFO-ZLSCH' gwa_inv_up-zlsch.
cnt = 1.
cnt1 = 1.
clear gwa_inv_line.
loop at gt_inv_up into gwa_inv_line where indic = 'D'
and count = gwa_inv_up-count.
if cnt1 gt 1.
concatenate 'ACGL_ITEM-MARKSP(' cnt ')' into fld.
perform bdc_field using fld 'X'.
perform bdc_dynpro using 'SAPMF05A' '1100'.
perform bdc_field using 'BDC_OKCODE' '=0005'.
endif.
concatenate 'ACGL_ITEM-HKONT(' cnt ')' into fld.
perform bdc_field using fld gwa_inv_line-lifnr.
concatenate 'ACGL_ITEM-SHKZG(' cnt ')' into fld.
perform bdc_field using fld gwa_inv_line-shkzg.
concatenate 'ACGL_ITEM-WRBTR(' cnt ')' into fld.
perform bdc_field using fld gwa_inv_line-dmbtr.
concatenate 'ACGL_ITEM-MWSKZ(' cnt ')' into fld.
perform bdc_field using fld gwa_inv_line-mwskz.
concatenate 'ACGL_ITEM-SGTXT(' cnt ')' into fld.
perform bdc_field using fld gwa_inv_line-sgtxt.
concatenate 'ACGL_ITEM-GSBER(' cnt ')' into fld.
perform bdc_field using fld gwa_inv_line-gsber.
concatenate 'ACGL_ITEM-KOSTL(' cnt ')' into fld.
perform bdc_field using fld gwa_inv_line-kostl.
concatenate 'ACGL_ITEM-PROJK(' cnt ')' into fld.
perform bdc_field using fld gwa_inv_line-posid.
concatenate 'ACGL_ITEM-FISTL(' cnt ')' into fld.
perform bdc_field using fld gwa_inv_line-fistl.
concatenate 'ACGL_ITEM-FIPOS(' cnt ')' into fld.
perform bdc_field using fld gwa_inv_line-fipos.
concatenate 'ACGL_ITEM-GEBER(' cnt ')' into fld.
perform bdc_field using fld gwa_inv_line-geber.
perform bdc_field using 'BDC_CURSOR' fld.
cnt1 = cnt1 + 1.
endloop.
perform bdc_dynpro using 'SAPMF05A' '1100'.
perform bdc_field using 'BDC_OKCODE' '=BS'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_OKCODE' '=BP'.
call transaction 'FB60' using gt_bdcdata mode 'N' pdate 'S'
messages into gt_bdc_messages.
Thanks,
Deesanth -
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 -
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 -
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 -
FBRA: No batch input data for screen SAPMF05A 0700
Hi Gurus,
I am processing transaction code FBRA on foreground. The document that i am trying to reset involves a foreign currency transations which revaluated periodically.
When I try to reset the document it gives me noteice that "exchange rate differences were posted, clearing document will be reversed. do you want to continue?"
When I press OK, it ask me to enter ther reversal reason "02". Then it gives me an error that "no batch input data for screen SPAMF05A 0700"
Please help me to solve this.
Many thanks!
-JUN-Dear JUN,
All this is telling you is that there is some piece of information that you are not supplying the batch input session. You can analyse the session in SM35 to see what's missing.
Reward points if it is helpful.
Thanks and Regards,
Naveen. -
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.
-
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 -
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
-
Problem with buttons in Safari 6?
Have a strange situation where in Safari 6 a site I am working on has a Previous and Next button on the page. Works perfectly in Firefox and in Safari 5.1.7. In Safari 6, however, selecting the 'Next' button also highlights the 'Previous' button and
-
Placing the File in ISeries AS400 FTP Server
Hi, I am working in IDOC to file Scenario and trying to append the Records in the flat file in AS400 FTP Server Directory. I am unable to place to file in the FTP Server and getting the error message as below. Message processing failed. Cause: com.sa
-
Jump to another page by clicking on the inputtext
i want tojump to another page by clicking on the inputtext.bu because i've made the tree's edit mode to "clicktoedit". so, i mean when i single click on the inputtext to jump,and double click on it to edit its value. here is the tree: <af:tree value=
-
ABAP WebDynpro - ArchiveLink - PDF Error: "File does not start with..."
Hey community, I have a WebDynpro application in which I want to show a Archive document. I'm using FM 'ARCHIV_GET_TABLE' and then FM 'SCMS_BINARY_TO_XSTRING'. But I only get the error message: (see also attached) File does not open with "%PDF-". Loc
-
CENVAT account Match for FI or MM
hi... can any body tell me how we can match the CENVAT a/c for MM and FI? our balances in this GL r not match..pls tell me step by step how we can check it? regards Rekha sharma