cancel
Showing results for 
Search instead for 
Did you mean: 

update SRM Document Flow

Former Member
0 Kudos

Dear SRM Experts,

I have to update SRM Document Flow . I have heard this Function Module BBP_PD_SC_GETHISTORY should be the correct one.

Well I dont know where I can call it to update the Document Flow finally ?

Regards

ertas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

yes.

Regards

ertas

former_member183819
Active Contributor
0 Kudos

Hi

as you said every time new sc cart creates if you add new items in the pr then why you may require to track them by one cart?

if possible send me some test esults i will look into this.

or you want to protect the same by closing pr.

does your business allow for it.

br

muthu

Answers (1)

Answers (1)

former_member183819
Active Contributor
0 Kudos

Hi Ertas

FM BBP_CHANGE_DOC_GET_NEW pass header guid

you may get details of changed document

br

muthu

Former Member
0 Kudos

Hi muthu,

thank you for your help.

Can you pls. show through a sniplet how to use FM BBP_PD_SC_GETHISTORY.

What do you think where can call FM in order to show the latest changes.

We have implemented a purchase requisition upload to SRM from backend.

And sometimes the PReq will be updated in the backend. So the requirement is now

to show all these flow after it has been updated.

Regards

ertas

former_member183819
Active Contributor
0 Kudos

Hi Ertas

whenever you add new item in the PR , are you geting entry in eprtrans table ? are creating new sc in sourcing cockpit right? confirm me

br

muthu

Former Member
0 Kudos

hi muthu

When I add new item in the PR , or create a new one with a determined doc type I am geting entry in eprtrans table.

Then I perform a report which uploads those entries to SRM and a shopping card

will be created. If the Manager modifies anything in this SC the PR must be updated in the backend.

For that I have impemneted somecode in the BADI BBP_DRIVER_DETERMINE

CASE functionname.
      WHEN 'B45A_SOURCEDETERMIN_GETSOS'.
        CLEAR functionname.
      WHEN 'B46B_SOURCEDETER_GETSOS_MULTI'.
        CLEAR functionname.
      WHEN 'CL_BBP_BS_ADAPTER_RQ_CRT_470'.
        IF sy-subrc = 0.
          functionname = 'ZCL_BBP_BS_ADAPTR_RQ_CRT_470'.
        ENDIF.
    ENDCASE.

Within 'ZCL_BBP_BS_ADAPTR_RQ_CRT_470' I can say either update PR if ext_dimid

not initial or create a PR.

former_member183819
Active Contributor
0 Kudos

Hi

Are sure whenever you add a new item it creates another sc in srm in the sourcing cockpit?

item 1 - pr no 111 - 1 qty - srm - sourcing cockpit - 001 (external request no i.e sc no)

add

itiem 2 -pr no 111 - 3 qty - srm -sourcing cockpit - 002 (external request no i.e sc no)

is it like that ?

confirm me

br

muthu