Batch input messages
hi experts
how can i find out what is the meaning of the message numbers in batch input operation, and what is the meaning of the message type.
thanks
amit
for meaning of the message types use F1 on message statement.
Similar Messages
-
In which tables are batch input error messages logged?
does anybody know in which table are the batch input error messages logged?
I have to display the error messages which have occured during the transaction
I tried to find out, but i could see only the table BDCMSGCOLL, this table has only the Batch input message number and not the message itself?
does anybody know about the batch input error messages?hi,
check the sample code below.
messtab is of type BDCMSGCOLL.
Call the transaction and then use T100 to get the message.
DATA: l_mstring(480).
call transaction using
REFRESH messtab.
CALL TRANSACTION tcode USING bdcdata
MODE ctumode
UPDATE cupdate
MESSAGES INTO messtab.
l_subrc = sy-subrc.
SKIP.
LOOP AT messtab.
SELECT SINGLE * FROM t100 WHERE sprsl = messtab-msgspra
AND arbgb = messtab-msgid
AND msgnr = messtab-msgnr.
IF sy-subrc = 0.
l_mstring = t100-text.
IF l_mstring CS '&1'.
REPLACE '&1' WITH messtab-msgv1 INTO l_mstring.
REPLACE '&2' WITH messtab-msgv2 INTO l_mstring.
REPLACE '&3' WITH messtab-msgv3 INTO l_mstring.
REPLACE '&4' WITH messtab-msgv4 INTO l_mstring.
ELSE.
REPLACE '&' WITH messtab-msgv1 INTO l_mstring.
REPLACE '&' WITH messtab-msgv2 INTO l_mstring.
REPLACE '&' WITH messtab-msgv3 INTO l_mstring.
REPLACE '&' WITH messtab-msgv4 INTO l_mstring.
ENDIF.
CONDENSE l_mstring.
WRITE: /4 messtab-msgtyp, l_mstring(250).
ELSE.
WRITE: /4 messtab.
ENDIF.
ENDLOOP. -
Parking not possible during batch input
Hello,
Iu2019m facing a problem for creating a parked vendor invoice in background (Tcode FB60 / FV60) thru BDC or BAPI.
I looked for a BAPI and I just found "BAPI_ACC_INVOICE_RECEIPT_POST", for posting FI invoice : it doesnu2019t correspond to our requirements (we need to park).
Then I used "PRELIMINARY_POSTING_DOC_WRITE" for parking an invoice but when we see the parked invoice in FBV2, the displayed Tcode is like FBV1. The users want the vendor invoice header, I mean the same screen as FB60.
Finally, I tried to use Batch Input to park but I got the following message :
"Parking not possible during batch input"
Message no. FP140
Procedure
In Customizing, you can control whether an error message is issued."
I found nothing in IMG about control message
And in sdn forums, some said that bdc doesnu2019t work for an enjoy transaction (MIRO, MIR7, FB60 ..) but we already created a BDC for MIR7 and it works.
Thanks,You can use [CALL TRANSACTION|http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION.htm] like BDC.
via CALL TRANSACTION you may use [bdc options with NOBINPT |http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION_BDC_OPTIONS.htm] so the systeme field sy-binpt will be initial.
You will need to manage the error messages in your program.(no SM35) one solution is to build the BDC for records with errors.
There are many threads on [difference Between Batch Input and Call Transaction in BDC|https://forums.sdn.sap.com/search.jspa?threadID=&q=differenceBatchInputCallTransaction&objID=c42&dateRange=all&numResults=15&rankBy=10001]
Regards,
Raymond -
'S' message in BDC and message of type 'A' in batch input session
We have to upload data for ABZON transaction of assets. When we use LSMW with recording method and try to upload say 3 records. All teh records are updated successfully but the batch input session log says last two records with a message of type 'A' "leave transaction is not possible in batch input"
But when we upload the same data with BDC program with call transaction then teh log shows same message with type 'S'.
what could be the reason for this?
Though data gets uploaded successfully the 'A' message is being displayed in LSMW batch input log.
if anyone has encountered a similar problem pls let us know how to resolve this asap.
Thanks,
SimmiDid your batch input end with save ( /11 ) or what ok_code are you using ?
-
Messages in a batch input session
Hi,
I would like to catch the messages of a batch input session in order to inform user of clearing itens posted and not posted.
So i thought that SX_MESSAGE_TEXT_BUILD would work fine. Somebody can give an example of this kind of code.
Of course if you know another mean of solve the problem i will appreciate that.
Best Regards
João FernandesHi,
loop at i_yerrlog into wa_yerrlog.
v_msg_id = wa_yerrlog-msgid.
v_msg_no = wa_yerrlog-msgnr.
v_msg_var1 = wa_yerrlog-msgv1.
v_msg_var2 = wa_yerrlog-msgv2.
v_msg_var3 = wa_yerrlog-msgv3.
v_msg_var4 = wa_yerrlog-msgv4.
* Creating message text
call function 'MESSAGE_PREPARE'
exporting
msg_id = v_msg_id
msg_no = v_msg_no
msg_var1 = v_msg_var1
msg_var2 = v_msg_var2
msg_var3 = v_msg_var3
msg_var4 = v_msg_var4
importing
msg_text = v_text1.
move-corresponding wa_yerrlog to wa_output2.
move v_text1 to wa_output2-mstxt.
append wa_output2 to i_output2.
endloop.
aRs -
Error message 00 344 : No batch input data for the screen SAPMF02D 0324
Hi Experts,
We are working with SAP CRM 4.0 and SAP R/3 6.20
We have an important number of BDocs (type 'BUPA_MAIN' ) in status E02 with the error message
00 344 : 'No batch input data for the screen SAPMF02D 0324'.
Can any one help us to explain the cause of this message and how to resolve it ??
Thanks you in advance for your help !
Best regards,
Nabil.Any ideas ?
We really appreciate your help ! -
Messages, function modules and Batch Input
Hi,
I need to modify some values on the BP transaction with a batch input and I encapsulated it on a function module, because I need to call this FM from a Web Dynpro ABAP.
The problem is that some success messages are raising from the batch input, even if I set a message table to store them on the call of the batch input.
DATA: bdcdata TYPE STANDARD TABLE OF bdcdata,
wa_bdcdata TYPE bdcdata,
messtab TYPE STANDARD TABLE OF bdcmsgcoll.
DATA: v_message TYPE string,
wa_messtab TYPE bdcmsgcoll,
v_mode TYPE c VALUE 'N'.
" some code here....
CALL TRANSACTION 'BP' USING bdcdata MESSAGES INTO messtab
MODE v_mode
UPDATE 'S'.
How can I prevent these messages? Thanks in advance.
Regards,
JordiYes,
there are some BAPIs to work with BP, but I could not find any that meets my requirements. I need to do two actions:
1 - complete the "Internet user" tab
2 - set the "central lock" flag on the status tab
If you have a BAPI or FM to make these two actions, please let me know. I spent two days looking for them and finally I've decided to use the batch inputs (I hate them).
Regards,
Jordi -
Batch input session Information message
Hi,
Is there any way to display information messages in a batch input session. Suppose I have a batch input session running on a particular transaction.If in a particular screen, I want to display an information message to the user that ' Particular sales order has been created on date xx'. Is it possible.
Thanks &* Regards,
Vishnu PriyaHello,
It is not possible in the Batch input Session.
You can do it by <b>Call transaction</b>. But it not possible to give message at particular screen. Becuase we are only passing screen seq and data for the screen.
Like,
Call transaction Va01.
if something is there,
message I
endif.
regards,
Naimesh -
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 -
Editing is terminated message when running batch input error using lsmw
Any Idea why would I get the info message like
"Editing is terminated message when running batch input error using lsmw"
please suggest where to look at.
Thanks,
Edited by: mark_yellow mark on Jul 1, 2008 3:27 AMHi Mark,
Welcome.
This is lsmw batch input error.while uploading the G/L accounts using the Batch Input process (program name RFBISA00) in LSMW.this error mainly generates...
Fix the error using logs.
thanks
karthik -
Conflicting Error Messages in Batch Input Screen SAPLCOIH 3000
Hi,
Appreciate it if someone could guide me on a small batch input issue I have with the creation of a new work order and attempting to place costs in a specific line of a value category. I am able to work out and try to place the cursor in the field I need (PMCOEA-SKOSTENKGR(8)) but when I run the bactgh input session it comes up with the error message "No batch input data for screen SAPLCOIH 3000". When I try and alter this to throw the screen required I then get the message "Field PMCOEA-SKOSTENKGR(8) does not exist in the screen SAPLCOIH 3000"?
I am confused by this. can any one shed any light on this please?
ThanksHi,
Thanks for your reply. Yes I have also tried both stepping thru the process online and in background with the same outcome. I'm tring to understand whether there is an issue with trying to supply estimated cost details via batch input. All my other screen processing up to this point (including adding all work order header, notifications and long text information) works perfectly and without problem. The batch input tells me to supply this screen but when I do I get a conflicting error that it is not the correct screen. I'm trying to find whether I should be supplying a subscreen instead.
Any further help appreciated.
Thanks -
LSMW : error message when ru batch input
Hi,
i want to integrate some FI docs with LSMW, when i run the Batch input i have this error : Choose valid function.
Any idea to solve that.
full points will be assigned.
RegardsHi Mark,
Welcome.
This is lsmw batch input error.while uploading the G/L accounts using the Batch Input process (program name RFBISA00) in LSMW.this error mainly generates...
Fix the error using logs.
thanks
karthik -
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 -
BDC programming using Batch input Session.
Hello Experts.
I'm an ABAP beginner. I've benn practicing BDC programming using Batch input Session
at the moment.
This is the program that upload Local file which has plural records, and put the records into a Session.
These are the records.
413459,KIM EI HWAN121 ,19810607,MIADONG1234
423459,KIM EI HWAN122 ,19810607,MIADONG1235
433459,KIM EI HWAN123 ,19810607,MIADONG1236
443459,KIM EI HWAN124 ,19810607,MIADONG1237
453459,KIM EI HWAN125 ,19810607,MIADONG1238
463459,KIM EI HWAN126 ,19810607,MIADONG1239
I succeeded making Session.
However, for some reaseon, every record in the Session has got the same, value which is the first record.
Why is this happening? And How can I correct the code below?
REPORT ZBCUSER002_BATCH NO STANDARD PAGE HEADING
LINE-SIZE 255
MESSAGE-ID ZBATCH.
= Types definition ===================================================
TYPES: BEGIN OF TYP_LOCAL, "For Local file upload
RECORD(200) TYPE C,
END OF TYP_LOCAL.
= Internal table definition ==============================================
DATA: BEGIN OF BDC_TAB OCCURS 0. "BDCDATA itab
INCLUDE STRUCTURE BDCDATA.
DATA: END OF BDC_TAB.
DATA: BEGIN OF MESSAGE_BDC OCCURS 0. "Message itab
INCLUDE STRUCTURE BDCMSGCOLL.
DATA: END OF MESSAGE_BDC.
DATA: TBL_LOCAL TYPE STANDARD TABLE OF TYP_LOCAL, "Local file itab
F_TBL TYPE FILETABLE. "FILETABLE fot local
= Structure table definition =========================================
DATA: STR_F_TBL LIKE LINE OF F_TBL, "FILETABLE structure
STR_LOCAL TYPE TYP_LOCAL. "Local file structure
= Variable definition ================================================
DATA: LV_RC TYPE I, "Method parameter
ENUMBER TYPE ZT601-ENUMBER, "Employee number
NAME TYPE ZT601-NAME, "Employee name
BIRTH TYPE ZT601-BIRTH, "Birthday
HOMETOWN TYPE ZT601-HOMETOWN, "Hometown
SYSVAL TYPE SY-SUBRC. "System valuible
= Constants definition ===============================================
CONSTANTS: TBL_NAME(10) TYPE C VALUE 'ZT601'. "Table name ZT601
= Parameters definition ==============================================
PARAMETERS: F_NAME TYPE RLGRAP-FILENAME OBLIGATORY, "File path
EXECMODE(1) TYPE C. "Execute mode
INITIALIZATION
*----- Initialize all valuables, structures and internal tables
CLEAR: LV_RC,
STR_F_TBL,
STR_LOCAL,
ENUMBER,
NAME,
BIRTH,
HOMETOWN.
REFRESH: F_TBL,
TBL_LOCAL.
AT SELECTION-SCREEN
*----- When the button next to Parameter 'F_NAME',
*----- File dialog open.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR F_NAME.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
EXPORTING
WINDOW_TITLE = 'SELECT FILE'
DEFAULT_FILENAME = '*.TXT'
CHANGING
FILE_TABLE = F_TBL
RC = LV_RC
EXCEPTIONS
FILE_OPEN_DIALOG_FAILED = 1
CNTL_ERROR = 2
OTHERS = 3
*----- system valiable check.
*----- If done properly,
*----- Put the path into the File path parameter
IF SY-SUBRC = 0.
READ TABLE F_TBL INTO STR_F_TBL INDEX 1.
F_NAME = STR_F_TBL.
*----- If not done properly, show message
*----- An error occured while getting file path then end program
ELSE.
MESSAGE E000.
ENDIF.
*----- Execute code can only be A or N.
AT SELECTION-SCREEN ON EXECMODE.
IF EXECMODE <> 'A' AND EXECMODE <> 'N'.
MESSAGE E001.
ENDIF.
START-OF-SELECTION
START-OF-SELECTION.
*----- Upload Local file of file path parameter.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = F_NAME
FILETYPE = 'ASC'
TABLES
DATA_TAB = TBL_LOCAL
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
OTHERS = 6.
*----- System valiable check.
*----- If not done properly, show an error message
*----- An error occured while uploading local file then end program
IF SY-SUBRC <> 0.
MESSAGE E002.
ENDIF.
PERFORM BDC_OPEN.
*----- Loop Internal table
LOOP AT TBL_LOCAL INTO STR_LOCAL.
*----- Spilt the file record and put them into each valiable.
SPLIT STR_LOCAL AT ',' INTO ENUMBER
NAME
BIRTH
HOMETOWN.
*----- Data check Function module
CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
EXPORTING
DATE = BIRTH
EXCEPTIONS
PLAUSIBILITY_CHECK_FAILED = 1
OTHERS = 2.
*----- When error occurs while checking date, show an error message.
*----- (&1) is not date
IF SY-SUBRC <> 0.
MESSAGE E003 WITH BIRTH.
ENDIF.
*-- The first screen of SE11
*----- Screen number 0102 of program id SAPMSRD0
PERFORM BDC_DYNPRO USING 'SAPMSRD0' '0102'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RSRD1-TBMA_VAL'. "Field on Cursor
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=SHOW'. "Display button
PERFORM BDC_FIELD USING 'RSRD1-TBMA'
'X'.
PERFORM BDC_FIELD USING 'RSRD1-TBMA_VAL'
TBL_NAME. "ZT601
*-- Table definition screen
*----- Screen number 2000 of program id SAPLSD02
PERFORM BDC_DYNPRO USING 'SAPLSD02' '2000'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'DD02D-TABCLTEXT'. "Field on Cursor
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=TDED'. "Create entry
PERFORM BDC_FIELD USING 'BDC_SUBSCR'
'SAPLSD02'.
PERFORM BDC_FIELD USING 'BDC_SUBSCR'
'SAPLSED5'.
*-- Data input screen
*----- Screen number 0101 of program /1BCDWB/DBZT601
PERFORM BDC_DYNPRO USING '/1BCDWB/DBZT601' '0101'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'ZT601-CRUSER'. "Field on Cursor
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=SAVE'. "Save
PERFORM BDC_FIELD USING 'ZT601-MANDT'
SY-MANDT. "Client
PERFORM BDC_FIELD USING 'ZT601-ENUMBER'
ENUMBER. "Employee number
PERFORM BDC_FIELD USING 'ZT601-NAME'
NAME. "Employee name
PERFORM BDC_FIELD USING 'ZT601-BIRTH'
BIRTH. "Birthday
PERFORM BDC_FIELD USING 'ZT601-HOMETOWN'
HOMETOWN. "Hometown
PERFORM BDC_FIELD USING 'ZT601-CRDATE'
SY-DATUM. "System date
PERFORM BDC_FIELD USING 'ZT601-CRTIME'
SY-UZEIT. "System time
PERFORM BDC_FIELD USING 'ZT601-CRUSER'
SY-UNAME. "System user
*-- Data input screen (After input)
*----- Screen number 0101 of program /1BCDWB/DBZT601
PERFORM BDC_DYNPRO USING '/1BCDWB/DBZT601' '0101'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/EBACK'. "Back
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'ZT601-CRUSER'. "Field on Cursor
*-- Table definition screen]
*----- Screen number 2000 of program SAPLSD02
PERFORM BDC_DYNPRO USING 'SAPLSD02' '2000'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'DD02D-TABCLTEXT'. "Field on Cursor
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=WB_BACK'. "Back
*-- The first screen of SE11
*----- Screen number 0102 of program SAPMSRD0
PERFORM BDC_DYNPRO USING 'SAPMSRD0' '0102'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RSRD1-TBMA_VAL'. "Field on Cursor
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=BACK'.
PERFORM BDC_FIELD USING 'RSRD1-TBMA'
'X'.
PERFORM BDC_FIELD USING 'RSRD1-TBMA_VAL'
TBL_NAME.
PERFORM BDC_INSERT.
ENDLOOP.
PERFORM BDC_CLOSE.
FORM BDC_DYNPRO *
Put Program-Id, Dynpro screen number, Start point
into DBCDATA
--> PROGRAM *
--> DYNPRO *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR BDC_TAB.
BDC_TAB-PROGRAM = PROGRAM.
BDC_TAB-DYNPRO = DYNPRO.
BDC_TAB-DYNBEGIN = 'X'.
APPEND BDC_TAB.
ENDFORM.
FORM BDC_FIELD *
Put Field Name and Value into BDCDATA
--> FNAM *
--> FVAL *
FORM BDC_FIELD USING FNAM FVAL.
CLEAR BDC_TAB.
BDC_TAB-FNAM = FNAM.
BDC_TAB-FVAL = FVAL.
APPEND BDC_TAB.
ENDFORM.
FORM bdc_process *
FORM BDC_OPEN.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = 'Testsession'
KEEP = 'X'
USER = SY-UNAME.
IF SY-SUBRC <> 0.
MESSAGE E006 WITH SY-SUBRC.
ENDIF.
ENDFORM.
FORM bdc_insert *
FORM BDC_INSERT.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'SE11'
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 E007 WITH SY-SUBRC.
ENDIF.
CLEAR: BDC_TAB.
ENDFORM.
FORM bdc_close *
FORM BDC_CLOSE.
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
NOT_OPEN = 1
QUEUE_ERROR = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE E008 WITH SY-SUBRC.
ENDIF.
ENDFORM.God I forgot to refresh Internal table after putting record into Session.
Now I'm done.
You guys be careful too. -
No batch input data for screen for VF01
Hi All,
Iam trying to to create billing document using BDC for VF01 with sales order. For single line item it is working fine and that to in Mode 'A'. But while creating invoices using multiple sales orders , Iam getting the following error.
No batch input data for screen 'SAPMV60A' '0102' . Error - 0344.
Kindly help me as I was strucked here.
My code .
PERFORM bdc_dynpro USING 'SAPMV60A' '0102'.
PERFORM bdc_field USING 'BDC_CURSOR'
'KOMFK-VBELN(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'KOMFK-VBELN(01)'
gwa_bdc-vbeln.
PERFORM bdc_dynpro USING 'SAPMV60A' '0104'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBRK-FKART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMV60A' '0104'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBRK-FKART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SICH'.
REFRESH messtab[].
CALL TRANSACTION 'VF01' USING bdcdata
OPTIONS FROM wa_options
MESSAGES INTO messtab.
Please <removed by moderator> help.
Thanks ,
Srikanth.A
Edited by: Thomas Zloch on Sep 15, 2011 1:47 PMHi Jurgen
LOOP AT git_bdc INTO gwa_bdc.
refresh messtab[].
PERFORM bdc_dynpro USING 'SAPMV60A' '0102'.
PERFORM bdc_field USING 'BDC_CURSOR'
'KOMFK-VBELN(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'KOMFK-VBELN(01)'
gwa_bdc-vbeln.
PERFORM bdc_dynpro USING 'SAPMV60A' '0104'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBRK-FKART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMV60A' '0104'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBRK-FKART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMV60A' '0104'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBRK-FKART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SICH'.
REFRESH messtab[].
CALL TRANSACTION 'VF01' USING bdcdata
OPTIONS FROM wa_options
MESSAGES INTO messtab.
Error message population....
REFRESH bdcdata[].
ENDLOOP.
Thanks,
Srikanth.A
Maybe you are looking for
-
In a Regular expressions I can set up an "OR" statement?
HI, I'm using e-tester version 8.2..My problem is about regular expessions. I need to catch a dynamic value from a Form Field (My-TxtBox).. this textbox gets pre populated data ( when the customer has info in the database).. this is the code: *<input
-
Previous GB songs are greyed out
all my hundreds of GB songs projects are now greyed out... no reason, nothing new done... just one day pooof... thanks GB... and BTW really hate that they changed the master tracks mix modules. Just when I get to using the previous master track modul
-
HT204088 in-app purchases do not work anymore
does anyone know how to solve this?
-
I have a PXI-1042 with PXI-MXI-3 interface kit. In the chassis I have inserted an OEM PXI module. When I run MAX, all I see is PXI System->PXI Bus 0->PXI0::MEMACC. Is this correct? How do I see the other modules?
-
Compare of double after division
HI! Plese see attached VI. I divide two doubles and compare the result with another double. This works for low numbers but if the result of the division is for example 1000.00 (4.5/4.5e-3)the greater as function (compared with 1000.00) provides true