Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error While Uploading Material Master Through Bdc Call Transaction

Former Member
0 Likes
1,675

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

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,290

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'.
...

6 REPLIES 6
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,291

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'.
...

Read only

0 Likes
1,290

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..

Read only

0 Likes
1,290

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

Read only

0 Likes
1,290

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.

Read only

0 Likes
1,290

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 !

Read only

0 Likes
1,290

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