‎2011 Apr 16 8:14 AM
Hi Sap Gurus,
I am doing Bdc call Transaction for Material Master Uploading.
But After Entering data for 4-5 screen i got a error_
Field Mara-iprkz doesn,t exit in the screen saplmgmm 4000
Field Mara-prctr doesn,t exit in the screen saplmgmm 4000
Field Mbew-stprs doesn,t exit in the screen saplmgmm 4000
Field Marc-mtvfe doesn,t exit in the screen saplmgmm 4000
Enter Valuation class.
This is my Programme....................................
<removed by moderator>
Thanks in advance.
Arindam
Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.
Edited by: Thomas Zloch on Apr 16, 2011 9:29 PM
‎2011 Apr 16 9:35 AM
Sorry for my obvious answer, but you should ask a more precise question.
Your errors are that you try to enter fields but they don't exist, so it sounds logic.
And the error "Enter Valuation class." means that the field is mandatory. So you must enter it.
Re-record the transaction using SHDB (eventually play with the http://wiki.sdn.sap.com/wiki/display/ABAP/Recordduringplay), run it in A display mode, and correct your program.
Sandra
perform bdc_dynpro using 'SAPLMGMM' '4000'.
...
perform bdc_field using 'MVKE-SKTOF'
'X'.
...
perform bdc_dynpro using 'SAPLMGMM' '4000'.
...
perform bdc_field using 'MARC-PRCTR'
wa_mara-prctr."'MUMBAI'.
...
perform bdc_dynpro using 'SAPLMGMM' '4000'.
...
perform bdc_field using 'MARA-IPRKZ'
'D'.
...
‎2011 Apr 16 9:35 AM
Sorry for my obvious answer, but you should ask a more precise question.
Your errors are that you try to enter fields but they don't exist, so it sounds logic.
And the error "Enter Valuation class." means that the field is mandatory. So you must enter it.
Re-record the transaction using SHDB (eventually play with the http://wiki.sdn.sap.com/wiki/display/ABAP/Recordduringplay), run it in A display mode, and correct your program.
Sandra
perform bdc_dynpro using 'SAPLMGMM' '4000'.
...
perform bdc_field using 'MVKE-SKTOF'
'X'.
...
perform bdc_dynpro using 'SAPLMGMM' '4000'.
...
perform bdc_field using 'MARC-PRCTR'
wa_mara-prctr."'MUMBAI'.
...
perform bdc_dynpro using 'SAPLMGMM' '4000'.
...
perform bdc_field using 'MARA-IPRKZ'
'D'.
...
‎2011 Apr 16 11:57 AM
Thanks For your reply.....................
My Flat file is in Excel format............
I am using citrix webinterface.....
I got excel file but in my program i m using BDC_UPLOAD function Module.................
But when i m executing the programm it's transfer me to server desktop?
How do i solve this Problem?
thanks in advance..
‎2011 Apr 16 1:26 PM
I don't understand. Your issue was with the messages. Why are you talking about file upload, which is not related to batch input at all... Why do you use BDC_UPLOAD?
Sandra
‎2011 Apr 16 2:11 PM
Sorry For Last Message....................
Actually I am using Gui_Upload FM For Call Transaction Programme............
When i Execute the programm it will take me to server's Desktop......Though I am using Citrix Web Interface from My Desktop.
‎2011 Apr 16 2:56 PM
Please, explain more in details :
1) what is the relationship between your batch input error and the file upload????
2) Should I still focus on the batch input or forget it????
If you don't answer, I don't see how I can help as I understand nothing of the context!
PLEASE BE CLEAR !
‎2011 Apr 18 11:40 AM
Hi,
FM GUI_UPLOAD is used to upload the file from presentation server.
If you want to upload the file from application server then use OPEN DATASET, READ, CLOSE DATASET...
Regards
Praveen