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

BDC Issues in MIRO Tcode

Former Member
0 Likes
4,995

Hi All,

i am try below bdc code for using update payments baseline date

PERFORM bdc_dynpro      USING 'SAPLMR1M' '6000'.

   PERFORM bdc_field       USING 'BDC_OKCODE'

                                 '=HEADER_PAY' .

   PERFORM bdc_field       USING 'INVFO-ZFBDT'

                                  lv_bldat .

but it's not working... below error are appearing..pls help me any one.

Field INVFO-ZFBDT.does not exist in the screen SAPLMR1M 6000.

Regards,

Nivas.M

12 REPLIES 12
Read only

Former Member
0 Likes
3,412

Have you done the recording? Check the screen number. if that is correct, the screen or field might not exist or batch input

Read only

0 Likes
3,412

Hi srikar,

i done the recording in shdb..that recording click the process and check same error is appearing.

Field INVFO-ZFBDT.does not exist in the screen SAPLMR1M 6000

pls Check  miro-> payment tab ->baseline date and help me.

Regards,

Nivas.M

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,412

You could consider

- Executing the BDC in 'E' or 'A' mode to understand,

- Recording once again MIRO transaction with SHDB, (Seems you put the function code to display the payment subscreen and the value to input in this subscreen in same dynpro execution, cannot be correct, you need two bdc_dynprio call)

- Switching to a BAPI like BAPI_INCOMINGINVOICE_CREATE or CHANGE.

Regards,

Raymond

Read only

Former Member
0 Likes
3,412

Hi Nivas,

MIRO is an Enjoy transaction.BDC is not preferable .Use FM

BAPI_INCOMINGINVOICE_CREATE

Check the examples given in this link:   http://scn.sap.com/thread/920118

coming to your error it is showing field does not exist try to do recording once again.

Read only

0 Likes
3,412

Hi ,

For enjoy SAP Transaction BDC is not preferred , BDC will not be processed in the Backgrount . Try to find any alternative for  that . Check if another transaction is available or any BAPI is available to do that .

Suvendu Chakraborty

Read only

Former Member
0 Likes
3,412

Hi Nivas,

Check this Note 381593 - MIRO/MIR7/MIRA: Batch Input is not possible.

Regard's

Smruti

Read only

satyabrata_sahoo3
Contributor
0 Likes
3,412

MIRO is a SAP Enjoy T-code which will not work well in BDC.

Try BAPI for MIRO like BAPI_INCOMINGINVOICE_CREATE, BBP_INVOICE_CREATE etc.

-Satya

Read only

Former Member
0 Likes
3,412
Read only

former_member193464
Contributor
0 Likes
3,412

Even if MIRO is an enjoy transaction but BDC is still possible , however not recommended ..
Eeven Standard Open text uses a background BDC call to MIRO for incoming invoice (in E mode)...

You can also try running with A mode and see in foreground and see what exactly is the error or deviation from your recording screens..
else you have BAPI_INCOMINGINVOICE_CREATE...

Read only

0 Likes
3,412

Hi Nivas,

Is the above code mention by you is the only piece of code you have written as same problem occured to be in some FI transaction for that I found out I was by mistakenly setting some indicator which should not be set.

Regards,

Deepak Jain.

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
3,412

Hi Nivas,

MIRO is a Enjoy Transaction. I wont suggest you to rewrite all the code in the BAPI FM since you have already written a BDC for it.

I would suggest try this in the CTU_PARAMS of your BDC Program. This will avoid the Batch-Input and field errors which you are getting now.

Pass the Flag X to CTU_PARAMS - No_BatchInput and Simulate in Back ground.

This needs to be done while recording and as well as in the Program CTU_PARAMS. No Batch Input will make the Scree Static and Simulate in Background will make the BDC to work well in Background jobs as well.

For simple test to believe me, Open XD01 and Try the BDC with CTU_PARAMS-NO_BATCH as "X" and without "X" you can see the result in the Recording itself.

Hope this helps.

Read only

Former Member
0 Likes
3,412

perform bdc_dynpro      using 'SAPLMR1M' '6000'.
perform bdc_field       using 'BDC_OKCODE'
                               '/00'.
perform bdc_field       using 'INVFO-ZFBDT'
                               ZFBDT.