BATCH INPUT FORMAT ERROR TYPE QUAN DEC 3 WHY?
hi experts,
i use this function to create BOM CS_BI_BOM_CREATE_BATCH_INPUT1 (transaction IB11) but this is no really relevants, the problem is that when the Batch imput is executed, it stops when try to insert the field RC29P-MENGE becuase is passed the value 11.000 but the program only accept 11,000.
the field have this configuration:
MENGE KMPMG QUAN 13 3
the error message is "insert format: _ ___ ___ __~,___V message No. 00088
why?
What i have to do to resolve the problem?
thanks.
always use character field when passign data in BDC. define your source field as character, and then you should be able to use that
Similar Messages
-
Hi Guru's
i create batch input but during uploading
the message will prompt that
"Field MSEG-ERFMG does not exist in the screen SAPMM07M 0421"
Thanks in advance.hi Suneel G
i also try to do what you've been told but the error still occur.
IF WKG-FLAG1 = 'X'. " First Record
PERFORM DYNPRO_0400. " Initial Screen
CLEAR:WKG-FLAG1.
ELSE.
PERFORM DYNPRO_0421_1 USING WKL-ERFME. " Item Screen(Next)
ENDIF.
IF WKG-FLAG2 = 'X'.
WKL-ERFMG = INPUT_TAB-ERFMG.
ENDIF.
PERFORM DYNPRO_0421_1 USING WKL-ERFME. " Item Screen
PERFORM DYNPRO_0002 USING INPUT_TAB-PRCTR.
Append Error data table (Work)
MOVE-CORRESPONDING INPUT_TAB TO ERROR_TAB_W.
APPEND ERROR_TAB_W.
When Last Doc. no.-->Batch Input(T-code:MB1A)
IF WKG-FLAG2 = 'X'. " Last Record
PERFORM DYNPRO_0002 USING INPUT_TAB-PRCTR.
IF NOT INPUT_TAB-ERFMG IS INITIAL.
PERFORM DYNPRO_0421_2 USING INPUT_TAB-ERFMG. " More Data
ENDIF.
PERFORM DYNPRO_SAVE_RTN.
ELSE.
WKL-PRCTR = INPUT_TAB-PRCTR.
WKL-ERFMG = INPUT_TAB-ERFMG.
ENDIF.
ENDLOOP.
do you think there is a problem here???
thanks in advance -
hi FRNDS
at the time of processing Batch session in T-Code SM35, i am getting following error
1.. GL Accnt <102200.EXPEN> whr as it is just supposed to be 102200, so it can run automatically, but here i have to delet .EXPEN part and process the session
which is taking lot of time.
please suggest possible answer
thanksHi Matthew,
You must have selected the <b>Alternative Account Number</b> in transaction code F.05. To resolve the error, go back to transaction code <b>F.05</b>, click on the tab "<b>Other</b>" and uncheck the field "<b>Alternative Account Number</b>". This should solve the problem. Then, you can regenerate your batch input and re-process.
The effect of setting this parameter is that, the G/L account number would be replaced by the alternative account number (from the company code-specific G/L account master record).
I hope the above helps.
Do not forget to award the points please.
Regards,
Jacob -
In Production, I'm getting the error 'Screen 0000 is too large for internal batch input area'. When this error will get raise? In QAS the program is working fine
Can anyone provide the information on this?you cna try with below BAPI's
BAPI_M_REVAL_CREATEPRICECHANGE
BAPI_MATVAL_PRICE_CHANGE -
Back ground batch input processing error log handling
Dear Friends,
Currently im am scheduling job for batch processing of goods receipt through bapi, now after the succesfull run of this program im appending all the success and error logs in one internal table and sending this table to spool for future reference.
Is there any other way to handle the error logs??
bcoz in the method im using every time user has to run transaction sp01 to access that spool request to check the error logs.
Kindly suggest ....
Regards,
Sunny VBest way will be creating Application Logs of the reports log.This will be forever in the system unless you delete it.
Few one time settings are required. After that you can use tcodes
SLG1 (Analyze application log) and
SLG2 (Application Log: Delete expired logs).
For more info take the help from below link:
[Create Application Log|http://help.sap.com/saphelp_nw04/Helpdata/EN/2a/fa0216493111d182b70000e829fbfe/frameset.htm]
Let me know if you find any difficulty in doing this. -
Dear Expert,
I run t-code MICN for generate session cycle physical inventory but i have problem when process the result session with t-code SM35. The error message :
- Field name not valid in the batch input data (error message 00-346)
- Transaction MI01 (SAPMM07I screen 700)
Need help to solve this problem, thanksHi
The error occurs because,
1. You tried to provide a field name in a screen with data using batch input, and the field does not exist
or
2. You tried to provide a field name in a screen with data using batch input, and the field's name is "Space" and/or has "Space"
as field value.
What you can do is
1. Correct the BDCDATA table by using a valid field name in the screen.
2. Use transaction SM35, function Session (F8) to analyze the session that was created, position the cursor on the screen
where the error occurred, and press Data (F16).
If the list of field names and values contains empty lines - that is field name and/or value are SPACE - you must change the report that creates the batch input sessions.
Thanks !
E.Avudaiappan
Edited by: Avudaiappan E on Jun 3, 2011 7:10 AM -
Getting error while uploading gl master data using LSMW batch input data
Hi Experts,
I am getting error while uploading the GL master data through lsmw using batch input recording.
After completion of all steps at the time of running batch input session error i am getting is "maintain EN language discription"
and Pls tell me is it possible to upload transactional data using lsmw? if yes pls explaing briefly.Hello,
Kindly post in the FI forum to get a better response.
Regarding the issue you might check whether the correct column is being picked up where you have maintained the description.
Kind Regards // Shaubhik -
LSMW for Chart of Account: Field XSPEB not filled in batch-input session
Hi all,
we are using LSMW for importing the chart of account into a new system.
The LSMW project uses the report RFBISA00 for the creation of the batch-input session.
Some accounts need to be blocked in the new system. Therefore, we have the field XSPEB in our source structure and of course also in our target structure. But after the creation of the batch-input session the field is not included in the corresponding batch-input session.
Does anybody know why it is not set? I already debugged the program RFBISA00 but couldn't find the place where the data get lost.
Thanks in advance and regards,
MartinDid your batch input end with save ( /11 ) or what ok_code are you using ?
-
Batch input on IE02 "Class type" popup when class overview - but why??
Hi guys!
Usually when i go to IE02, i access "class overview" and there i see directly the Classification of this equipment, also i can edit it.
BUT:
As soon i use a Batch input on IE02, it brings up an additional popup when i click "class overview". The popup "Class type"? - i don't understand why i get this popup only when using a Batch input...
Can i avoid this popup somehow in the batch input?
thanks>
shashi jha wrote:
> This is mandatory field about which the sap is searching for the data
>
Hi!
But when i access IE02 without a batch input, this popup does not appear!
Edited by: Thomas Roithmeier on Mar 24, 2009 12:46 PM -
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 while creating a product group--Batch input error 9
Hi,
While creating a product group in T-code MC84, getting the error message" Product group can not be created (Batch input error 9)". Would appreciate providing yr help to resolve above issue.
Thks,
NileshHi Neel,
As ponited by you, the material type "PROD" is realted with creation of product group.I am able to resolve the error, "actually the work schedulling & MRP views were not activated for "PROD" resulting in the above error.
Thks for yr help.
Regards,
Nilesh -
I am getting an error while running Batch input session.
While running BDC getting error that "Enter Discount Base, Automatic calculation not possible". I checked all the settings at company code level, tax code settings, document type settings. I am not getting it. While doing mannual posting the error is not coming.
Please help me on this.Hi,
While creating Material master sometime warning message will come for some materials . So while doing the LSMW Recording method it will record howmany times you are entering the "Enter" key also. So while doing batch input fome article it may stop at some point, so better run the LSMW in foreground and check were it stops exactly.
Regards
GK. -
WD External Hard Drive will not format, "Input/Output Error"
Trying to reformat an old Western Digital external drive, immediate error in Disk Utility "Input/Output Error". Switched USB cords/ports, nothing. Just getting a second opinion before I trash it.
I know I can probably take out the drive and put it in an external case, but this was just going to be an extra drive for a friend, not worth the $20 for the case.
ThanksI'm getting the same errors from both my USB ports when I try to format a brand new Maxtor 1TB drive.
I had noticed some strange errors a week ago when Time Machine was reporting an error saying it had failed (this was using a nother external firewire drive). Errors were (not verbatim) "error writing files" & "unknown error".
I naturally thought there was a prob with the ext drive, so knowing that I had at least a good full back-up on there, bought a new ext drive (larger) to perform a full backup on so I could reformat the firewire drive and utilise it elsewhere - but got errors when I tried to set it up as a Time Machine drive seconds after I took it out of the box.
I ran "Verify Disk" on my internal macbook HD and it reported some permission errors and mis-reported file sizes and told me to "Repair Disk". I did, and this stated it fixed a few things. Ran Verify again and it still reported some permission errors.
Now, this leaves me in a sticky spot. I can't format the maxtor external disk in order to manually copy over my disk content, it doesn't even show up in disk Utility or in Finder. I can't perform a Time Machine backup - as it can't see the maxtor disk. I can't do a TM backup on the old Firewire disk - due to the program errors. AND it appears I have permission errors on my internal HD.
Whatever course of action I take to correct these problems - I would like the knowledge that I have a full backup to restore from if things "head south" while I look to correct the HD permission issues.
Anyone out there with some REAL SMART ideas that can help me out here ?
Right now I'll even accept "Half Smart", "Clever" and "**** - Why Didn't I Think Of That" answers !
S. -
Sales Order Upload using IDOC : Batch Input error
Hi all
When I am uploading sales order data using <b>idoc</b> method it was giving the below error when the Items are more than 10,if the items are less than 10 it was creating the sales order successfully.
<b>Screen 0000 is too large for internal batch input area</b>
for upload I am using the standard Meassege type and Basic idoc type
Message type : ORDERS
Basic idoc type : ORDERS05
Function Module : idoc_input_orders(ORDE)
Please help if there is any Idea
Thanks in Advance
Warm regards
RajasekharHi Madhu,
This error might be due to screen resolution. Try to reduce screen resolution and run your program.
Cheers
Manohar -
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.
Maybe you are looking for
-
Vertically center text on a page-document wide
Anyone know how to center text vertically on FrameMaker pages? (There is a way to do this, right?) Thanks!
-
How do I trigger a Flash Player update?
On Vista machine, when (limited privledges) Visitor loged in, there was an "Adobe Flash Player update available" pop-up. I do not do any updates as Visitor and so logged out and back in as admin. But I cannot seem to get that pop-up message. I hav
-
How does Oracle handles the delete ?
Hi , I have a unix loder that does the issue this command EXEC SQL DELETE FROM TBl1 where id in (select id from TMP) if any user is accessing a record in TBL1 , will Oracle wait for the record to be released before it does the delete or it simply ski
-
OBEE and Beehiveonline and Windows 7 64bit
Unable to get OBEE working on windows 7 64 bit. Do you have any suggestions?
-
Can someone tell me why when I tried to Sync podcasts it told me they could not be played on my touch? It is an 8gb new model - I am a new user so have probably set something wrong but I just can't find it! Thanks