This website is not affiliated with, sponsored by, or approved by SAP AG.

Add QLSEARCH in CEWB via BAPI [RESOLVED]

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Add QLSEARCH in CEWB via BAPI [RESOLVED]

Postby Baz » Wed Jul 22, 2015 3:14 am

Hello

I have written a routing upload program calling /SAPMP/BAPI_ROUTING_PROCESS and it works for all but 1 field.

We need to add the Qualification (QLSEARCH) to the Routing in CEWB.

I have debugged the standard program and have seen how that behaves when you use the F4 select and then save the record.

I am using exactly the same data in the internal structure in both my program and the standard transaction, however when the record is committed, it is not showing.

I found the SAP Note 488765 - Do it yourself EWB Programming http://service.sap.com/sap/support/notes/488765 - and added the following

CP_CC_S_LOAD_COMPLEX_BY_OPR
CP_CL_S_OPR_PROVIDE
CP_CC__S_RELOAD_BY_OPR
CP_CL_S_OPR_CHANGE - Where i have added the QP type, Qualification Object Type and QL Search Short Text.
CP_CC_S_SAVE

Through debug i don't see any errors - only return code 0 and after i then check the Routing in CEWB it does not have the entry there.

I am unsure where this table entry is stored.

We did have BDC to update this when we used CA02, but then parameter effectivity was switched on so we were forced to use CEWB and as we have thousands of lines in the routing, this is now not a viable option due to the complexity of the transaction.

Does anyone have any idea how we can record a qualification on a routing?
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com
Baz
 
Posts: 4736
Joined: Fri Nov 08, 2002 5:54 am
Location: He's out there! somewhere!!!!

Re: Add QLSEARCH in CEWB via BAPI

Postby Baz » Fri Jul 24, 2015 2:51 am

You Don't add QLSEARCH

You add Object Type and Object ID. QLSEARCH is derived from this.......
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com
Baz
 
Posts: 4736
Joined: Fri Nov 08, 2002 5:54 am
Location: He's out there! somewhere!!!!


Return to ABAP

Who is online

Users browsing this forum: No registered users and 12 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.