Batch input suppressing the success message
Hi,
I am using the program RFBIBL00 to create some accounting documents in lsmw. Once, the batch is created and i am trying to run that batch in sm35 in background, i am getting the message that 'Field BSEG-DMBTR. does not exist in the screen SAPMF05A 0301'. But, when i run in foreground, after this message it is going to next screen and accounting document is being created. Please let me know a solution so that I can run the batch in background.
Regards,
Nikhil
Hi Nikhil,
In fore ground u may pressing enter after this message. Am i correct?
If so then try code one explicit enter after populating this field in BDCDATA table.
OK code might be \00.
i.e while populating bdcdata after populating this field BSEG-DMBTR populate next record as BDC_OKCODE with value \00.
Not sure whether this is exact solution. But just give a try.
Thanks,
Vinod.
Similar Messages
-
How to change the Success Message for Personal Data Screen in ESS
Hi,
While saving the Personal Data in the ESS I want to chage the Success message.When I check the DC , Message Class i am not able to find the the particular string.Can any one please guide how to find the Success Message String for this Personal Data Screen or Which BAPI I have to check .
Regards
AlexiHi iidhya ,
Please find the code below
public boolean onEvent( )
//@@begin onEvent()
String event = fpm.getEventData().getEventName();
if (event.equals(IFPM.EVENT_ADD)){
wdThis.wdGetFcPersInfoInterface().setModeForCreate(selectedSubtype);
}else if(event.equals(IFPM.EVENT_EDIT)){
wdThis.wdGetFcPersInfoInterface().setModeForEdit(wdThis.wdGetFcPersInfoInterface().getSubtypevalue(selectedRecord));
}else if(event.equals(IFPM.EVENT_REMOVE)){
wdThis.wdGetFcPersInfoInterface().setModeForDelete(wdThis.wdGetFcPersInfoInterface().getSubtypevalue(selectedRecord));
return true;
//@@end
Regards
Alexi -
How shall I get the success message when I do BDC for Trans.9KE0?
Hello, everybody!
When I do BDC for Tcode 9KE0, which does PCA documents re-posting, I use statement as below:
CALL TRANSACTION '9KE0' USING bdcdata MODE p_mode
MESSAGES INTO itmsg.
What I want to do is to get all messages in the ITAB "itmsg". But it's strange that I can't get the message to specify the document number when the document has already been successfully created. But I get the success message if I post it 9KE0 in forground instead of BDC.
Is there any bug in my bdc program or in the standard function of 9KE0?
Thanks
regards,
Jialu ShenHi Jialu
I faced the same problem.
Please use
CALL TRANSACTION '9KE0' USING BDCDATA
OPTIONS FROM W_OPTIONS
MESSAGES INTO MESSTAB.
W_OPTIONS-RACOMMIT = 'X
Best Regards
Naresh -
How to suppress the Warning messages while doing GR(MIGO)
Hi ALL,
I have a requirement while posting goods GR/GI using T-code MIGO.
Trying to do GR against PO using MIGO.After selecting the line item quantity and entering BATCH Number for line item Material when I click on 'CHECK' Pushbutton i am Getting the below Warning msg
'For batch RAB001 of material 1522582, no class could be determined'. Message no M7207.
How to suppress this above warning message, I want to Post the goods by suppressing the above warning message .
Like similarly while issuing the goods to the to the Production order using MIGO i am getting warning message when I click on 'CHECK' Pushbutton.
I do want to issue the goods by suppressing warning message in this case also.
I know this could be solved by customization but we are dealing with batch managed materials.
How to suppress the the above warning messages in MIGO through ABAP coding ...
Looking forward the helpfull answer.
Regards,
venkyHi
Answer is pure assumption.
Pls check the following OSS notes
Note 319094 - Warning message during batch classification in IM
Note 122937 - UD: Error message M7207 when you save
Note 399416 - Message M7207 not analyzed in background
Note 786755 - You cannot suppress message M7 207
Note 201196 - MIGO: Error M7207 for goods receipt for batch
Pls take opinion from SAP / Basis before implementing the OSS note
Regards
Madhan D -
Hello Everyone,
I have a kind of problem with running BDC transaction. I donu2019t know how get rid off success status message. I run MD03 transaction. Like this:
PERFORM bdc_transaction TABLES messtab USING 'MD03' ctu mode update.
Where CTU is set to u2018Xu2019 MODE is set to u2018Nu2019 and UPDATE is set to u2018Lu2019. As you can see table for collecting messages is also given. But in the end system displays the green message in status bar although I really donu2019t want. Iu2019ve looked through the network but found nothing. The program that call the BDC transaction works in foreground. Itu2019s a customer Z program which among the others does also this.
Is there anything I could do?
Regards
PawelI am not quite sure about it. The form BDC_TRANSACTION is the SAP standard form used with BDC recording.
FORM BDC_TRANSACTION TABLES P_MESSTAB
USING P_TCODE
P_CTU
P_MODE
P_UPDATE.
DATA: L_SUBRC LIKE SY-SUBRC.
IF P_CTU <> 'X'.
CALL FUNCTION 'BDC_INSERT'
EXPORTING TCODE = P_TCODE
TABLES DYNPROTAB = BDCDATA
EXCEPTIONS OTHERS = 1.
ELSE.
CALL TRANSACTION P_TCODE USING BDCDATA
MODE P_MODE
UPDATE P_UPDATE
MESSAGES INTO P_MESSTAB.
ENDIF.
L_SUBRC = SY-SUBRC.
REFRESH BDCDATA.
SY-SUBRC = L_SUBRC.
ENDFORM.
So as you can see the transaction is being called exactly in the way you told me to. Unfortunately
Edited by: Pawel Kobylinski on Sep 1, 2010 3:21 PM -
Suppress the Information message during BAPI Call
Hi, I am getting the information message pop up during the BAPI Call "BAPI_BUS2054_CREATE_MULTI". Is there any possiblity to suppress the message?
Hi,
use call function with destination. Here is a short example:
REPORT zhabitest.
DATA:
et_return LIKE bapiret2 OCCURS 0.
CALL FUNCTION 'ZTEST'
DESTINATION 'NONE'
TABLES
et_return = et_return.
DATA:
ele_return LIKE bapiret2,
rc LIKE sy-subrc.
CLEAR rc.
LOOP AT et_return INTO ele_return.
IF ( ele_return-type = 'E' ) "error
OR ( ele_return-type = 'A' ). "abort
rc = 8.
EXIT.
ENDIF.
ENDLOOP.
IF rc IS INITIAL.
WRITE: / 'Call OK'.
ELSE.
WRITE: / 'Call error'.
ENDIF.
And the function is here:
FUNCTION ztest.
*"*"Lokale Schnittstelle:
*" TABLES
*" ET_RETURN STRUCTURE BAPIRET2 OPTIONAL
MESSAGE i208(00) WITH 'Separate I/O and processing!'.
GET TIME.
DATA:
ele_return TYPE bapiret2.
* return error randomly
IF sy-uzeit+5(1) CA '13579'.
ele_return-type = 'E'.
APPEND ele_return TO et_return.
ENDIF.
ENDFUNCTION.
Pay attention to the documentation of call with destination (db commit).
Regards
Walter Habich -
How to display success message when data is changed in the custom tab in MM
Hi,
I have added a new custom data tab in the MM01/MM02/MM03 transactions. Whenever I do changes to fields in the custom tab in MM02 transaction, and no changes in the standard tabs, I will get a message stating "No Changes Made".
But if I do changes in the standard tabs, it works as usual with display of message "Changes to particular material has been done.
Please let me know, if anyone of you know, how to display the success message if the changes to the custom tab is done.
Thanks in advance,
sudhanvaHi Sudhanva,
The exit EXIT_SAPLMGMU_0001 is a function exit that you can use for custom validation but not to add custom tab/screen.
But the message issued by SAP is not related to this Function Exit.
If you have used a Screen Exit, then there must be some Function Exits also in the same Enhancement using which you can assign the value of custom fields to/from the standard structure. Thus when the value of any custom field is changed the system can understand that the some changes have been changed and will not issue the message.
In case you have used a BADI, there can be other methods in the BADi using whcih you can assign the value of custom fields to/from the standard structure. This might also prevent the message from being displayed.
I could try giving you further details if you can provide the name of the Enhancement/BADi that you used to add the additional tab.
Hope this helps.
Regards,
Abhisek. -
Can I change the position of "process success message"?
Hello all,
I've looked around the forum but can't seem to find away to control the position of the "process success message" that displays when an update is made in a page process.
The message appears to be centered on the page, however because I have a region with a lot of columns the user will have to scroll to the right to see the "Update Successful" message that is returned from the process.
Does anyone know how to Left Align this message on the page?
Thanks for the help!Thanks for the help!
I was able to left align the message by modifying the page template. In my case it was the template for "One Level Tabs"
I changed the following section in Body the body, I change the align from "center" to "left"...
<td class="t3PageBody"><div class="t3Messages" align="left">#GLOBAL_NOTIFICATION##NOTIFICATION_MESSAGE#Interestingly enough it did not work for me to change the Success Message in the Subtemplate section. -
How to display Success Message on the Left side of Screen
I am displaying a Process Success Message after the ApplyMRU process, *#MRU_COUNT# row(s) updated*. By default, this message is displayed at the center of the screen. I would like to display this message at the left hand side of the screen.
I am using APEX 4.0; Theme Sand - 10. I have tried changing the alignment for the success message position in the Page Template – One Level Tabs, HTML Body section. But I am not having any luck.
Does anyone know how to change/override the default position for the success message?
ThanksAndy,
I tried what you suggested and the success message is still being displayed in the center of the page.
I went to Template --> Page --> One Level Tabs. In the Header, I put the following lines before the </head>
<style type="text/css">
.t10messages {text-align:left;}
</style>
</head>
<body #ONLOAD#>
#FORM_OPEN#
I do not have any other custom CSS. Just strictly using Theme 10 - Sand
Any ideas on what else could be the reason?
Thanks,
DP
Sorry for the delayed response - out for holidays. -
How to get the session name of a batch input
hi everybody
does anybody know how to get the session name of a batch input?
I have to put the name of the session at the end of my program so that the user can click on the session name to go directly to SM35 to run the batch input when the program endsHi sia,
1. Table is APQI
2. field name for session name is GROUPID
regards,
amit m. -
Suppressing the message generated by standard SAP code
Hi experts,
I have requirement in which i have to suppress the warning message generated by standard SAP code.Is it possible?
If so how?
Any pointers will be highly appreciated.
Thanks,
RakshithHi,
Check with the functional consultant. There might be a config transaction, wherein you can specify the type of error whether Harderror' or warning etc.
I know, Fi and MM has that.
Regards,
Subramanian -
Restrating the successfully processed messages------Not Working
Hi All,
i have Followed this Blog and Copied that STD program to Z program After that
Commented those Two mentioned lines in the Report also and activated
/people/michal.krawczyk2/blog/2005/11/09/xi-restarting-successfully-processed-messages
While Executing the Report in Se38 by proving the Message ID, iam getting this Error
Selected message does not exist (any more)
Regards
Suman
Edited by: Suman gupta on May 9, 2008 9:49 AMHey
>>Selected message does not exist (any more
This is the issue,you don't have that message anymore hence you can't resend it(it does not matter if its successful or un-successful).
when you normally try to send the successful message(without changing the ABAP code,you should get a message as below
"You cannot restart XML message <MessageID> with this status/type"
try to send another message and see if its successful and then modify the ABAP code and resend that successful message.
Thanx
Aamir -
Is it possible to maintain a view vai Batch Input
Hi guys,
The user required to develop a BDC program to upload the data source from outside of SAP, and maintain these data into a view via Tcode: SM34. But it seems the view doesn't support Batch input.....
Can anybody tell me, is it possible to maintain a view via Batch input? Many thanks!
Brian LiuAdditional information:
This requirement is to upload the Overhead Rate data from outside of SAP, and maintained via KZM2 or SM34. But when I tried to record a BDC for KZM2, it seems that the SAP can not support batch input.
I find a SAP note 208474, it says:
Symptom
Overhead rates of the costing sheet of the overhead rates, which have been created, changed or deleted via batch input or Call Transaction, are not saved.
The same rates are saved if processing is carried out via Transaction KZZ2 or the Implementation Guide IMG.
Cause and prerequisites
Processing the Customizing transactions for maintaining the overhead rates of the costing sheet (Transaction KZZ2, KZM2) is
not supported in the batch input. This corresponds to the SAP standards according to which Customizing transactions in general need not necessarily be capable of batch input.
The batch input data of the overhead rates are not saved in the standard because processing is terminated by a COMMIT WORK. This statement ensures that the internal tables for the transport of the overhead rates are only deleted if their transfer to the database tables to be transported has been processed successfully.
Solution
The subsequent modification allows batch input processing of the overhead rates, by suppressing the COMMIT WORK statement. As a result of the modification, the tables in the transport request of the overhead rates may be incomplete in single cases.
In cases where the overhead rates have not been transferred completely to the target system after implementation of the modification, include the overhead rates again in a transport request, repeat the transport and, if necessary, subsequent processing.
Note that the attached modifications are not and will not be included in the R/3 standard system.
I modified the sap standard program L0COEF04 according to another SAP note 150041, but after the modification, I still couldn't record the BDC.
Anybody who have ever met the same situation, or can give me some suggestion? With many thanks!
Brian Liu -
Batch Input Session for Errors
Hello
I'm running a Batch Input (in a FM) and I want to create a session for records with errors. In case of error (output parameter of the FM subrc NE 0) I send it to that session for later running.
Can you explain how do I do this? Thanks!hi,
Look at the sample program
REPORT Z_BDC_CUSTOMER_R07
NO STANDARD PAGE HEADING LINE-SIZE 255.
INCLUDE Z_CUSTOMER_BDC_R02.
*-----AT SELECTION-SCREEN
AT SELECTION-SCREEN.
IF SY-UCOMM = 'ONLI'.
*-----group and user must be filled to create a session
IF SESSION = 'X' AND
GROUP = SPACE OR USER = SPACE.
MESSAGE E613(MS).
ENDIF.
*----Presentation File name should be entered
IF SESSION = 'X' AND RB_PRE = 'X'
AND P_FILE = '' .
MESSAGE E004(ZROJA).
ELSEIF CTU = 'X' AND RB_PRE = 'X'
AND P_FILE = '' .
MESSAGE E004(ZROJA).
ENDIF.
*----Application File name should be entered
IF SESSION = 'X' AND RB_APP = 'X'
AND P_FILE_A = '' .
MESSAGE E004(ZROJA).
ELSEIF CTU = 'X' AND RB_APP = 'X'
AND P_FILE_A = '' .
MESSAGE E004(ZROJA).
ENDIF.
ENDIF.
*-----AT SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN OUTPUT.
*----When file from Presentation server is selected
IF RB_PRE = 'X'.
*----To make the application server inactive
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'AAA'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
*----When file from Presentation server is selected
RB_APP = 'X'.
*----To make the application server inactive
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'BBB'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
*-----AT SELECTION-SCREEN ON VALUE-REQUEST
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE_A.
CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
EXPORTING
I_LOCATION_FLAG = 'A'
I_SERVER = ' '
FILEOPERATION = 'R'
IMPORTING
O_PATH = P_FILE_A
EXCEPTIONS
RFC_ERROR = 1
ERROR_WITH_GUI = 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.
*-----AT SELECTION-SCREEN ON VALUE-REQUEST
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
*-----Function module for value-request
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
IMPORTING
FILE_NAME = V_FILE_NAME.
*----Assigning the flatfile to parameter
P_FILE = V_FILE_NAME.
*-----START-OF-SELECTION
START-OF-SELECTION.
DATA: FILENAME TYPE STRING.
*----When file from Presentation Server is selected
IF RB_PRE = 'X'.
FILENAME = P_FILE.
*-----Function module to upload data from the presentation server
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = FILENAME
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = IT_KNA1
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ELSE.
*----Upload the File from Application Server
OPEN DATASET P_FILE_A FOR INPUT IN TEXT MODE ENCODING DEFAULT.
*-----to display an error if the file is not in application server
IF SY-SUBRC NE 0.
MESSAGE E006(ZROJA).
ELSE.
DO.
READ DATASET P_FILE_A INTO X_KNA1.
IF SY-SUBRC EQ 0.
APPEND X_KNA1 TO IT_KNA1.
ELSE.
EXIT.
ENDIF.
ENDDO.
ENDIF.
CLOSE DATASET P_FILE_A.
ENDIF.
*-----To open a batchinput session
IF SESSION = 'X'.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = GROUP
KEEP = KEEP
USER = USER
PROG = SY-CPROG
EXCEPTIONS
CLIENT_INVALID = 1
DESTINATION_INVALID = 2
GROUP_INVALID = 3
GROUP_IS_LOCKED = 4
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.
ENDIF.
*-----Filling the BDCDATA using the Internal Table
LOOP AT IT_KNA1 INTO X_KNA1.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '0100'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RF02D-KTOKD'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'RF02D-KUNNR'
X_KNA1-KUNNR.
PERFORM BDC_FIELD USING 'RF02D-KTOKD'
X_KNA1-KTOKD.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '0110'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'KNA1-SPRAS'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'KNA1-NAME1'
X_KNA1-NAME1.
PERFORM BDC_FIELD USING 'KNA1-SORTL'
X_KNA1-SORTL.
PERFORM BDC_FIELD USING 'KNA1-ORT01'
X_KNA1-ORT01.
PERFORM BDC_FIELD USING 'KNA1-PSTLZ'
X_KNA1-PSTLZ.
PERFORM BDC_FIELD USING 'KNA1-LAND1'
X_KNA1-LAND1.
PERFORM BDC_FIELD USING 'KNA1-SPRAS'
X_KNA1-SPRAS.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '0120'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'KNA1-LZONE'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'KNA1-LZONE'
X_KNA1-LZONE.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '0125'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'KNA1-NIELS'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '0130'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'KNBK-BANKS(01)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '0340'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RF02D-KUNNR'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '0370'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RF02D-KUNNR'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
PERFORM BDC_FIELD USING 'KNA1-CIVVE'
'X'.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '0360'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'KNVK-NAMEV(01)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
*----If Session is selected
IF SESSION = 'X'.
*----To insert data into batch input session
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'XD01'
TABLES
DYNPROTAB = IT_BDCDATA.
REFRESH IT_BDCDATA.
AT LAST.
SKIP.
WRITE:/ TEXT-001.
ENDAT.
ELSE.
*----Calling the transaction
CALL TRANSACTION 'XD01' USING IT_BDCDATA
MODE CTUMODE
UPDATE CUPDATE
MESSAGES INTO IT_BDCMSGCOLL.
CLEAR IT_BDCDATA.
REFRESH IT_BDCDATA.
ENDIF.
ENDLOOP.
*----If Session is Selected
IF SESSION = 'X'.
*----To close the session
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.
ENDIF.
*-----END-OF-SELECTION
END-OF-SELECTION.
*----To display the success messages
LOOP AT IT_BDCMSGCOLL INTO X_BDCMSGCOLL WHERE MSGTYP = 'S' .
*-----If Message Type Differs
ON CHANGE OF X_BDCMSGCOLL-MSGTYP.
WRITE:/ TEXT-002.
SKIP.
ULINE (58).
WRITE:/01 SY-VLINE,02 TEXT-003,
14 SY-VLINE,15 TEXT-004,
21 SY-VLINE,22 TEXT-005,
35 SY-VLINE,36 TEXT-006,
58 SY-VLINE,/01 SY-ULINE(58).
ENDON.
WRITE:/01 SY-VLINE,02 X_BDCMSGCOLL-MSGTYP,
14 SY-VLINE,15 X_BDCMSGCOLL-TCODE,
21 SY-VLINE,22 X_BDCMSGCOLL-MSGV1,
35 SY-VLINE,36 TEXT-007,
58 SY-VLINE,/01 SY-ULINE(58).
ENDLOOP.
SKIP 2.
*----To display the error messages
LOOP AT IT_BDCMSGCOLL INTO X_BDCMSGCOLL WHERE MSGTYP = 'E'.
*-----If Message Type Differs
ON CHANGE OF X_BDCMSGCOLL-MSGTYP.
WRITE:/ TEXT-008.
SKIP.
ULINE (58).
WRITE:/01 SY-VLINE,02 TEXT-003,
14 SY-VLINE,15 TEXT-004,
21 SY-VLINE,22 TEXT-005,
35 SY-VLINE,36 TEXT-006,
58 SY-VLINE,/01 SY-ULINE(58).
ENDON.
WRITE:/01 SY-VLINE,02 X_BDCMSGCOLL-MSGTYP,
14 SY-VLINE,15 X_BDCMSGCOLL-TCODE,
21 SY-VLINE,22 X_BDCMSGCOLL-MSGV1,
35 SY-VLINE,36 'Customer Already Exits',
58 SY-VLINE,/01 SY-ULINE(58).
ENDLOOP.
*-----FORM fill_bdcdata
FORM FILL_BDCDATA USING L_DYNPRO TYPE ANY
L_FNAME TYPE ANY
L_FVALUE TYPE ANY.
CLEAR X_BDCDATA.
IF L_DYNPRO = 'X'.
X_BDCDATA-DYNBEGIN = 'X'.
X_BDCDATA-PROGRAM = L_FNAME.
X_BDCDATA-DYNPRO = L_FVALUE.
ELSE.
X_BDCDATA-FNAM = L_FNAME.
X_BDCDATA-FVAL = L_FVALUE.
ENDIF.
APPEND X_BDCDATA TO IT_BDCDATA.
ENDFORM. "BDC_FIELD
*-----Start new screen
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR IT_BDCDATA.
IT_BDCDATA-PROGRAM = PROGRAM.
IT_BDCDATA-DYNPRO = DYNPRO.
IT_BDCDATA-DYNBEGIN = 'X'.
APPEND IT_BDCDATA.
ENDFORM. "BDC_DYNPRO
*-----Insert field
FORM BDC_FIELD USING FNAM FVAL.
IF FVAL <> SPACE.
CLEAR IT_BDCDATA.
IT_BDCDATA-FNAM = FNAM.
IT_BDCDATA-FVAL = FVAL.
APPEND IT_BDCDATA.
ENDIF.
ENDFORM. "BDC_FIELD -
NO BATCH INPUT DATA FOR SCREEN SAPMV50A ERROR FROM BDC
HI
I get the following error when my program runs inforeground, using a BDC(VL02N)- 'NO BATCH INPUT DATA FOR SCREEN SAPMV50A SCREEN 1000.'
i am trying to attach a serial number to the sales order and it seems that the warning message is causing the error. i have recorderd the transaction to death, and as mentioned, when i run in debug mode, it works fine.
Can anyone tell me how i can overcome\suppress the warning message? i have inserted 2 okcodes before the warning is Issued and that did not help Please see below for an excerpt of the coding:.
PERFORM bdc_dynpro USING 'SAPLIPW1' '0200'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RIPW0-SERNR(01)'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_field USING 'BDC_OKCODE' '=RWS'.
PERFORM bdc_field USING 'RIPW0-SERNR(01)' itab_chas_data-chas_no .
PERFORM bdc_dynpro USING 'SAPMSSY0' '0120'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_field USING 'BDC_OKCODE' '=ENTE'.
PERFORM bdc_dynpro USING 'SAPLIPW1' '0200'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RIPW0-SERNR(01)'.
PERFORM bdc_field USING 'BDC_OKCODE' '=RWS'.
Thanks a Million..Hi,
Try this link.
No batch input data for screen SAPMP50A 1000
Thank you,
Maybe you are looking for
-
Hi I have a proble with this method, the program is this, and the proble is the decimals when i use de method to pass the prel structure to other, because when the prel structure have decimals don't pass this parameters correctly, can you help me ple
-
ORACLE 11g silent installation
Guys, I tried silent installation using ORACLE 11.2.0.2 on ORACLE ENTERPRISE LINUX 5. ./runInstaller -silent -response "/vm/db_install.rsp" getting error as below... usage: -silent For silent mode operations, the inputs can be a response file or a li
-
Does anyone have the "flickering/blinking" screen while using the laptop? I also used the stress test and nothing has found. Thinkpad w510 Core i7 Q820 @1.73GHz 8GB ram Windows 7 64bit
-
Hello all, I have a first gen 17" Macbook Pro (Intel Core Duo), and I would love to play around more with digital art, and have flexibility with drawing, editing photographs, using Photoshop etc (for digital art and web page design). I'm looking to g
-
I want the old iTunes App back!
Hi, I'm using Windows XP and for years I've had no problem with the iTunes App. Either on my PC or synching with my iPhone. Now this new Version 11 will not allow me to get into the iTunes Stores. (Yes, I have v11.01.12) I can play music but not get