02-23-2017 9:16 PM
Hi, I am using BDC for T code IE02 for Partner assignment & Functional location assignment. I searched a lot for BAPI but none of them gave results as expected.,. So, i did the SHDB recording for this and created program.
When I run the programs as is, it works perfectly fine but when i call this Performs from another Program ( which reads the file and loop etc..) the BDC is failing in second screen with error after going inside as
"Field IHPA-PARNR(1) does not exist in the screen SAPMIEQ0 0101"
Now the only diff between SHDB program and mine is it does not create session etc. ( with selection screen) and I do following
CALL TRANSACTION 'IE02' USING it_bdcdata MODE 'A'
UPDATE 'A' MESSAGES INTO lt_msgtab.
While the SHDB program does perform bdc_transaction using 'IE02' Please advice if i should do anything different to go pass the screens.
Also i tried using this program and tried running a BDC.. This also gives me error for screen.. Not sure if anyting changed in IE02..
https://wiki.scn.sap.com/wiki/display/Community/BDC++for+IE02+in+Plant+Maintanance
Thanks & Please advice.
02-23-2017 9:36 PM
Quick Update: i used the link and tried running a BDC with data.
This program also gives me error for screen not found.. Has anything Changed in IE02 screens.. Pleae advice.
02-23-2017 9:38 PM
Sorry the correct link is https://wiki.scn.sap.com/wiki/display/Community/BDC++for+IE02+in+Plant+Maintanance
02-23-2017 9:51 PM
Hi Techie,
Did you check if BAPI_EQUI_CHANGE Bapi is useful for you?
Regards,
02-24-2017 1:50 PM
Hi,
I looked at option of BAPI_EQUI_CHANGE . WIth this i can change the functional location but i am also looking for changing the partner assgiement. I could not find any BAPI or cobminaton that does both.. Please advice if you know BAPI/Combnination.
Also any thoughs on BDC??
02-24-2017 10:46 PM
Changing Partner Assignment is possible via FM "PM_PARTNER_UPDATE".
See SAP-KBA 1844112 as a Reference : even though AMI / MDUS-related, the same functionality can be used to Update Partner Assignment (see the Attached .PDFs in the KBA) ...
Hope this helps
Nic T.