Invoice posting from SRM system -ECC mandatory fields data need to be fille

Dear Experts,
I am creating an invoice from external system(SAP SRM) and generates an IDOC in SRM and same is sent to ECC. In ECC for creating invoice we have two mandatory fields house bank(hbkid) and section code(secco). These fileds data is not coming from SRM IDOC so i need to pass these fileds data before posting the IDOC.
I am using EXIT_SAPLMRMH_015 for passing these fields data. I tried to debug the exit but it is not stopping.
I written the below code for this but still data is not filling . I request you to give me your suggestions on this.
DATA: S_RBKPV TYPE MRM_RBKPV OCCURS 0 WITH HEADER LINE.
DATA: W_SCACD LIKE LFA1-SCACD.
S_RBKPV = E_RBKPV.
IF E_RBKPV-LIFNR IS NOT INITIAL.
SELECT SINGLE SCACD FROM LFA1 INTO E_RBKPV-SECCO WHERE LIFNR = E_RBKPV-LIFNR.
SELECT SINGLE VBANK FROM ZMM_HOUSEBANK INTO E_RBKPV-HBKID WHERE BUKRS = E_RBKPV-BUKRS
AND GSBER = E_RBKPV-GSBER.
IF SY-SUBRC EQ 0.
E_CHANGE = 'X'.
ENDIF.
ENDIF.
Regards,
Ravi

Identified the EXIT and working on EXit.
Thanks
Ravi

