Skip to Content
0

BDC for IE02

Feb 23, 2017 at 09:16 PM

126

avatar image

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.

10 |10000 characters needed characters left characters exceeded

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++for+MM01

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

0
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Techie SAP Feb 23, 2017 at 09:38 PM
0
Share
10 |10000 characters needed characters left characters exceeded
David Antonio Arroyo León Feb 23, 2017 at 09:51 PM
0

Hi Techie,

Did you check if BAPI_EQUI_CHANGE Bapi is useful for you?

Regards,

Share
10 |10000 characters needed characters left characters exceeded
Techie SAP Feb 24, 2017 at 01:50 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Nic Teunckens Feb 24, 2017 at 10:46 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded