Application Development 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: 

BDC for IE02

Former Member
0 Kudos

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.

5 REPLIES 5

Former Member
0 Kudos

Quick Update: i used the link and tried running a BDC with data.

https://wiki.scn.sap.com/wiki/display/Snippets/sample+code+for+call+transaction+and+session+method++...

This program also gives me error for screen not found.. Has anything Changed in IE02 screens.. Pleae advice.

Former Member

former_member235395
Contributor
0 Kudos

Hi Techie,

Did you check if BAPI_EQUI_CHANGE Bapi is useful for you?

Regards,

Former Member
0 Kudos

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

NTeunckens
Active Contributor
0 Kudos

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.