ā2013 Jun 03 9:04 AM
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
ā2013 Jun 03 9:57 AM
Have you done the recording? Check the screen number. if that is correct, the screen or field might not exist or batch input
ā2013 Jun 03 12:15 PM
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
ā2013 Jun 03 10:00 AM
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
ā2013 Jun 03 10:05 AM
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.
ā2013 Jun 04 9:22 AM
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
|
ā2013 Jun 04 9:53 AM
Hi Nivas,
Check this Note 381593 - MIRO/MIR7/MIRA: Batch Input is not possible.
Regard's
Smruti
ā2013 Jun 04 9:56 AM
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
ā2013 Jun 04 10:05 AM
Hi Nivas,
Check this code for using BAPI in MIRO.
http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-BAPI+Incoming+Invoice+Post+%28MIRO%29
ā2013 Jun 04 10:21 AM
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...
ā2013 Jun 05 12:56 PM
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.
ā2013 Jun 05 1:07 PM
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.
ā2013 Jun 05 1:18 PM
perform bdc_dynpro using 'SAPLMR1M' '6000'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'INVFO-ZFBDT'
ZFBDT.