FLB2 - Lockbox Screen Error: "No Batch Input for screen SAPDF05X 3100"
I'm not familiar with Lockbox processing ... was asked to help debug an error & not having much luck doing so.
When processing a file via FLB2, we have one customer for which the postings work fine. For another customer, however, we get an error:
"Accounts receivable posting Error: (00 344) No batch input data for screen SAPDF05X 3100."
I've checked multiple Notes & postings on SDN, still at a loss and getting no closer troubleshooting within the system.
Can anyone offer ideas of what to check?
Thanks,
John
Hi,
I believe the problem should be in the input file. There should an error in the file. Can you create a one line item file for the Customer and processs it. If the Lockbox is working for one Customer it should work for all Customers. Secondly, check whether Lockbox is maintained for the Customer in the master data.
Thanks
Murali.
Similar Messages
-
Error: No batch input data for screen SAPMZVKDIALOGDEMO 1000 Help Needed
Hi Experts!
I wrote a program for BDC. I am attaching the code herewith. When i am trying to process the session in SM35, i was getting the error: No batch input data for screen SAPMZVKDIALOGDEMO 1000. Can anyone please tell me, what am i doing wrong.
Thanks.
REPORT zvkbdcdemo01.
DATA: bdc_tab LIKE bdcdata OCCURS 6 WITH HEADER LINE.
DATA: session LIKE apqi-groupid VALUE 'Session #1'.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
client = sy-mandt
* DEST = FILLER8
group = session
* HOLDDATE = FILLER8
* KEEP = FILLER1
user = sy-uname
* RECORD = FILLER1
* PROG = SY-CPROG
* IMPORTING
* QID =
* EXCEPTIONS
* CLIENT_INVALID = 1
* DESTINATION_INVALID = 2
* GROUP_INVALID = 3
* GROUP_IS_LOCKED = 4
* HOLDDATE_INVALID = 5
* INTERNAL_ERROR = 6
* QUEUE_ERROR = 7
* RUNNING = 8
* SYSTEM_LOCK_ERROR = 9
* USER_INVALID = 10
* OTHERS = 11
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM fill_bdc_tab.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
tcode = 'ZVKTR001'
* POST_LOCAL = NOVBLOCAL
* PRINTING = NOPRINT
* SIMUBATCH = ' '
* CTUPARAMS = ' '
TABLES
dynprotab = bdc_tab
* EXCEPTIONS
* INTERNAL_ERROR = 1
* NOT_OPEN = 2
* QUEUE_ERROR = 3
* TCODE_INVALID = 4
* PRINTING_INVALID = 5
* POSTING_INVALID = 6
* OTHERS = 7
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 'BDC_CLOSE_GROUP'
* EXCEPTIONS
* NOT_OPEN = 1
* QUEUE_ERROR = 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.
*& Form fill_bdc_tab
* text
FORM fill_bdc_tab.
REFRESH bdc_tab.
PERFORM populate_bdc_tab USING:
'1' 'SAPMZVKDIALOGDEMO' '1000',
' ' 'SFLIGHT-CARRID' 'LH',
' ' 'SFLIGHT-CONNID' '0400',
' ' 'SFLIGHT-FLDATE' '07/07/2007',
' ' 'SFLIGHT-PRICE' '1982',
' ' 'SFLIGHT-CURRENCY' 'EUR',
' ' 'SFLIGHT-PLANETYPE' 'A310-300',
' ' 'BDC_OKCODE' 'CREA'.
ENDFORM. "fill_bdc_tab
*& Form POPULATE_BDC_TAB
* text
* -->FLAG text
* -->VAR1 text
* -->VAR2 text
FORM populate_bdc_tab USING flag var1 var2.
CLEAR bdc_tab.
IF flag = '1'.
bdc_tab-program = var1.
bdc_tab-dynpro = var2.
bdc_tab-dynbegin = 'X'.
ELSE.
bdc_tab-fnam = var1.
bdc_tab-fval = var2.
ENDIF.
APPEND bdc_tab.
ENDFORM. "POPULATE_BDC_TABThis normally means that you are trying to insert data on a screen for which a particular field is not available.
So check screen number, screen fields and report name. In case of screen fields, use F1, F9 (technical information), and check the name of the screen field for batch processing (all the way at th bottom of the pop-up). This can differ from actual name of the screen field.
If all this is ok, try to create a recording of the transaction with SM37. -
Error "No batch input data for screen SAPMF02D 0130" MASS tcode Msg:00344
Hi,
I am trying to update the filed "Industry"(KNA1-BRSCH) with value "RNRN" in Customer master data (XD01) through Tcode MASS for 1500 customers. I am getting error "No batch input data for screen SAPMF02D 0130" Message no. 00344. I tried to upate one customer but still the same error popped up. We tried implementing SAP note 737698 but it did not work.
Any inputs please??????Hi,
MASS (KNA1)
Select KNA1-BRSCH
execute
select customers
give your value against New values field
and click on mass change button
Rgds
Murali. N -
Error: No batch input data for screen SAPLSTRD 0300 for BDC OB52
Hello,
I have created one program, where i am just calling transaction OB52 using batch input.
CALL TRANSACTION 'OB52' USING bdcdata
MODE input_method
UPDATE 'S'
MESSAGES INTO itb_msg.
When I run my program in background the it is giving me Error "No batch input data for screen SAPLSTRD 0300 ", but I am changing the MODE to 'A' in foreground then it is working perfectly without any Errors.
Can you guide me why i am getting the above error only when i am executing the program in MODE = 'N'...
Regards,
Sujeet MishraHello,
Actually recording is perfect and it was working fine earlier on production server. now the error i am getting is related to transport request. like when we do the changes in transaction OB52 online is will ask you for transport request, but in my recording we are not taking care of this transport request pop-up screen, but it was working fine earlier.
the code which was working fine is written below:
LOOP AT itb_type.
PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POSI'.
* Ecran Positionner, fonct Suite
PERFORM bdc_dynpro USING 'SAPLSPO4' '0300'.
PERFORM bdc_field USING 'SVALD-VALUE(01)' p_bukrs.
PERFORM bdc_field USING 'SVALD-VALUE(02)' itb_type-mkoar.
PERFORM bdc_field USING 'SVALD-VALUE(03)' itb_type-bkont.
PERFORM bdc_field USING 'BDC_OKCODE' '=FURT'.
* Ecran principal, fonction Sauvegarde
PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
* Période 1
IF ( p_etape1 = 'X' ).
* Si Jour J+1
PERFORM bdc_field USING 'V_T001B-FRPE1(01)' s_sppe1-low.
PERFORM bdc_field USING 'V_T001B-TOPE1(01)' s_sppe1-high.
PERFORM bdc_field USING 'V_T001B-FRYE1(01)' s_spye1-low.
PERFORM bdc_field USING 'V_T001B-TOYE1(01)' s_spye1-high.
ELSEIF ( p_etape2 = 'X' ).
* Si Jour J+6
PERFORM bdc_field USING 'V_T001B-FRPE1(01)' s_frpe1-low.
PERFORM bdc_field USING 'V_T001B-TOPE1(01)' s_frpe1-high.
PERFORM bdc_field USING 'V_T001B-FRYE1(01)' s_frye1-low.
PERFORM bdc_field USING 'V_T001B-TOYE1(01)' s_frye1-high.
ENDIF.
* Période 2
PERFORM bdc_field USING 'V_T001B-FRPE2(01)' s_frpe1-low.
PERFORM bdc_field USING 'V_T001B-TOPE2(01)' s_frpe1-high.
PERFORM bdc_field USING 'V_T001B-FRYE2(01)' s_frye1-low.
PERFORM bdc_field USING 'V_T001B-TOYE2(01)' s_frye1-high.
* Gpe d'autorisation
PERFORM bdc_field USING 'V_T001B-BRGRU(01)' itb_type-brgru.
PERFORM bdc_field USING 'BDC_OKCODE' '=SAVE'.
ENDLOOP.
PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BACK'.
* Appel de la transaction OB52
CALL TRANSACTION 'OB52' USING bdcdata
MODE input_method
UPDATE 'S'
MESSAGES INTO itb_msg.
Regards,
SUjeet -
Incoming IDOC Error "No batch input data from the screen SAPMV45A 4001"
Hello ,
The Incoming IDOC with Message type 'ORDERS' is triggering the error message "No batch input data from the screen SAPMV45A 4001" with message no 00344 . There is an SAP note 785000 to handle this type of error message which has been already implemented. Still we are encountering few IDOC error's at the time of sales order creation. The IDOC reaches status 51 throwing the error which is again reprocessed through BD87 .
We are unable to replicate the similar scenerio in Development & Testing systems as it works fine.
Can any one kindly advise how to eliminate the error "No batch input data from the screen SAPMV45A 4001" message at the time of Incoming IDOC processing.
Thanks in advance.
Best Regards
SateeshDear Sateesh
Check this link where the same topic was discussed
[ VA01/VA02: batch-input error in IDoc processing|http://www.sapfans.com/forums/viewtopic.php?f=21&t=313032]
thanks
G. Lakshmipathi -
Batch Input for VA31 and adding new partner
Dear All,
I have a already well running program, which is creating new scheduling agreement via transaction VA31 in batch input mode.
Now, there is a new requirement to add one partner in the header. I made a recording and saw that there is a subcreen SAPLV09C. I extended the program, but doesn't matter I'm doing I always get the message:
No batch input data for screen SAPMV45A 4002
Does anyone has experience with adding new partners in the header and can explain me how to make the right development.
Thanks in advance.
KlausHi Klaus,
If you get the error No Batch input data for screen proceed as follows:
1. In the Installation Assistant mark the foreground checkbox (in the column FG of the Installation Assistant project view) of this specific eCATT.
2. Activate the project again.
3. Run the eCATT in foreground
seee this links
ftp://ftp.software.ibm.com/software/websphere/integration/wbiadapters/library/doc/pdf/mysap4/mysap4_60.pdf
www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm - 9k -
thanks
karthik
reward me if usefull -
Inbound ORDERS IDoc Error: No batch input....
Dear all,
i try to receive IDocs via the standard function module IDOC_INPUT_ORDERS. Partner profiles etc. are maintained in WE20. However, when I create the Test IDoc in WE19 and process it, i get the following error:
No batch input data for screen SAPMV45A 4001
Message no. 00344
My IDoc looks as follows:
EDIDC 2000000000000203045700 51 2SAPXXX LSXXXCLNT200
E1EDK01 220 56026671
E1EDK14 012OR
E1EDK14 00601
E1EDK14 00701
E1EDK14 008PLANT
E1EDK03 002200909170000
E1EDK03 012200909171212
E1EDK03 022200909171212
E1EDKA1 AG 0003000011
E1EDKA1 WE 0003000011
E1EDK02 001K1234567 20090911
E1EDP01 1 1 EA
E1EDP19 0035200000
Has anyone an idea, what might be the reason for this error?
Best regards
FlorianHello Florian
When you choose function "Inbound Function module" (IDOC_INPUT_ORDERS; WE19) switch the transaction processing to In Foreground or In Foreground after Error.
Then you will clearly see what is missing and it should be easy to find out where to place the missing data into the IDoc.
Most likely segment E1EDP20 (containing the quantity) is missing. Example:
E1EDP20 136.000 0.000 20080822
Regards
Uwe -
Length error in Batch input (ME12).
Hello all,
I've create a report which generate a batch input for transaction ME12. The batch input changes the conditions for inforecord.
The error occurs when the field <b>Rate</b> is filled : <b><i>Field KONP-KPEIN(1) input value is longer then screen field</i></b>.
I've try different ways to assign value to this field ( even of length 1), but still get the same error. I think this is because the field BDCDATA-FVAL is of 132 chars.
Do you know why this is happening? Or how to solve it? or some FM's to change inforecord conditions?
Thank you a lot!
A beautiful day!
BogdanHi,
for p - fields try in such a way:
data char5(5).
write KONP-KPEIN to char5.
-> use char5 for bdc-val
Andreas -
Batch input for IQ02 not accepting "yes" for 'POPUP_TO_CONFIRM'
Hello,
I wrote a batch input for a transaction (IQ02) and all works fine except one thing:
-when all data is entered and SAVE button is pressed, there is an additional pop-up, from an user exit which needs an YES/NO answer.
The function module used to display the popup is: 'POPUP_TO_CONFIRM'
I do not manage to press the YES button. This is the data I receive when pressing F1 on YES button:
Program SAPLSPO1
Function OPT1
Normally, in batch input, this is the way I pass user-commands:
PERFORM bdc_dynpro USING 'SAPMIEQ0' '0101'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
But it's not working for this particular situation.
Any ideas?
Thank you.
Edited by: Julius Bussche on Jan 5, 2009 2:07 PM
Quality of subject title improved.Hi
Find out under which condition popups appears.
for that condition you have to put the following code
PERFORM bdc_dynpro USING 'SAPLSPO1' ''<SCREEN_NUMBER>'.
PERFORM bdc_field USING 'BDC_OKCODE' '=OPT1' .
Hope this helps,
Rajat -
Error ''No batch input data for screen SAPMF05A 0701'' with interface
Hi,
While I ran an interface from our legacy (vendor invoice), this message appeared in AL11 ''No batch input data for screen SAPMF05A 0701'' I saw in the pass ''No batch input data for screen SAPMF05A 0700'' but never 0701. I'm not able to find a lot of documentation that help me. Does anyone know what can cause this?HI,
You can check by yourself the reason of the error in the following way,
related to note 26050.
Please check all the 3 points and furthermore please follow the
third that says:
1. Call up Transaction FBV0 and branch to the list.
2. Select the parked document in which the termination occurs, and
create a batch input session via 'Edit -> Create batch input'. Then
process the batch input session in the foreground.
Processing the batch input in foreground, You will be able to find out
the reason of the error message You have.
So, please call transaction FBV0 > Push the button "Document list" >
Execute then choose the document You want to post and push the button
"Create batch input" > When the batch input session is created, go
to transaction SM35 and run it in foreground in order to find out
the problem.
Kind Regards,
Fernando Evangelista -
Error "No batch input data for screen" in BDC for Tcode CN22
Hi,
The issue is When teh BDC code is run by Functional guys we are facing the error as "No batch input data for screen SAPLCONW 1100", when I am trying teh change the Network Activity Level User field in Tcode CN22. When I execute the same BDC code with Developer User id, it is executing perfectly.
I have checked the User Profiles for both functional and Technical and both are same. What is my solution now?
Regards,
Deepthi.Hi
Take Recording using the functional guy log in there might be user depended screen sequence
Regards
Nilesh Gaikwad
Edited by: Nilesh Gaikwad on Jan 26, 2010 10:49 AM -
No Batch Input for Screen 0300
Hello
I am doing an inter-company asset transfer using ABT1(Call Transaction).
However for few assets its giving me the error as 'No Batch input found for screen' '0300' even though
the message type in MESSTAB table is 'S'.And one I run the program again for same asset it works properly.
PERFORM 450_DYNPRO USING:
'X' 'SAPLAMDP_OLD' '0100',
' ' 'RAIFP1-BLDAT' L_SYDATE, " Document Date
' ' 'RAIFP1-BLART' 'AA', " Document Type
' ' 'RAIFP1-BUDAT' L_PSTDAT, " Posting Date
' ' 'RAIFP1-TRAVA' P_VAR, " Transfer Variant
' ' 'RAIFP1-BZDAT' L_BZDAT, " Asset Value Date
Posting Specifications
' ' 'RAIFP2-BUKRS' PWA_ASSET-BUKRS, " From Company
' ' 'RAIFP2-ANLN1' PWA_ASSET-ANLN1, " Asset
' ' 'RAIFP2-ANLN2' '0000', " Sub Asset No
To
' ' 'RAIFP3-BUKRS' P_BUKRTO, " To Company from i/p screen
' ' 'RAIFP3-XNANL' 'X', " New Asset
Revenue
' ' 'RAIFP2-XERBW' 'X', " NBV from area button
' ' 'RAIFP2-AFABE' '01', " Default 01
' ' 'BDC_OKCODE' '/00', " Enter
*Second Screen
'X' 'SAPLAIST' '2110',
' ' 'ANLZ-KOSTL' P_KOSTL, " Cost Center
' ' 'BDC_OKCODE' '=DETA'. " Push additional data
Enter allocations tab Common for ABT1 and AS11 transaction
PERFORM 450_DYNPRO USING:
'X' 'SAPLAIST' '1000',
' ' 'BDC_OKCODE' '=TAB03', " Go to Allocations tab
'X' 'SAPLAIST' '1000',
' ' 'ANLA-GDLGRP' P_GDLGRP, " Enter value for eval. Grp 5
' ' 'BDC_OKCODE' '=TAB08'.
In the screen create
PERFORM 450_DYNPRO USING:
'X' 'SAPLAIST' '1000',
' ' 'BDC_OKCODE' '=RW'. " Go back to Second screen
PERFORM 450_DYNPRO USING:
'X' 'SAPLAIST' '2110',
' ' 'BDC_OKCODE' '=CREA', " Create the transaction
'X' 'SAPMSSY0' '0120',
' ' 'BDC_OKCODE' '=&ONT',
Save the transaction
'X' 'SAPLAMDP_OLD' '0100',
' ' 'BDC_OKCODE' '=SAVE'.
Could anyone pls help in knowing me whats the problem?
Thanks and RegardsI think U need to handle screen 0300 .. and need to pass
data ('No Batch input found for screen' '0300' ) -
Batch-input for exporting cost calculation to a local file (ecc 6.0)
Hi,
we had a batch-input to export some data in a local file (excel format) in SAP 4.5B.
We recorded transaction CK11 for a material number, we got Itemization screen and then we recorded menu' option "List . Export . Local file / Spreadsheet). If the batch-input ran in foreground it would produce required outputs (some excel files).
Now we are migrating from 4.5B version to Ecc6.0; we recorded same transaction (both ck11 and ck11n, to be more ), but at execution time the window for local file saving never is displayed and B.I. stops with error.
One difference is that now data are collected into a container, instead that in a write list ...Hi again,
the data i look for is a result of calculation of different tables so for every single product, it is calculated. In standart CO reports, there is no such report that give me that detail.
Finally i managed to call print OK code, but it was in the foreground processing mode, i cannot run it on backround processing..
I know i misuse the LSMW, but i think LSMW may have such flexibility to use such reports, thanks to SAP.. it was an adhoc report i tried to combine, so writing a program may be much more time consuming. -
Hi everybody
Ive run the tcode SHDB to get the recording of transaction XD02, in it, theres an input field called RMCLF-CLASS(01), but when Im running my program, its giving me an error message 'Field RMCLF-CLASS(1) is not an input field'.
Does anybody know why?heres the code
DATA : field1(20),
field2(20),
telf1 TYPE kna1-telf1,
adrnr TYPE kna1-adrnr,
ktokd TYPE kna1-ktokd,
wa_extab TYPE ty_tab1,
cname(20) VALUE 'KNVK-NAME1(00)',
banks(20) VALUE 'KNBK-BANKS(00)',
bankn(20) VALUE 'KNBK-BANKN(00)',
bankl(20) VALUE 'KNBK-BANKL(00)'.
DATA : field3(20) VALUE 'RCTMS-MNAME(00)',
field4(20) VALUE 'RCTMS-MWERT(00)',
pos(2) TYPE n VALUE 0.
DATA : head2(10).
DATA : t_smtp TYPE adsmtp OCCURS 0 WITH HEADER LINE.
FIELD-SYMBOLS : <fs1>, <fs2>,
<fs_ablad> TYPE ty_ablad.
CLEAR : bi_open, flags.
Fill in work area fields with the appropriate data
LOOP AT t_field ASSIGNING <fs_field>
WHERE value <> 00
AND flagname <> space.
CONCATENATE 'FLAGS' <fs_field>-flagname INTO field1
SEPARATED BY '-'.
ASSIGN (field1) TO <fs1>.
<fs1> = 'X'.
ENDLOOP.
IF flags-d0340 IS INITIAL AND p_unpnt = 'X'.
flags-d0340 = 'X'.
ENDIF.
IF flags-d0310a = 'X' AND flags-d0310 IS INITIAL.
flags-d0310 = 'X'.
ENDIF.
IF flags-d0320t = 'X' AND flags-d0320 IS INITIAL.
flags-d0320 = 'X'.
ENDIF.
IF p_bppy = 'X'.
flags-d0324 = 'X'.
ENDIF.
IF p_kzazu = 'X' AND flags-d0315 IS INITIAL.
flags-d0315 = 'X'.
ENDIF.
LOOP AT intab.
CLEAR: screen_cnt, t_ablad, t_knvp,
t_kssk.
REFRESH : t_ablad, t_knvp.
Fill in work area fields with the appropriate data
LOOP AT t_field ASSIGNING <fs_field>
WHERE value <> 00.
CONCATENATE :
Destination field
'WA_EXTAB' <fs_field>-sapname INTO field1 SEPARATED BY '-',
Source field
'INTAB-FIELD' <fs_field>-value INTO field2.
ASSIGN : (field1) TO <fs1>,
(field2) TO <fs2>.
<fs1> = <fs2>.
ENDLOOP.
Pad customer number
IF wa_extab-kunnr CO '0123456789 '.
UNPACK wa_extab-kunnr TO wa_extab-kunnr.
ENDIF.
CLEAR : telf1, adrnr, ktokd.
SELECT SINGLE telf1 adrnr ktokd FROM kna1
INTO (telf1,adrnr,ktokd)
WHERE kunnr = wa_extab-kunnr.
Check customer exists
IF sy-subrc <> 0.
MOVE : wa_extab-kunnr TO wa_errtab-kunnr,
text-001 TO wa_errtab-message.
INSERT wa_errtab INTO TABLE errtab. CLEAR wa_errtab.
CONTINUE.
ENDIF.
DPZ01
Check customer exists in sales area
SELECT SINGLE kunnr FROM knvv
INTO knvv-kunnr
WHERE kunnr = wa_extab-kunnr
AND vkorg = wa_extab-vkorg
AND vtweg = wa_extab-vtweg
AND spart = wa_extab-spart.
IF sy-subrc <> 0.
MOVE : wa_extab-kunnr TO wa_errtab-kunnr,
text-010 TO wa_errtab-message.
REPLACE : '&1' WITH wa_extab-vkorg INTO wa_errtab-message,
'&2' WITH wa_extab-vtweg INTO wa_errtab-message,
'&3' WITH wa_extab-spart INTO wa_errtab-message.
CONDENSE wa_errtab-message.
INSERT wa_errtab INTO TABLE errtab. CLEAR wa_errtab.
CONTINUE.
ENDIF.
DPZ01
Screens for the customer
PERFORM select_screens USING ktokd
CHANGING i_flags screens.
IF telf1 IS INITIAL.
wa_extab-sw_tel = 'X'.
ENDIF.
Number of contacts
SELECT COUNT( * ) FROM knvk INTO wa_extab-contact
WHERE kunnr = wa_extab-kunnr.
Number of bank accounts
SELECT COUNT( * ) FROM knbk INTO wa_extab-account
WHERE kunnr = wa_extab-kunnr.
IF p_unpnt = 'X'.
List of unloading points
SELECT ablad FROM knva APPENDING TABLE t_ablad
WHERE kunnr = wa_extab-kunnr.
UP exists in UP view ?
READ TABLE t_ablad WITH TABLE KEY ablad = c_up
ASSIGNING <fs_ablad>.
IF sy-subrc <> 0.
MOVE : wa_extab-kunnr TO wa_errtab-kunnr,
text-002 TO wa_errtab-message.
INSERT wa_errtab INTO TABLE errtab. CLEAR wa_errtab.
ENDIF.
ENDIF.
Class assigned to customer
IF NOT p_elevl1 IS INITIAL OR NOT p_elevl2 IS INITIAL OR
NOT p_elevl3 IS INITIAL OR NOT p_esfid IS INITIAL OR
NOT p_ehead IS INITIAL OR NOT p_etelcm IS INITIAL OR
*PCT
NOT p_ctype IS INITIAL OR
NOT p_eool IS INITIAL.
MOVE wa_extab-kunnr TO objek.
SELECT clint zaehl INTO CORRESPONDING FIELDS OF TABLE t_kssk
FROM kssk
WHERE objek = objek
AND klart = c_klart.
ENDIF.
BATCH INPUT
IF bi_open IS INITIAL.
PERFORM open_ses USING session_name.
bi_open = 'X'.
ENDIF.
First screen
DPZ01
PERFORM first_screen USING wa_extab-kunnr i_flags.
PERFORM first_screen USING wa_extab-kunnr wa_extab-vkorg
wa_extab-vtweg wa_extab-spart i_flags.
DPZ01
Address
IF i_flags-d0110 = 'X'.
PERFORM choose_okcode USING screens
CHANGING screen_cnt okcode.
PERFORM loadibatch USING : 'X' 'SAPMF02D' '111'.
fill_field : wa_extab-name1 'ADDR1_DATA-NAME1',
wa_extab-stras 'ADDR1_DATA-STREET',
wa_extab-pstlz 'ADDR1_DATA-POST_CODE1',
wa_extab-ort01 'ADDR1_DATA-CITY1',
wa_extab-land1 'ADDR1_DATA-COUNTRY',
wa_extab-spras 'ADDR1_DATA-LANGU',
wa_extab-telfx 'SZA1_D0100-FAX_NUMBER'.
Telephone number
IF NOT wa_extab-telf1 IS INITIAL.
IF wa_extab-sw_tel = 'X'.
No tel.nbr -> can put it in current screen
PERFORM loadibatch USING
' ' 'SZA1_D0100-TEL_NUMBER' wa_extab-telf1.
ELSE.
A tel.nbr exists -> add the new one
PERFORM loadibatch USING :
' ' 'BDC_OKCODE' '=$MTE',
'X' 'SAPLSZA6' '0200',
' ' 'BDC_OKCODE' 'NEWL',
'X' 'SAPLSZA6' '0200',
' ' 'ADTEL-TEL_NUMBER(01)' wa_extab-telf1,
' ' 'BDC_OKCODE' 'CONT',
'X' 'SAPMF02D' '0111'.
ENDIF.
ENDIF.
E-mail
IF NOT wa_extab-email IS INITIAL.
IF wa_extab-sw_mail = 'X'.
No e-mail -> can put it in current screen
PERFORM loadibatch USING
' ' 'SZA1_D0100-SMTP_ADDR' wa_extab-email.
ELSE.
An e-mail exists -> add the new one
PERFORM loadibatch USING :
' ' 'BDC_OKCODE' '=$INT',
'X' 'SAPLSZA6' '0600',
' ' 'BDC_OKCODE' 'NEWL',
'X' 'SAPLSZA6' '0600',
' ' 'ADSMTP-SMTP_ADDR(01)' wa_extab-email,
' ' 'BDC_OKCODE' 'CONT',
'X' 'SAPMF02D' '0111'.
ENDIF.
ENDIF.
IF NOT p_elevl1 IS INITIAL OR NOT p_elevl2 IS INITIAL OR
NOT p_elevl3 IS INITIAL OR NOT p_esfid IS INITIAL OR
NOT p_ehead IS INITIAL OR NOT p_etelcm IS INITIAL OR
*PCT
NOT p_ctype IS INITIAL OR
*PCT
NOT p_eool IS INITIAL.
CLEAR pos.
PERFORM loadibatch USING : ' ' 'BDC_OKCODE' 'KLAS',
'X' 'SAPLCLCA' '0602',
' ' 'RMCLF-KLART' c_klart,
' ' 'BDC_OKCODE' 'ENTE',
'X' 'SAPLCLFM' '0500'.
IF t_kssk[] IS INITIAL.
PERFORM create_new_class. "Create the first assignment
ELSE.
READ TABLE t_kssk WITH KEY clint = clint
ASSIGNING <kssk>.
IF sy-subrc = 0.
PERFORM change_class USING sy-tabix. "Change existing class
ELSE.
PERFORM create_add_class. "Add an assignment
ENDIF.
ENDIF.
IF NOT wa_extab-levl1 IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_level1,
' ' field4 wa_extab-levl1.
ENDIF.
IF NOT wa_extab-levl2 IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_level2,
' ' field4 wa_extab-levl2.
ENDIF.
IF NOT wa_extab-levl3 IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_level3,
' ' field4 wa_extab-levl3.
ENDIF.
IF NOT wa_extab-sfid IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_sfid,
' ' field4 wa_extab-sfid.
ENDIF.
IF NOT wa_extab-head IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
WRITE wa_extab-head TO head2 NO-ZERO.
PERFORM loadibatch USING : ' ' field3 c_head,
' ' field4 head2.
ENDIF.
IF NOT wa_extab-telecm IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_telecom,
' ' field4 wa_extab-telecm.
ENDIF.
IF NOT wa_extab-ool IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_ool,
' ' field4 wa_extab-ool.
ENDIF.
*PCT
IF NOT wa_extab-ctype IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_contract,
' ' field4 wa_extab-ctype.
ENDIF.
*PCT
PERFORM loadibatch USING : ' ' 'BDC_OKCODE' 'BACK',
'X' 'SAPLCLFM' '0500',
' ' 'BDC_OKCODE' 'ENDE',
'X' 'SAPMF02D' '0111'.
ENDIF.
PERFORM loadibatch USING ' ' 'BDC_OKCODE' okcode.
ENDIF.
PERFORM insert_ses USING 'XD02'.
FORM loadibatch USING start fname fvalue.
CLEAR ibatch.
IF start = 'X'.
ibatch-program = fname.
ibatch-dynpro = fvalue.
ELSE.
ibatch-fnam = fname.
ibatch-fval = fvalue.
ENDIF.
ibatch-dynbegin = start.
APPEND ibatch.
ENDFORM.
FORM create_new_class.
CONCATENATE 'RMCLF-CLASS(' '01)' INTO rmclf_class1.
PERFORM loadibatch USING:
' ' 'BDC_CURSOR' 'RMCLF-CLASS(01)',
' ' 'BDC_OKCODE' '=AUSW',
' ' 'RMCLF-CLASS(01)' c_class,
'X' 'SAPLCTMS' '0109'.
PERFORM loadibatch USING :
' ' 'RMCLF-CLASS(01)' c_class,
' ' 'BDC_OKCODE' '/00',
'X' 'SAPLCTMS' '0109'.
ENDFORM. " create_new_class
*& Form create_add_class
Create a new assignment
FORM create_add_class.
PERFORM loadibatch USING : ' ' 'BDC_OKCODE' 'NEUZ',
'X' 'SAPLCLFM' '0500',
' ' 'RMCLF-CLASS(02)' c_class,
' ' 'BDC_OKCODE' '/00',
'X' 'SAPLCTMS' '0109'.
ENDFORM. " create_add_class
*& Form change_class
Change an existing assignment
-->PAGPOS Position of the class
FORM change_class USING pagpos TYPE sy-tabix.
DATA : pagpos2(2) TYPE n,
field(20) VALUE 'RMCLF-KREUZ(00)'.
MOVE pagpos TO pagpos2.
REPLACE '00' WITH pagpos2 INTO field.
CONDENSE field NO-GAPS.
PERFORM loadibatch USING : ' ' field 'X',
' ' 'BDC_OKCODE' 'AUSW',
'X' 'SAPLCTMS' '0109'.
ENDFORM. " change_class -
Error in Batch Input Mode - SHDB
Hello All,
Could you help me, please?
I did a mapping on SHDB for transaction MD81, I test this mapping in a production copy with suporte pakage 30 for version 4.7, and when I simulate this batch in background mode, it returns the following message:
"No batch input data for screen SAPLCOZF 2300" (Message no. 00344)
But if I simulate it in mode A or mode E it works properly.
In procutcion this mapping working properly with any mode (using suporte pakage 28).
I tried to found if the suporte pakage changes something in MD81, but I didn't find any note about that.
Somebody have any ideia about that?
Thanks in advance.
Fernando Pena.Hi Fernando,
Have you checked the date or time or decimal formats of the user running the program.
If we do not handle these, in back ground system will raise an error or information messages which we might not be handling.
Regards,
Subhani.
Maybe you are looking for
-
Hi, I'm having a problem connecting my second monitor to my Mac... it connects and I see the SL desktop, but the colors are funky. Everything is either way too red, or if you tap the adapter it will turn to a blue. It's a heavy hue that's hard to wor
-
Writing the file using Write to SGL and reading the data using Read from SGL
Hello Sir, I have a problem using the Write to SGL VI. When I am trying to write the captured data using DAQ board to a SGL file, I am unable to store the data as desired. There might be some problem with the VI which I am using to write the data to
-
Help needs on People Management Template
Hi, Is it possible to have defaulting value in one of the field based on security profile or depending on value of another field? thanks
-
Hello, Number of beans in my project are growing like anything, and i need some way to manage them. Can anybody please suggest, is there any way i can divide the file into multiple logical files?? I mean, write my beans in multiple files, rather than
-
[SOLVED] mkarchiso: ERROR: failed to detect root filesystem
hi guys! i am now trying to build my own live archlinux distribution with archiso and with the command "mkarchiso" at the first step in installing the base when it installs linux and execute "mkinitcpio" it shows me this error: ( 73/111) installing l