Similar Messages

  • Error in invoice posting from CRM to ECC

    Dear Guru's ,
    when we release the billing document from CRM to ECC , system throughs error messages and while we checking the confimation the below  green message is appering .
    --> Object link not known in CO
    Whatever the master data  we maintained in the order and confimation is perfect .Kindly advise why this green error is coming???
    Regards ,
    Pakalapati

    solved by my self

  • Classic Scenario- Service Item custom field transfer from SRM to ECC

    Hello Experts,
    I was looking for a way to transfer custom fields from SRM to ECC(PR/PO) for service items.I am on SRM 7.01 and ECC 6.0 ehp 5.
    The same custom fields are getting transferred for Material item using the BADI BBP_CREATE_BE_RQ_NEW.
    But the same badi doesnt work for service item transfer.
    I would appreciate it if someone could help me with this.
    Regards,
    Cruiser

    You can use the Function Module SPOOL_RQ_CREATE with the parameters as bellow and debug.
    REQNO = SC number
    REQUIS_NUMBER = as Purchase Req no ( from backend )
    IV_BE_LOGSYS = backend logical system.
    System will go through the same path as SC bridging to PR.
    HTH,
    Chandu
    Edited by: Chandrahasan H on Mar 23, 2011 3:36 PM

  • How to transfer user defined accounting fields from SRM to ECC ?

    Hi!
    We are running SRM 5.0 and ECC 6.0 with classic scenario.
    We have defined Business entity filed account assignment tab in SRM SHC.
    New fields are also defined in tables BBP_C_ACC_F and in BBP_C_ACCFD and added in the structure also INCL_EEW_PD_ACC_CSF. New fields are also defined in srpo accounting.
    In R/3 the same field is already defined as it is standard one.
    When I create PR or PO i entered the Business entity for the account assignment R i.e real estate.
    However, when I order my shopping cart with values in new fields, the values are not transferred into backend.
    Standard fields transfer nicely, but the user defined fields dont transfer.
    Can any please let me know what we have to do for these user defined values to transfer to back end. We need to implement any BADI ?
    Please let me know
    Thanks

    Hi,
    Use  BADI  BBP_CREATE_PO_BACK ( t.code SE18) can transfer custom fields
    some useful links to transfer custom fields from SRM to ECC..
    Re: Purchase Order item customer fields
    implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI
    Re: Custom field values are not being transfered to the backend system
    Re: How to replicate SRM PO customer fields to ERP PO in ECS
    Update Custom Fields in PO - BBP_ECS_PO_OUT_BADI
    BBP_ECS_PO_OUT_BADI
    implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI
    Update Header Text in R/3 using BBP_ECS_PO_OUT_BADI
    Hope these are helpful..
    Thanks
    prasad .s

  • Sending Custom fields from SRM to ECC through BAPI

    Dear All ,
    I am looking for a step by step instructions on how to send my data i.e Start date and end date at ITEM :LEVEL for limit items from SRM to ECC
    It is currently only sent a Header level . I have almost read all the posts and yet not able to figure out . Please can you some one help me to understand .
    Checked the below
    http://scn.sap.com/thread/476423
    http://scn.sap.com/thread/170189
    http://scn.sap.com/thread/26494
    http://scn.sap.com/thread/1399901
    http://scn.sap.com/thread/1991218
    and also  checked the SAP official page :
    http://wiki.scn.sap.com/wiki/display/ABAP/BAPI?original_fqdn=wiki.sdn.sap.com#BAPI-Passingcustomfield
    http://wiki.scn.sap.com/wiki/display/SRM/Transfer+process+of+the+Shopping+Cart
    http://scn.sap.com/docs/DOC-2726
    However no luck . I also opened a similar thread previously but still unable to get an end to end understanding .Please could some one guide me for this one ?  Currently what I found out there is a class CL_BBP_BS_ADAPTER_PO_CRT_ERP10 where CREATE_DOCUMENT decides what fields would be passed .. In that there is a FM which is being called from ECC .. and in that there is header and header X field ..
    which has the fields which I need VPER start and end date ..
    CALL FUNCTION 'BAPI_PO_CREATE1'
           DESTINATION av_rfc_dest
           EXPORTING
             poheader               = as_po_out-is_poheader      "#EC ENHOK
             poheaderx              = as_po_out-is_poheaderx
    h
    Now I wnat the same fields to be passed at item level of the SC .. Please could you confirm on what exactly I should do ?
    I saw the below tables not sure what I should do with them to include the 2 fields I want which should be passed to ECC .
    TABLES
              poitem                 = as_po_out-it_poitem        "#EC ENHOK
             poitemx                = as_po_out-it_poitemx       "#EC ENHOK
                 extensionin            = as_po_out-it_extensionin   "#EC ENHOK
      *      extensionout      = as_po_out-it_extensionout "not used by SRM
              poexpimpitem      = as_po_out-it_poexpimpitem      "#EC ENHOK
              poexpimpitemx     = as_po_out-it_poexpimpitemx     "#EC ENHOK
             potextheader      = as_po_out-it_potextheader "not used by SRM
    *      popartner         = as_po_out-it_popartner    "not used by SRM
    Please can some one let me know for the below queries :
    1, How to identify If I am checking on the right method .
    2. How I can create these 2 fields voer start date and end date and pass them to EKPO table of PO in ECC ?
    3. How to create these 2 fields in BAP and pass it further from SRM to ecc
    4. How would they be visisble in SC portal screen ..
    Please guide me on this would be really grateful . Thanks in advance for the help
    Regards
    Vinita

    Hi Madhu,
    Please check out this note 1027081 which is for the PO Held in classic scenario.
    Praveen.

  • How is goods receipt and invoice sent from backend system to SRM system?

    Hi friends
    How is goods receipt and invoice sent from backend system to SRM system?
    Thanks
    regards
    Krishna

    Hi Khan
    BBP_GET_STATUS_2 and Clean_recrec_Up are background jobs to sync ecc and ebp.
    BBPIV and MBGMCR are used to send goods receipt and invoice from srm to backend system
    So we dont require any special idocs to send goods receipt and invoice from ecc to ebp.Are all handled by BBP_Get_status_2
    Regards
    Krishna

  • Invoice deletion in SRM system

    Hi All,
    We are using the extended classic scenario.An invoice has to be deleted from SRM system having staus "awaiting approval".
    (p.s:the invoice is still in the SRM system and it is not posted in the backend)
    When we  tried deleting the invoice ,a Pop-up message appears u201CThis Document is locked by another Useru201D .
    Tried to check if it is stuck in the workflow but havent found any entry in the table BBP_WFLOCK.
    Kindly advise on how to go about deleting the invoice.

    Yes it is still showing the same pop up message "locked by another user"
    We believe it is stuck in the workflow.
    Could you please suggest an alternative on how to delete the invoice.
    Quick reply is appreciated.
    Thanks in advance.

  • Automate PO Complete from SRM to ECC

    Hi All,
    To Automate PO Complete from SRM to ECC i am using BADI BBP_ECS_PO_OUT_BADI. In ECC I have to update the following indicators.
    EKPO-LOEKZ = S (Deletion Indicator in Purchasing Document)
    EKPO-EREKZ = X (Final Invoice Indicator)
    EKPO-ELIKZ = X ("Delivery Completed" Indicator)
    While coding I have to check CRM_JEST (Individual Object Status) where STAT (Object Status) = I1023 to determine a PO with u201CTransaction Completeu201D status.
    Also CRM_JEST-INACT (Indicator: Status Is Inactive) and BBP_PDHGP (Business Transaction Purchasing Information) - VERSION_TYPE (Version Type (Active Document, 'Normal', Work Version)) where both are blank to determine what the active status of the PO is.
    Can anyone tell me how should i approach? If there is any sample code kindly send it.
    Regards,
    KM

    Check the Material master UoM and then check to Both system setting for the UoM in transaction CUNI, make sure you use the same ISO codes.
    in SRM , check your material master UoM in Tcode COMMPR01, if need you can replicate again the material using R3AR2 and R3AR4.

  • Function Module to send Vendor Master Data from SRM to ECC

    Hi Guys
    I heard there is a function module in SRM which can send Vendor Master Data from SRM to ECC please confirm for me if there is such a function Module and what is it called. Thanks

    Hi,
    Vendor Master data is replicated to SRM from ECC. Standard Transactions (BBPGETVD,..) will be used to replicate the data from ECC.
    Vendor Master will exists in ECC, so there is no point in sending the same back from SRM to ECC. If the requirement is the other way around, we can use the transaction BBPGETVD in SRM system.
    Hope this helps.
    Regards,
    Hemanth

  • In PDP cycle is it possible to pull back transfered PR (from SRM to ECC)?

    Dear Friends,
    We are working on PDP cycle where backend ECC Purchase Requisition is transferred to SRM client via program BBP_EXTREQ_TRANSFER so that the procurement activity is carried out in SRM.
    Now business decides to discontinue the procurement activity from SRM and continue in R/3 only. Which mean business would like to create Purchase Order in R/3 with reference to PR.
    So we delete the shopping cart created in SRM and tried to change the Purchasing group so that system removed the procurement profile tag from PR. But system does not allow.
    My question is, is it possible to pull back the PR from SRM to ECC after it has been transferred to SRM? 
    Or in standard process there is no provision to reverse the situation after a PR is transferred from ECC to SRM.
    Can anyone through some light on this?
    Regards,
    Sandeep Parab

    Hi Sandeep,
    by standard there is no option to send Reqs back to ECC. A moved Req is
    blocked in ECC with a flag in EBAN, that sourcing is carried out externally. This
    block is removed, when the PO is created. I implemented a push back mechanism
    with an extra button in the sourcing cockpit within a classic environment. The
    button first takes the SC information and identifies the Req in ECC, sets the
    status on blank and releases the Req for sourcing. Finally the SC is deleted from
    the sourcing cockpit. With a good programmer the story can be quickly done.
    Cheers,
    Claudia
    Please reward points for useful answers.

  • Replicating vendors from SRM to ECC

    Hi All,
    We are implementing SRM 7.0 EHP1 and we have a SRM-SUS scenario.
    We have a requirement where we want to replicate the vendors from SRM to ECC.
    I know that there are standard programs and interfaces for replicating vendors from ECC to SRM, but are there any standard programs XI/PI interfaces that are available for replicating vendores from SRM to ECC?
    Please share your thoughts....
    Thanks in advance!

    Hi Jack,
    Unfortunately I don't have a config guide for it. Can you speak to your XI/PI consultant and just ask him to configure this scenario in XI/PI.
    PS: Before this you should import all SRM related business content in your PI system.
    Regards,
    Nikhil

  • Badis for Central Contract Replication from SRM to ECC

    hi
    experts
    i am working on a scenario of replicating the central contract from SRM 0.7  to ECC via XI/PI
    let me know what are the Badis to be implemented in ECC for the Same
    looking forward for your  reply

    Hi,
    You do not need any Badi in ECC to distribute central contract to your backend system.
    if your ECC system is on ECC 6.0 enpk 4.0 or more,
    you can directly distribute your central contract from SRM to ECC system using standard ESOA services.
    Thanks and regards,
    Ranjan

  • Central contract information from SRM to ECC

    Hi everybody,
    I´m working with an integrated landscape (SRM 7 with ECC 6), and i´m configuring the central contract, but i have a doubt about the information that is sent from SRM to ECC (the leading system about the contract is SRM). The contract description written in SRM is sent to the contract created in MM?????
    Thanks for all.

    Hi, do you mean the texts in contract item ?
    This text transfer functionality was delievered in SRM 7.0  and it was linked to ERP 6.0 EHP4.
    For contracts overview, please check link: http://help.sap.com/saphelp_srm50/helpdata/en/43/05c0c685da6e72e10000000a422035/frameset.htm
    Regards
    Lauren

  • How to connect from  bw system  ecc system.

    how to connect from  bw system  ecc system.

    Solution
    Maintain the entry using the following path:
    Call Administrator workbench (transaction RSA1).
    From the 'Settings' menu, select Global Settings'.
    If an entry already exists in the field "BW user for ALE", delete this.
    Enter the correct names for the BW users in this field.
    Save the entry.
    You must restart the Administrator Workbench (RSA1) now.
    The source system can now be linked without errors.
    hope this helps.

  • PI setting for transferring Contract from SRM to ECC - Classic scenario

    Dear Experts
    SRM 702
    ECC 6.0 EHP6
    SRM - Classic scenario
    Need to understand PI setting for transferring Contract from SRM to ECC, as currently document Central Contract document getting created in SRM, but it is not getting transfer to ECC
    No XML message getting triggered in ECC systm as well
    can you help me in this
    if any additional information needed, pls revert
    Regards
    Prashant K

    Fully approve and release the contract. It will trigger the XML Message.
    Go to https://websmp203.sap-ag.de/~form/handler?_APP=00200682500000002672&_EVENT=DISPLAY&_SCENARIO=01100035870000000122&_HIER_… and download the configuration guide & check the PI setting and required Software Components in PI.

Maybe you are looking for

  • Error message on MXF Log & Transfer

    Haven't had this one before. I have another post running asking for assistance in converting MXF P2 card files to MOV without using FCP. I thought I should also post for help on the original problem. I take in a lot of video shot on P2 cards for edit

  • User does not appear in group created from SAP role

    Hello -- I have a user that has logged into InfoView successfully with SAP authentication and is showing in the CMC under the "User List." When I view the list of users in the group that was created from the SAP role he was a part of, he is not there

  • ITunes crashing on Windows vista

    Hello, I just upgraded my itunes for windows vista and it is crashing all the time when I launch it, a windows OS message appears telling me the iTunes tried to reach memory zone dedicated to the OS exclusively, so I turned that feature off, but it k

  • Is the retina display 4k resolution?

    I have the 13in macbook pro with retina display. Apple says it has like millions of pixels but in terms of video, is it 4k? I know its higher than 1080, I would like to know what exactly it is. Thanks!

  • When will apple debug itunes 8?

    itunes 7.x worked great, foolishly I "upgraded" to itunes 8, and now itunes will not even open. Looking at the boards this is not unique, so why won't apple give access to early versions. An another thing, why does it have to be so hard to copy my ow