To Get process type based on billing header guid in CRM

I have the billing header GUID, now I need to identify the process type or the transaction type of the order for which this billing was triggered!
Any idea of how?

From the database table /1bea/crmb_bdi fetch the source header number....
now, from the database table crmd_orderadm_h fetch the process type...

Similar Messages

  • Any functional module to get financial document based on billing document

    hi all,
    do we have any functional module to get accounting document (bseg-BELNR) based on billing document (bseg-VBELN)?
    i have a requirement to retrieve the clearing document (bseg-augcp) & date(bseg-augdt) from BSEG with billing document.
    billing document is not a key, so i would like to retrieve the accounting document from any function module and use that to get clearing document (bseg-augcp) & date(bseg-augdt).
    thanks.

    hi all,
    i got other option to get this....thanks.
          select single * from bkpf
          where bukrs = <data>-werks
            and AWTYP = 'VBRK'
            and AWKEY = billing doc.
          if sy-subrc EQ 0.
            select single * from bseg
            where bukrs = bkpf-bukrs
              and belnr = bkpf-belnr
              and gjahr = bkpf-gjahr.
            if sy-subrc EQ 0.
              <data>-AUGDT = bseg-augdt.
              <data>-AUGBL = bseg-augbl.
            endif.

  • How to get po number based on billing document number

    Hi every body
          how to get a po number based on billing document number
    thanks in advance.
    sekhar.k

    Hi,
    Check this field VBRK-BSTNK_VF.
    Regards,
    Satish

  • How to get Accounting documents based on Billing documents

    Experts,
    I have a particular requirement in SD. I need to fetch the details of Accounting documents(BKPF-BELNR) and Fiscal year(BKPF-GJAHR) based on the Billing documents(VBRK-VBELN). Is there any function module to do so or any other way. Currently I am fetching this data but there is a performance issue.
    Edited by: Ashish Kansara on Oct 16, 2008 1:54 PM

    A quick link is to take VBRK-VBELN and use it to lookup BKPF-AWKEY. Also select BKPF-AWTYP = "VBRK" to make use of a secondary index on BKPF.
    Thomas

  • Processing Type In PPP

    Hi All,
    As we are upgrading from 11i to R12 and we are configuring payments in R12, and we have four payment method:-
    Scrren shot i have attched
    1) Check
    2) Electronic
    3) Wire
    4) Clearing
    And we are configuring Payment Process Profile (PPP) in payment administrator and there is one LOV/column at PPP's header level called: 'Processing Type' which has only three seeded value available i.e. Electronic, Printed & Payment Card, so for payment method 'Check' we use this as 'Printed' and for 'Electronic' payment method we will use 'Processing Type' as 'Electronic'. So we have few doubt here:-
    1) What is the purpose and meaning of the column: 'Processing Type' at the PPP header level?
    2) Does it means that for 'Check' payment method we should choose only and only 'Printed' option and for 'Electronic' payment method we should select only and only 'Electronic' ,does this options is linked to these payment method?
    3) We have remaining two payment method: 'Wire' and 'Clearing' for which we need to configure payment process proifle and for these two payment methods we don't have any option as 'Processing Type' as 'Wire' or 'Clearing', so what should be selected as prcossing type for 'Wire' and 'Clearing' payment method
    4) We did not see payment method as 'Clearing' in R12 while creating AP invoices, even though this payment method is enabled in Payment Administrator...
    Please suggest a way forward, eagerly waiting for your input and suggestion to configure the PPP for 'Wire' and 'Clearing' payment method.
    Regards,
    Raju.

    Hi Raju,
    I would say, the relationship between Payment Method and the Processing Type used in Payment process Profile is not on a ONE TO ONE basis, it is more like Many to One / One to Many relationship Type...ALSO THERE IS NO DEPENDANCY BETWEEN PAYMENT METHOD AND PROCESSING TYPE in PPP
    The Processing type in the Payment process profile indicates how the Payment instruction is going to be processed, which is a background process/system configuration and not shared in front end.
    The Payment method is an indication as to the available modes of payment shared in the Front end, it does not really have any processing related information ....(apart from seeded/user defined validations)
    In Short any thing that is not printed would be electronic, hence Electronic, Wire and Clearing would all fall under Electronic processing Type.
    1) What is the purpose and meaning of the column: 'Processing Type' at the PPP header level?
    ANS - It means how the Payment Instruction would be processed.
    2) Does it means that for 'Check' payment method we should choose only and only 'Printed' option and for 'Electronic' payment method we should select only and only 'Electronic' ,does this options is linked to these payment method?
    ANS - NEED NOT BE ! I did a test case myself to get clarified, system would allow you to select a payment process profile of electronic type to a CHECK payment method ......It is totally up to the organization to decide how they want to process thier payment instruction, there is no dependancy on the payment method.... You could process a CHECK Payment electronically, you could process a WIRE payment in printed fashion as well ..
    3) We have remaining two payment method: 'Wire' and 'Clearing' for which we need to configure payment process proifle and for these two payment methods we don't have any option as 'Processing Type' as 'Wire' or 'Clearing', so what should be selected as prcossing type for 'Wire' and 'Clearing' payment method
    ANS - Select as Electronic for Wire and Clearing payment methods..
    4) We did not see payment method as 'Clearing' in R12 while creating AP invoices, even though this payment method is enabled in Payment Administrator...
    ANS - payment method was inactivated with the following explanation: "This is one of the seeded payment methods coming from AP, but it was decided to seed it as inactive so that it will not appear in LOVs automatically in release 12. This payment method is an odd work around to deal with inter-company payments prior to release 12 and its use should be discouraged in the new release." Customers can change the status to ACTIVE if they want to use this Payment Method. Inter-Company Payments
    should be done using Oracle Treasury. Refer (ID 864855.1 - Why The Clearing Payment Method Is Inactive In R12?)
    5) Additional point - when you create your payment process profile, there is a section called USAGE RULES, where you have a region for Payment Methods. You have to select the payment methods that can access this payment process profile, by default the value is selected as ALL ... if you do not want it to be available for all,you can select specific payment methods ... that is
    1) Payment Process Profile of PRINTED processing Type should be available for CHECK payment method only
    2) Payment Process Profile of ELECTRONIC processing Type should be available for WIRE, ELECTRONIC and CLEARING payment method only
    This is a configurable control and not a system restriction / intended behaviour.
    I am unable to find a clear oracle documentation to justify my view stated above, these are purely based on my experience on the application .. hence i would await others to express thier opinion and correct me if i am wrong ...
    Honestly this is an excellent Question ......!
    Regards,
    Ivruksha

  • Need Billing doc. number based on header Output type and also billing docum

    Hi
    I have header Output type and also billing document type.
    will you please help me to get the billing document no. based on above combination, any SAP table, i was aware about the same. but i forgot the table name.
    Thanks
    Vanraj

    Hi,
    Check the Table NAST for the Billing documents associated with the OUTPUT type.
    regards,
    santosh

  • How to trigger a form based on object type and process type

    Hi all,
    I am new into SRM.. I have been asked to develop a form by cloning an existing standard form..
    Using bbp_output_change_sf badi you can trigger the form by passing the object type but the scenario is such that depending on the object type and process type the new form should be triggered.
    The parameter iv_object_type passes the object type but how could i pass the process type ?
    In the badi I noticed an import parameter is_event that has a field called transction_type that carries the process type but this field never got populated when i checked using debugger.
    Please help as to how i can trigger the form based on the object_type and the process_type.
    Thanx in advance.

    Thanx again Jay Yang.. Well is there any possibility that you could get the items that were confirmed..
    Let me eleborate..
    Suppose in the PO u order an item for 10 nos and 5 gets confirmed and u return 2..
    Well in my case it is that i need to fill up a field Qty returned / Qty confirmed..
    I was able to get the number of items from the PO by passing the the passing the parameter to the FM "bbp_pd_conf_getdetaill"
    but i dont know how to get the number of items been confirmed..
    The quantity field in the line item structure gives me the number of items returned..
    Can u tell me how to get the number of items been confirmed....

  • Article IDoc not getting processed in PI for particle article type

    Hello All,
         I have an strange behaviour in my system.
    i.e 1, we are creating an article IDOC by using BD10 for particulat article type.
    2, IDOC created succesfully , then
    3, Process the IDOC in BD87 to push the IDOC to PI system .
    4, But i could not see the message in PI that too only for one article type.
    I'm wondering why this is not getting processed only for one article type and not for others.
    we also checked the basic filter for the message type in dist model and even i could not see any condition in PI also,
      Is there any thing else i should check? can you please help us on this.
    Regards , Sethu.

    Hi,
    Try to reimport the metadata of IDOC into PI in idx2. Also check the port definition in ECC and whether the segment is released or not. Please go through the below discussions it may help you.
    EDISDEF: Port XXX segment defn E2EDK35 in IDoc type ORDERS05 CIM type
    IDoc 0000000000181226 was saved but cannot or should not be sent
    Regards,
    Priyanka

  • Get Process Order List Based on Date Range and Order Status

    Hi all,
    Iam using BAPI_PROCORD_GET_LIST to get the entire list of Process Orders based on selection criteria as plant. However I have noticed that there's no selection option to get records between start and finish times neither does any option exists to get only the released or open orders.
    To filter records based on Start Date/Finish date or get records with specific status, we need to get the entire list of records that exists for a plant and then use repeater/condition action to filter the same. Fetching the complete list and then filtering is an overhead. Does anyone know a solution to this or does anyone have been in this situation ? Is there any other BAPI that supports the filter criteria to get open/released orders from SAP. Do we need to modify the BAPI to include Process Order start date and end date or System status as selection options ?
    Appreciate your help !
    Regards,
    Gilmour

    Hi Gilmour
    I would say you have 2 options here..
    1. Create a new RFC with the search params as you want them. Write the logic accordingly.
    2. Use the Enterprise services for Production Order where you can say you want Process Orders. The Service that has Planned Start Date and End Date along with Status is ProductionOrderSimpleByElementsQuery_sync. See Link [here|http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?id=D507C16176BE11DA36BB000F20DAC9EF&fragID=&packageid=DE0426DD9B0249F19515001A64D3F462&iv=]
    This service is available from ECC 600 onwards.
    You can call the Enterprise Services using the Web Service Action block.
    Regards
    Partha

  • Hide field based in process type - GS_CM Component

    Hello.
    Currently, we need to hide a field in GS_CM/AddDoc view of component GS_CM, because it have to be based on process_type.
    In CMBO node context, we have the object_type of the transaction (TYPEID attribute), but we need the process type to evaluate to hide the field.
    Please, help.
    Regards,
    Renzo.

    Hello!!
    Problem solved!
    We apply the changes indicated in this link:
    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2013/05/13/accessing-component-controller-or-custom-controller-in-a-context-node-class
    Then, we can obtain the guid of the operation and use the FM CRM_ORDER_READ_OW for read in memory the process type of the operation .
    Thanks!
    Regards,
    Renzo.

  • Report to get WBS elements based on Project Type

    Dear Experts,
    Is there any report exists in Project Systems to get WBS elements based on Project Types.
    This we can check in the table PRPS-PRART.
    But i need to know the availability of T Code.
    Thanks in advance.
    Regards,
    Srinivasareddy Y

    Hi,
    If its a one time requirement using CN43N might help in meeting the requirement. However, first it has to be executed for a certain range of projects and then the layout will have to be changed accordingly. Instead of doing this if a custom report is developed with the input parameter as "Project Type" it would make it much more easier. You can even have the F4 search option for the input parameter. Doing this will help if the report is going to be used frequently in the future.
    Take your call and proceed accordingly.
    Regards,
    Gokul

  • BAPI function module to get condition type and its values based on delivery number?

    Hi All,
    I would like to have the BAPI function module to get condition type value based on delivery number before invoice is created.please provide detail program for as a reference .please reply as soon as possible its urgent.
    Regards,
    saaikumar.

    If you haven't already, you may first need to search via the SAP transaction "BAPI" in the area this is applicable to.  Failing that I do hope you get an answer.

  • Billing type based on plant

    Dear experts,
    The client requires the billing type to be default based on plant.
    I tried searching for it but could not find. Kindly let me know the possibility of achieving this.
    Thank you.

    Dear SCM.Sd,
    There are 2 options.
    One is standard where you will have to maintain copy control between your delivery type and all the different billing types which represent billing from each plant.(assuming that in the scenario, you have a single sales order type and delivery type).
    Now during VF01, user can manually select the billing type and do the billing .
    Else identify an exit during vf01  (creation) , and write a code to check the plant from the delivery.
    For that put the delivery number in LIKP as VBELN and fetch LIKP-WERKS.
    In the code , you will have to either hardcode the plant-billing type combination or
    it is better to maintain an Z-table where we can maintain PLANT- BILLING TYPE, so that in future when more plants are created, we can easliy maintain it here in Z-table than re-work on the code.
    So in the exit, write the code to find the Plant as per the above logic (from LIKP-WERKS) and put that WERKS in Ztable to find the corresponding billing type and input it automatically in the billing type field in VF01.
    Thanks & Regards,
    Hegal K Charles

  • Getting Red Alerts at a particular process type in Process chain

    Hi Experts,
                       In a Master data chain, We are getting 'RED' alerts in process type ''Delete Target Contents'' in which we have write optimized data.. But the data deletion of that DSO and rest processes are working fine, we can see the reports and all..but we dont understand that why this RED alert coming every day...
    Suggest on it, if any one faced this problem..
    Thanks..

    Hi,
         Yea i checked that message in which "DROP CUBE failed for the Target" but this is a Production system so we cant touch anything now because we getting the reports normally.. We want to look into the Alert with out any changes in current system..
    Thanks,

  • Output type determination in Billing document

    Hi,
    I have a query reg automatic determination of output type in the billing document. The scenario is, For an invoice, two output types are determined automatically for all invoices. But the third output type is determined based on Shipping point. For Example say, output type IFIB should be determined if Sh.pt is A and IFIT if sh.pt is B. This is controlled thru "Requirement" assigned to the output types in output det procedure.
    The problem is, for a particular document IFIB appears though the sh.pt is B, Now i have to find out whether it is determined automatically or manually. I have checked the following
    1. The "manually changed" field is not flagged in the "further data" of this output type. I believe, if it is not ticked, then the output type is determined automatically and no manual change was carried out. Am I right?
    2. When i checked the "determination analysis", I find that the output type with the message "Output ignored (Requirement not fulfilled)". If the output was determined automatically, then "output xxx found" should appear right? When the analysis says it is ignored, then how come it can appear automatically?
    I am confused over this contradictory findings. Plz tell me whether my assumptions stated above are right. Kindly suggest me alternative ways to find out whether it is determined automatically or manually? If it is determined automatically, on what conditions?
    Thanks in advance
    Suresh

    Hi Suresh,
    In an output determination, it may tell  u that the output type is ignored because of un-fulfilled requirement, but it will still automatically appear in Header-> output, but u need to check the actuall processing status, whether is 0,1, or 2. I assume for your case it will be 0 (not processed, meant for manual processing instead), 1 (processed) and 2 (error occurred).
    Another thing which is essential is that, in order to let the system successfully fulfill your determination criteria, u need to assign output type with correct access sequence, for example 1 access sequence by sales org/billing type for output, another 1 is by sales org/shipping point. Or u can simply create 1 access sequence with 2 condition tables.
    After that u need to create condition record for each output type, u do this in t-code VV31.
    By rite, during transaction (issue output), system will be able to search for those condition record and output type will be automatically appear, providing if there is any rquirement routine in your output det. proc (appl = V3) returns TRUE.
    Cheers,
    Benny Andre

