Skip to Content
avatar image
Former Member

BDC for IE02

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Feb 23, 2017 at 09:38 PM
    Add comment
    10|10000 characters needed characters exceeded

  • Feb 23, 2017 at 09:51 PM

    Hi Techie,

    Did you check if BAPI_EQUI_CHANGE Bapi is useful for you?

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 24, 2017 at 01: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??

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 24, 2017 at 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.

    Add comment
    10|10000 characters needed characters exceeded