SRM5.0: table BBP_PDPSET to upadte

Hi SRM Masters!
Is there a particular way (FM, BADI...) to update table BBP_PDPSET?
Thanks in advance.
PT.

Hi Surender ,
The scenario is as follows : (MM-SUS )
Step1 : Creation of PO in R/3 for 100 Qty...Transmitted to SRM via IDOC
Step2 : Post GR for partial qty say 70 in R/3 System
Step3 : Post Invoice from SUS Portal.
Problem : It is observed that during PO transmission the header Table BBP_PDHGP is getting updated correclty but not BBP_PDPSET.
Regards
Ramesh Ch

Similar Messages

  • To Set Goods Receipt Indicator For Particular Line Items In SRM

    Hi All,
      i am working on BBP_DOC_CHANGE_BADI in SRM. i am trying to set the goods receipt indicator for particular line items based upon certain conditions. The values are being set in the badi. But when the Purchase Order is created in the backend R/3 i coudn't able to find the goods receipt indiactor being set..
    i used this field to set the GR indicator
      GR_IND = 'X'.  " Goods Receipt Indicator
    Can anyone help me in this?
    helpfull answers will be rewarded....
    Thanks,
    Murali

    To Murali and Christophe,
    I have set the GR and GR non val indicator in CREATE_PO BADI but I face the following situation :
    problem -
    In case of multiple account assignment in the shopping cart, the R/3 transaction ME21N sets these flags. 
    The flag status determined as per EBP conditions is lost.
    I need to retain the flag status as per EBP conditions even in this multiple account assignment scenario.
    proposed solution -
    - CREATE PO badi is already implemented in EBP and customised logic for GR and GR non valflag is in place.
    - I create user exit in R/3 backend system in ME21N transaction 
    - I make RFC call in this user exit to EBP and check the table BBP_PDPSET for the shopping cart.
    This is how I get the flag status as per EBP conditions and copy the same to R/3 thereby overriding the multiple account assignment check of the R/3 system.
    issue - 
    When I tried to verify that I can check the BBP_PDPSET table from R/3, I found that this table is not having entries for all the records in  CRMD_ORDERADM_I table.
    For which shopping carts will the BBP_PDPSET table not  be populated ?
    thank you in advance,
    Bhakti.

  • Urgetn : Evaluated Receipt Settlement (ERS)- Local PO

    We are in Extended classic senario , while replicatiing the PO to Back end "Evaluated Receipt Settlement (ERS)" is not checked .
    We check Evaluated Receipt Settlement (ERS) for the particular vendor , PO is created with that vendor . ERS indicator should be automatically defaulted into the SRM PO line item from the SRM Vendor master (and shud flow to R/3 PO line item) when the SRM PO is being created automatically.
    If this is not happening.
    Can anyone give me some pointers for this , to reslove this issue ..
    I have also check this table BBP_PDPSET for the PO details , in this table itself this flag is not get set .
    Thank you ,
    Seeking your help

    Hi Muthu,
    Thank you your reply. Intact I have seen these indicators in SRM, and in the table also we have an entry. , But still in R/3 ERS is not getting checked.
    Correct me if I wrong, how I am mapping the GR/GRbased IV /IR flags are.
    We have custom indicator in the shopping cart item level.
    When Shopping Cart custom GR indicator is checked then the PO GR indicator and GR-based IV" will also be checked from the BADI(BBP_DOC_CHANGE , po CHANGE METHOD ) , If Shopping Cart custom GR indicator is not checked then we are clearing the PO GR indicator and GR-based IV" indicators. Is this is the right approach, Because of this thing does the ERS indicators getting disturbed.
    Thank you,
    Seeking your help.

  • Extension of ORDERS02

    Hello,
    I am using MM SUS scenario, from R/3 we are sending PO to SUS through XI with message Type ORDERS02.
    If GR based IV indicator is set in PO (WEBRE),same filed is not updating in SUS table .In SUS there is field for GRBIV in table BBP_PDPSET i.e. GR_BASEDIV which is not updated for such PO,can anyone please help how to map it in detail.
    Thanks in advance
    Sunil

    Hello Matt
    There are two possible explanations:
    (1) Segment E1EDPA1 is not yet filled in your user-exit.
    (2) You need to LOOP over the segment itab until you reach segment E1EDPA1:
      DATA: ls_edidd    TYPE edidd.
      LOOP AT int_edidd INTO ls_edidd
                WHERE ( segnam = 'E1EDPA1' ).
       ... " your coding here
      ENDLOOP.
    Regards
      Uwe

  • Evaluated Receipt Settlement (ERS)

    Hi,
    Given a Purchase Order(PO) Number, PO GUID and Partner GUID how can I find out in my "Z" program whether the vendor for this PO is marked for Evaluated receipt settlement (ERS)? Is there a functional module which will give me the same?
    Thanks,
    Mick

    Hi Mick,
    You will find this from BBP_PD
    BUS2201
    Input the PO number
    then access table BBP_PDPSET (header details)
    field ERS
    Kind regards
    Yann

  • Bapi to upadte MCHB table

    Hi all,
    pls anyone tel me what is the BAPI to update MCHB table?
    Thanks,
    Sowmya S

    Hi,
    try using
    BAPI_GOODSMVT_CREATE,
    BAPI_MATPHYSINV_POSTDIFF.
    thanks
    Arjun

  • Upadte bseg table

    hi all,
      hoe to add belnr field in bseg table whre bupla  ne to blr.
    plz help me
    sonu

    Hi,
         You should not update the BSEG table directly by yourself.
    BSEG usually deals with FI / Invoice documents, so when you create Invoices / Accounting documents this table will get updated.
    Use the bapi:BAPI_ACC_DOCUMENT_POST
    <b>Reward points</b>
    Regards

  • Upadting a XML node value to another table

    Hi guys,
    Can you please tell me, what is wrong with the below query
    update csabcd cs set (cs.ELEMENT,cs.ELEMENT2,cs.ELEMENT3) =
            (select x.* from abcde a, xmltable ('.' passing XMLTYPE(a.xml)
                 columns mort1 varchar2 (80) path '/alert/tab1/details/Element',
                         mort2 varchar2 (80) path '/alert/tab1/details/Element2',
                         mort3 varchar2 (80) path '/alert/tab1/details/Element3'
                         ) x  where cs.aid = a.aid);i get this error
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00229: input source is empty
    Error at line 0
    ORA-06512: at "SYS.XMLTYPE", line 254
    ORA-06512: at line 1Edited by: Depakjan on Oct 21, 2010 1:35 PM

    Well from that sample, the XMLTABLE works ok...
    SQL> ed
    Wrote file afiedt.buf
      1  with abcde as (select '<?xml version="1.0" encoding="UTF-8"?>
      2  <alert>
      3    <tab0 comment="section in XSL component" name="Initial Information">
      4      <details>
      5        <Priority>0001</Priority>
      6        <DateVRUClaimInitiated>2010-06-29</DateVRUClaimInitiated>
      7      </details>
      8      <contacts comment="grid in XSL component">
      9        many child nodes here
    10      </contacts>
    11    </tab0>
    12    <tab1 comment="section in XSL component" name="Additional Information">
    13      <details comment="list collection in XSL component">
    14        <Channel1>123</Channel1>
    15        <Element>1234</Element>
    16        <Element2>1234</Element2>
    17        <Element3>1234</Element3>
    18      </details>
    19      <IPAddresses>
    20        Many child nodes here
    21      </IPAddresses>
    22      <ANIPhones>
    23        Many child nodes here
    24      </ANIPhones>
    25    </tab1>
    26  </alert>' as xml from dual)
    27  --
    28  --
    29  --
    30  select x.*
    31  from abcde a
    32      ,xmltable ('.'
    33                 passing xmltype(a.xml)
    34                 columns mort1 varchar2 (80) path '/alert/tab1/details/Element'
    35                        ,mort2 varchar2 (80) path '/alert/tab1/details/Element2'
    36                        ,mort3 varchar2 (80) path '/alert/tab1/details/Element3'
    37*               ) x
    SQL> /
    MORT1      MORT2      MORT3
    1234       1234       1234
    SQL>There must be something else in the XML that's causing the problem.
    What happens if you just do:
    select xmltype(xml) from abcde(add appropriate where clause for particular ID if necessary)
    Is it able to convert the xml strings to xmltype ok?

  • Issue while Updating a table having Unique Secondary Index

    Hi,
    I am trying to update a 'Z' table in which there are 5 fields comprising of primary key. Out of them 2 key fields are defined as a part of seconadry index with 'Unique' option selected.
    As per the requirement, I am trying to update the table using modify statement so whenever this statement occurs it will check the primary keys and accordingly try to m

    958572 wrote:
    Hi,
    We have observed the exception *'JDBC activity timed out while updating the table -Table1"* in our logs in prod environment.
    1)we verified the AWR report for that particular time and observed that one update statement was trying to update the table table1.
    its a simple update statement as below
    UPADTE TABLE1 SET COL1=VAL1,COL2=VAL2 WHERE ID1=VAL1 AND ID2=VAL2;
    there is a PK index on ID2 column.
    2)we also came to know that there were no locks on TABLE1 during this time.
    can some one please let me know what could be the possible reason for this kind of exception?
    ThanksOS/Networking mis-configuration.
    Oracle does not know or care about the type or flavor of remote client (JDBC, OCI, ODBC, etc).
    Oracle's default configuration contains no timeout.
    I suspect a FireWall setting.

  • Problem about replicate the vendor master from R/3 to SRM5.0

    Hi guys,
    I have vendor in R/3 backend system.And the vendor data has been customized.We have added some customize fields to the table LFA1 which is not exist in the standard R3 system.
    Now,
    I want to replicate all vendor information to SRM5.0 include these customized fields.I have tried t-cd: BBPGETVD&BBPUPDVD.But it only copy the standard fields.
    Then I searched the web and found some information said that at SRM side I should use eewb to make extension for vendor in SRM and create instance for the BAdI:BBP_GET_VMDATA_CF and do some coding in the method GET_DATA & UPDATE_DATA.
    At the R/3 side I should create a instance for the BAdI:BBP_MAP_VMDATA_CF and do some coding in the method MAP_DATA.
    So at the SRM side I used eewb and it generated some function:
    ZZSER_BUPA_DTL_ADD
    ZZSER_BUPA_DTL_CHANGE
    ZZSER_BUPA_DTL_REMOVE
    ZZSER_BUPA_GET
    And I created a instance for the BAdI:BBP_GET_VMDATA_CF.
    At the R/3 side I created a instance for the BAdI:BBP_MAP_VMDATA_CF.
    My problem is
    1.I don't how to use those functions(generated by eewb) in the method GET_DATA & UPDATE_DATA.
    2.I don't know what should I do to the method MAP_DATA(R/3 side)
    3.When will these instance be called?It seems that the t-cd BBPGETVD &BBPUPDVD won't find the BAdI's instance(I didn't find any code such as cl_exithandler=>get_instance in the programe BBP_VENDOR_GET_DATA which is for t-cd BBPGETVD&BBPUPDVD)
    4.If there is a solution to the problem 1-3 and all has been done, then from where should the import parameter IT_LFA1(in R/3's BAdi BBP_MAP_VMDATA_CF) get its value?
    Can anyone who are familiar with these BAdI help me? Thanks in advance.

    Hi
    <u>Which R/3 and SRM versions are you using ?</u>
    <b>Vendor Master Extension in SRM</b>
    <u>Vendor Master Extension in SRM</u>
    <b>Look for the OSS Note for more details.</b>
    Note 675800 - Business partner enhancement SRM on maintenance screen
    <u>Please See this thread for creating customer fields in BBPMAININT Transaction.</u>
    Re: Adding new fields in VEndor master data in EBP
    Do let me know.
    Regards
    - Atul

  • Issue with the upadted database Schema in ODI 11g ?

    Hi ,
      I am new to ODI ..  and i am using ODI 11g .
    the problem which i am facing is below stated :
    I have an existing interface with both source and target tables its working fine . when there is change in the column in the source and the target table i do the reversed enginnner to get the new colums in the source nad the target schema .
    I tried to retain the existing mapping  of source and traget by deleting the source schema and replacing it with the newly updated schema  in the source colum in the interface .
    and  drag and drop the the newly updated schema In the target colum in this way i was able to retain the existing mapping ,and did the mapping for the new columns in both .
    The problem is that it is running succesful and data for the earlier existing mapping are moving from source to target but not for the newly mapped column .
    please help me out in sorting out this issue 
    the knowlede modules that i am using it are as follows
    For LKM  i am using LKM SQL to SQL
    For CKM  - CKM SQL
    FOR IKM -IKM SQL Incremental Update

    Thanks for the suggestion .i am working with Interface . i implemented that and got the colums without deleting anything ,but when  i am mapping the newly upadted colums i am getting an error while executing the Interface .
    ODI-1228: Task TARGET_1 (Control) fails on the target  connection odipoc.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00904: "COUNTRY": invalid identifier
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3954)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1539)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)

  • Delete any entry in the table before adding an entry?

    Hello ABAP Experts,
    I have the data in the work area. I can modify / update / insert to the table.
    How to write the ABAP code for this situation.
    1) to delete any entries in the table
    2) update this entry
    so finally always there would be only one entry.
    Suggestions appreciated.
    Thanks,
    BWer

    Hi,
    Delete the entries of table by this stmt.
    DELETE FROM (dbtabname).
    Then insert the values from workarea
    INSERT INTO dbtab VALUES <work_area>.
    And u can upadte the entry with values of workarea by this stmr.
    UPDATE (dbtabname) FROM wa.
    Dont use MODIFY. It will add a new record if its a new entry.
    Rgds,
    Prakash

  • How to Add table of values in BBP_CUF_BADI

    I see many posts regarding adding single custom fields.  Is it possible to add a table of custom data?  
    I've created an include with my new table fields.  Then appended this new structure to the Structure INCL_EEW_PD_ITEM_CST_BID.   
    Then, I created code to read the custom data  in the MODIFY_SCREEN implementation.   I thought I needed to append the data to IT_CUF_TABLE, but I get compile error on the APPEND statement that this table may not be modified.
    Thanks for your help!

    Hello,
    Table cuf are not transfered in this badi. Check the note 942611 to correct it (only SRM4, maybe have to ask for correct version in SRM5).
    Rgds,
    Pierre

  • How to update parent and child tables while updating parent table

    I have a parent table EMPLOYEE which includes columns (sysid, serviceno,employeename...) sysid is Primary key, serviceno is Unique key and I have child table DEPENDENT includes columns (sysid,employee_sysid,name,dob...) here again SYSID is primary key for DEPENDENTS table, employee_sysid is Foreign key of EMPLOYEE table.
    Now I want to change SYSID (using sequence) in EMPLOYEE table which need to be update in DEPENDENTS table as well
    Note: I have 10000 records in EMPLOYEE table as well as I have 5 more child tables which need to update new SYSID.
    please help me

    first disable the FOREIGN KEY Constraints.
    you can update Parent as well as Child record also with help of trigger.
    here i am giving you one examlpe..it may help u.
    create table parent(id number primary key,name varchar2(100))
    create table child_1(id number primary key,p_id number,dob date,
    CONSTRAINT FK_id FOREIGN KEY (p_id) REFERENCES parent (ID))
    create table child_2(id number primary key,p_id2 number,addr varchar2(1000),
    CONSTRAINT FK_id2 FOREIGN KEY (p_id2) REFERENCES parent (ID))
    insert some test data to parent and child tables.
    alter table child_2 disable constraint FK_id2
    alter table child_1 disable constraint FK_id2
    CREATE OR REPLACE TRIGGER delete_child
    BEFORE UPDATE ON parent
    FOR EACH ROW
    BEGIN
    UPDATE CHILD_1
    SET P_ID=:NEW.ID
    WHERE P_ID=:OLD.ID;
    UPDATE CHILD_2
    SET P_ID2 =:NEW.ID
    WHERE P_ID2=:OLD.ID;
    END;
    then Upadte parent table primary key col and check the child tables.
    then enable the constraints...

  • ORA-04091: table is mutating, trigger/function may not see

    Hello All,
    I am not an expert in oracle and I have been facing a problem where I get a message as follows :
    ORA-04091: table <table> is mutating, trigger/function may not see it
    I have a table tab1 which has ID, name, and some other columns. the rows in this table form a parent-child type relationship based on some columns within that table. I have created another table called relationship table. The relationship table has 2 columns ID and parentID. I keep this table up to date using triggers. For example if a new record is inserted or upadted in tab1 which affects the parent - child relationship, i update the relationship table accordingly using an insert / update trigger and it works fine.
    I created another trigger as follows
    create or replace trigger MY_DELETE_TRIGGER
    after delete on tab1
    for each row
    BEGIN
    update relationships a set a.parentID = null where a.parentID = :OLD.ID;
    delete from relationships a where a.id = :OLD.ID;
    END MY_DELETE_TRIGGER;
    Basically what I am doing is, the record once deleted, if it was parent of anybody else, i am setting the parent as null and the record itself, if it was in the relationships as a child, I am removing that row.
    This is when I get the table is mutating error, and I don't know how to fix it.
    Can anybody please help me,
    Thanks in advance

    Could you provide more details?
    SQL> select * from tab1;
            ID NAME
             1 test1
             2 test2
    SQL> select * from relationships;
            ID   PARENTID
             1          1
             2          1
    SQL> create or replace trigger MY_DELETE_TRIGGER
      2  after delete on tab1
      3  for each row
      4  BEGIN
      5  update relationships a set a.parentID = null where a.parentID = :OLD.ID;
      6  delete from relationships a where a.id = :OLD.ID;
      7  END MY_DELETE_TRIGGER;
      8  /
    Trigger created.
    SQL> delete from tab1
      2  where id = 1;
    1 row deleted.
    SQL> select * from relationships;
            ID   PARENTID
             2
    SQL> rollback;
    Rollback complete.
    SQL> insert into relationships values(1,1);
    1 row created.
    SQL> select * from relationships;
            ID   PARENTID
             1          1
             2          1
             1          1
    SQL> delete from tab1
      2  where id = 1;
    1 row deleted.
    SQL> select * from relationships;
            ID   PARENTID
             2
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.3.0 - Production

Maybe you are looking for