Maybe you are looking for

  • SAP installation hangs while installation EHP4 ready on Solaris-Oracle

    Hi, I am in a process of installing EHP4 READY on Solaris , with ORacle database. at 13 Phase CREATE DATABASE, the installation hangs up when i check the log    ora_sql_results.log  it says    SP2-0310: unable to open file "ora_scr_tmp.sql" not getti

  • Why is Acrobat naming files like this?

    Acrobat has recently began naming files I want to save from the internet with a series of seemingly random letters and numbers. For instance, previously if I went to www.domainname.com and right clicked on a link www.domainname.com/top10acrobattricks

  • Material Master for Creating new MM Transaction for creating material

    hai techies, i have a scenario where the client is already using a transaction to catch the related fields like material number, quantity and other related fields. but until now they have been using this as a central source of point to create a mater

  • Strange new folder aliases after using Onyx

    Greetings: Shortly after using Onyx, I noticed three new folder aliases appearing in my top HD folder: "etc", "tmp", "var", which the window's drop-down menu shows belongs to a faded folder called "private". When I tried to trash the aliases I get re

  • Where is the Library in Mozilla

    Hello, 1) when I download a file, Mozilla reports that it is in the Library. Where can I find the Library, please. 2) how can I remove the passwords and usernames that automatically appears when I start a program? (IE when i start to open my emails)