Skip to Content
avatar image
Former Member

SAP C4C how to get Standard BO cache data when I create EC item which binding in this Standard BO

Hello everyone,

As my topic say,I bound a EC to Account ,when I create new EC item by QC,I want to get Account current country(at this point, it has not been saved to the database)

Process:Open a Account(old country code"CN")->change Account country(new country code"US")->create a EC item before save(I want to get "US" but not "CN")

I have tried the following two ways but I got the "CN" but not "US"

Wish someone can help me!

Thanks in advance!

ec-country.png (75.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 30, 2017 at 01:52 PM

    Hello Baoxiang,

    The query wont work as a Query.Execute(...) is always going to the database.

    But: If you changed the CountryCode of the resp. Account and performed a round-trip this new value should be i the Account buffer. Thus retrieving the data via Account.Retrieve( <nodeID> ) should do it.

    Bye,
    . Horst

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 17, 2017 at 07:54 AM

    Hi baoxiang,

    You can trans parameter from the TI to the EC using the outport and inport.
    Then trans parameter from the EC to the QC using the outport and inport, too.

    Best Regards,

    Benny

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      Thanks,can you provide the parameters navigation which TI binded EC,and outport of COD_ACCOUNT_TI you used to transfer AccountID and CountryCode at the same time(I can't choose two COD_ACCOUNT_TI outport to tansfer AccountID and CountryCode meanwhile)