cancel
Showing results for 
Search instead for 
Did you mean: 

Error Purchase requisition - COM_PRODUCT707

Former Member
0 Kudos

Hi experts,

I have a problem and i don't found any discussion  for this subject.

The scenario is eSOA to transfer the PR from SRM, before I had a problem with transfer PR from SRM, but this problem I solved.

Now, when the PRs arrive in SRM system appears the following error:

I revised all configurations  that need logical system, and everything is ok.

 

Someone have any ideia to how solved this problem?

Release:

ECC: SAP APPL 606

SRM: SRM SERVER 702

Kind regards,

Dhan


Accepted Solutions (1)

Accepted Solutions (1)

former_member208244
Active Participant
0 Kudos

Hello Dhan,

I know what is your problem.

When the inbound eSOA message is processed in your PROXY.

It will use the System Landscape Directory Name, defined in BBP_BACKEND_DEST table (also in customizing).

In the class provided by PROXY, it searchs for the PRODUCT CATEGORY and the PRODUCT NUMBER using the SLD name defined in XML (so, it uses the configured in your SLD).

When it look in your BBP_BACKEND_DEST and it does not find any Logical system with the same SLD name, it throws an error message COM_PRODUCT707.

What is the problem?, you have defined different SLD names in both SRM and PI (SLD) systems.

You must correct it in your customizing, problably you are using SAP_SRM or just your SYSID name in this field.

Hope it helps.

Reward points if it is an useful answer for you.

Kind Regards,

SG

Former Member
0 Kudos

Hi again Sebastian

In BBP_BACKEND_DEST table, the SLDs are as:

EDA = ECC

SDA = SRM

In the XML the logical system are so:

:

In the PI system, the SLD are configurated like this:

Kind regards,

Dhan

former_member208244
Active Participant
0 Kudos

Hello Dhan

To let eSOA messages be processed system searches for ERP% logical systems in your BBP_BACKEND_DEST.

You have configured wrong your backend system, your ERP system need to be ERP 5 or ERP 6, look at matchcode of the System Type.

Kind Regards,

Former Member
0 Kudos

Yes, after posted the reply I saw this...There was no time to cancel.

I ran again and returned a dump.

Any idea?

Kind regards,

Dhan

former_member208244
Active Participant
0 Kudos

Hi Dhan,

Can you share the code and mark where the dump occurs?

It seems to be related to IPC.

Regards,

Former Member
0 Kudos

Hi Sebastian,

Surely, follows:

PS:I verified the configuration on SWF_XI_CUSTOMIZING, but is everything ok.

----------------------------------------------------------------------------------------------------

|Source Code Extract (Source code has changed)                                                  

----------------------------------------------------------------------------------------------------

|Line |SourceCde                                                                                  

----------------------------------------------------------------------------------------------------

|   96|    CALL METHOD conv->reset.                                                               

|   97|  ENDIF.                                                                                   

|   98|  IF projection[] IS INITIAL.                                                              

|   99|*..select all columns (SELECT *).......................................*                   

|  100|    PERFORM get_meta_data USING tabname                                                    

|  101|                                lv_typed_projection                                        

|  102|                                result                                                     

|  103|                                lfield.                                                    

|  104|  ELSE.                                                                                    

|  105|*..select given set of columns.........................................*                   

|  106|    PERFORM get_meta_data USING tabname                                                    

|  107|                                lv_meta_data                                               

|  108|                                result                                                     

|  109|                                lfield.                                                    

|  110|    DATA: lfield_added.                                                                    

|  111|    LOOP AT projection INTO lv_field.                                                      

|  112|      READ TABLE lv_meta_data WITH KEY                                                    

|  113|                                   fieldname = lv_field                                    

|  114|                              BINARY SEARCH                                               

|  115|                              INTO row.                                                    

|  116|      IF sy-subrc <> 0.                                                                    

|  117|        CONCATENATE c_error_start                                                          

|  118|                    text-000 ' '                                                           

|  119|                    tabname '-' lv_field                                                   

|  120|                    c_error_end                                                            

|  121|                        INTO message.                       "#EC NOTEXT                    

|  122|* Text does not appear on a customer's screen.                                             

|  123|        PERFORM describe_error USING message                                               

|  124|                                         result                                            

|  125|                                         lfield.                                           

|>>>>>|        RAISE column_not_found.                                                            

|  127|      ENDIF.                                                                               

|  128|      APPEND row TO lv_typed_projection.                                                   

|  129|      CONCATENATE columns lv_field INTO columns SEPARATED BY space.                         |

|  130|      CHECK lv_field = lfield.                                                             

|  131|      lfield_added = 'X'.                                                                  

|  132|    ENDLOOP.                                                                               

|  133|    IF lfield_added NE 'X'.                                                                

|  134|      CONCATENATE columns lfield INTO columns SEPARATED BY space.                           |

|  135|    ENDIF.                                                                                 

|  136|  ENDIF.                                                                                   

|  137|*** Write header of result set ***                                                         

|  138|  DATA: lv_tok TYPE string.                                                                

|  139|                                                                                           

|  140|  CONCATENATE c_xml_version                                                               

|  141|              '<RESULTSET TABLE="' tabname '">' c_header_start                             

|  142|              INTO lv_tok.                                                                 

|  143|                                                                                           

|  144|  DATA: lv_type TYPE char10.                                                             

|  145|                                                                                           

----------------------------------------------------------------------------------------------------

former_member208244
Active Participant
0 Kudos

Dhan,

I did not find any SAP Note for your problem. The initial issue was resolved, but to resolve this one you must raise an OSS message and wait to SAP to clarify the issue.

Hope I can help you in the future.

Kind Regards,

SG

Former Member
0 Kudos

Sebastian, sorry for delay...

Get past the problem of DUMP, is no longer happening.

Now is returning the following error: "No authorization to purchase from product category"

In PPOMA_BBP, attributes and extended attributes are already filled for all categories:

Extended attributes  - all Categories

Can you help again?

Kind Regards,

Dhan Umesh

former_member208244
Active Participant
0 Kudos

Hello Dhan,

Do you have your RFC User configured with these attributes in the PPOMA_BBP transaction? Or which user are you showing me?

Please check RFC user is properly configured with buyer roles, (this rfc is the one from HTTP connection you configured in your PI).

Kind Regards,

Reward points if usefull.

SG

Former Member
0 Kudos

Hi Sebastian, thaks for the help.

Yes, the RFC User (RFCUSER) be configurated with all attributes in PPOMA_BBP, as described above.

This user has sap_all and all the roles available for SRM (SRM *).

The RFC PI is OK:

any idea?

Regards,

Dhan

Former Member
0 Kudos

Hi Dhan,

As Sebastian mentioned when a transfer happens from ECC to SRM via eSOA, the RFC user is taken into account. You need to assign this user to orgstructure and give this user all rights to create a document in SRM . You need to assign the product category here.

Regards,

Naveen

Former Member
0 Kudos

Hi Sebastian and Naveen,

Thanks for the help and attention.

Refering to the problem "No authorization to purchase from product category" I really don't know what to happend.

 

I assigns the RFC User with all users on structure and gave all possibles authorizations.

I Did other test with other material and worked normaly. Probably the material was the problem.

Refering the issue "COLUMN_NOT_FOUND",  I opened an OSS to SAP and the problem was missing from the update package, note 880749.

After I followed the notes 1635670 and 1836279 and the problem was resolved.

 

Thanks for the help again.

King Regards,

Dhan

Answers (0)