BBP_CATALOG_TRANSFER  - Determine the caller / document type

Hi Gurus,
I need to implement a logic which should be triggered (during catalog transfer) for limit confirmations only (One can add items from catalog when doing limit confirmations). However i do not the confirmation guid / PO number etc in the interface of the badi  - BBP_CATALOG_TRANSFER.
The field is_admin_data-HEADER_GUID is also blank?
I would like to have Conf guid / PO+item  number in this badi to implement my custom checks?
Edited by: Amit Jain on Aug 15, 2011 8:43 AM

Hi Amit,
Statement sy-tcode might be available and should let you control whether the user is in the limit confirmation transaction?
If the required statements aren't available you need to look in to implicit enhancements for the function modules involved.
Kind regards,
Tim

Similar Messages

  • Customs document type cannot be determined for external document Type F8

    Hello Experts
    Need help
    I am trying to transfer F8 to GTS 10.1 and getting following message in GTS  Transfer log for export:
    Customs document type cannot be determined for external document Type F8
    New implementation
    GTS 10.1 running with SP 12
    ECC side Plug-In settings are fine. BAdi is Active.(There is no document mapping for F8/CUSDEC as it is not required in 10.1)
    GTS side configurations are also fine. Checked several times by 4 sets of eyes!!
    (Include general settings configurations, Customs communication configurations:)
    (Defining technical medium, conditions/output parameters, defining messages for communication process,
    defining determination for activity sequence and control settings for communication process)
    Despite this I am not able to trnasfer F8 successfully
    Can someone throw some light on this issue please?
    Keshav Murthy
    [email protected]

    Hi Dhilipan
    Here we go..
    You asked me to check the following
    Please check following things
    1) Legal regulation is activated. - Yes Activated
    2) Process template assigned to the legal regulation - Yes Assigned
    3) Activity Sequence determination - Yes done
    4) Open the activity sequence in under Control settings for Communication processes and check if there is a document type assigned to it. Table- /SAPSLL/TLEPAF - Yes done.
    It is really puzzling.
    Thanks
    Keshav Murthy

  • How to flip the FI document type assigned in sales billing type

    Hi Expart,
    We have a special requirement here,as per client requirement we need to flip the FI document type assigned in sales billing type screen (VOFA). The requirement has came because the billing type is used for one company code XXXX, and we need to use the same billing type with different FI document type  for another company code YYYY. Since we can't assigned two FI document types in biling document, i belive this can be done only through user exit, pl help me to get the applicable user exit in SD.
    Thanks
    Garima.

    Hi,
    The user exit (T.Code SMOD) u201CEXIT_SAPLV60B_001u201D, with include u2018ZXVVFU01u2019, will be  implemented. In user exit code will be written, as if company code found as u2018YYYYu2019 and Sales Doc type found as 'AAA' the FI document determine as u2018Z2u2019 in place of default value coming from one-to-one mapping u2018Z1u2019 (FI Document).
    IF VBRK-FKART EQ 'AAA' AND VBRK-BUKRS EQ 'YYYY' AND XACCIT-BLART EQ 'Z1'.
    XACCIT-BLART = 'Z2'.
    hope this will help.
    regards
    Vivek.

  • What are the img setting to be fullfilled while copy the Sales document typ

    Hi What are the setting to be fullfilled while copy the sales document type and item category.
    Note:  I have already copied, but unable do the PGI(Post goods issue),  and Billing.
    Thanks
    Prasanna

    Hi
    Answer for this Question.
    we have set the copy control for sales order type and delivery and billing
    Regards
    Prasanna R

  • [SOLVED] ERROR: Unable to determine the file system type of /dev/root:

    :: Running Hook [udev]
    :: Triggering uevents...done
    Root device '804' doesn't exist.
    Creating root device /dev/root with major 8 and minor 4.
    error: /dev/root: No such device or address
    ERROR: Unable to determine the file system type of /dev/root:
    Either it contains no filesystem, an unknown filesystem,
    or more than one valid file system signature was found.
    Try adding
    rootfstype=your_filesystem_type
    to the kernelcommand line.
    You are now being dropped into an emergency shell.
    /bin/sh: can't access tty; job control turned off
    [ramfs /]# [ 1.376738] Refined TSC clocksource calibration: 3013.000 MHz.
    [ 1.376775] Switching to clocksource tsc
    That's what I get when I boot my Arch system. It worked fine for quite a while, but suddenly it ran into an error where the SCSI driver module was corrupt. I fixed it by reinstalling util-linux-ng and kernel26, however, I run into this issue now. http://www.pastie.org/2163181 < Link to /var/log/pacman.log for the month of July, just in case. Yes, I bought a new ATI/AMD Radeon HD 5450 this Saturday, but it seemed to work fine till this broke and it works fine on Ubuntu too, so I suppose we can rule it out.
    Last edited by SgrA (2011-07-05 20:45:36)

    Autodetection failed on your first image, in both your previous kernel installs:
    [2011-07-04 16:14] find: `/sys/devices': No such file or directory
    Which means that sysfs was not mounted. You should be able to boot from the fallback image, which does not use autodetect. Figure out why /sys isn't mounted, as well, and fix that.
    This is also a somewhat crappy bug in mkinitcpio that lets you create an autodetect image that's useless. It'll be fixed in the next version of mkinitcpio that makes it to core.
    Last edited by falconindy (2011-07-04 17:41:19)

  • Change the reverse document type for RE.

    Hi,
    We want to change the reverse document type for document type RE, can any one sugget the possible negative impact.

    hi
    kindly note that if you are creating a new document type to be assigned as the reversal document type for RE then you need to assign the appropriate number range interval for the year.
    if you are going to assign an existing document type as the reversal document type for RE then you will not be able to distingush the past and the new documents generated as both of them shall belong to the same document type.
    regards
    eashwar
    Edited by: eashwar1 on Apr 15, 2010 2:38 PM

  • This error is often caused by incorrect use of the "Strict" document type

    Okay...so I have 6 errors - all the same and has to do with my document type.
    I've searched the code and I am using a transitional doc type so why the errors?
    http://02cada7.netsolhost.com/Stasik_Family_Website/index.html

    Yeah I did that...but the cause doesn't make sense to me.
    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    I'm not using a strict document time - I am using transitional and I am not using proprietary extensions.

  • Example for calling document type service using a XML

    Hi,
    Can anybody give me some pointers to any examples about Document type webservice
    that is passed an XML document? The service expects a custom java object.
    I am running WLS 7.0 with sp2.
    This is what i have done so far:
    I have created a document type web-service with the following signature
    public CustomReturnObject provideService(customParameter) { }
    The 'customParameter' is based on a "CustomParameter.xsd" and 'CustomReturnObject'
    is based on its schema. I ran the "autotype" to generate the java classes for
    the schema.
    Now, we would like to invoke the service by passing an XML document instead of
    calling it by creating instances of "CustomParameter" java class. Also we would
    like to get the XML represented by "CustomReturnObject" in the client program
    instead of the java object.
    Can anybody help?
    Thanks
    Raghu

    The latest version of WLS is 8.1.
    I think the the "endpoint" needs to be string.
    String endpoint =
    http://RASUBR-2K:7001/SubscriptionServicesWS/SSApplicationService.jws;
    Regards,
    -manoj.
    http://manojc.com
    "Raghu Subramaniam" <[email protected]> wrote in message
    news:[email protected]...
    >
    SAAJ did work!
    But it is not working with the BEA client libraries (WLS 8.0 Beta). I amgetting
    the following exception
    exception ejava.lang.IllegalArgumentException: endpoint shou
    ld be String or URL
    java.lang.IllegalArgumentException: endpoint should be String or URL
    atweblogic.webservice.core.soap.SOAPConnectionImpl.call(SOAPConnectionI
    mpl.java:43)
    at TestMain.main(TestMain.java:51)
    Attached is my test file.
    I used the libraries from Sun's web services kit and it works.
    Is it a known problem? Any fixes?
    Raghu
    "manoj cheenath" <[email protected]> wrote:
    SAAJ will work. You can also use DII client with
    generic type mapping. Check this out:
    http://manojc.com/tutorial/sample27/Main.java
    Regards,
    -manoj
    http://manojc.com
    "Raghu Subramaniam" <[email protected]> wrote in message
    news:[email protected]...
    But how did you call the web service. Did you use the stubs in yourclient
    code?
    We don't want to use the stubs generated from "clientgen". Rather wantto
    call
    the service by passing a XML string that adheres to our schema expectedby
    our
    service. Our service is document-style.
    I am trying to use the SAAJ api to generate a SOAPMessage and callthe
    service.
    Anybody has tried this before. Does it work?
    Raghu
    "Mike DeAngelo" <[email protected]> wrote:
    I just did this the first time a few weeks ago, but I had some
    gotchas...
    >>>>
    First, run the autotype ant task against your xsd file to generateyour
    value
    objects (I think you already did this).
    Second, write your java class or EJB to use the value objects asparameter/return
    type. (I think you did this too.) If you are going to invoke anEJB,
    create
    the EJB-Jar file.
    Third, use the servicegen ant task to create the an ear file. Theear
    file will
    contain both the ejb-jar and file webservice.war which is generatedby
    weblogic.
    Fourth, unbundle the ear file, then unbundle the war file. Edit the
    file WEB-INF/web-service.xml
    Add the contents of your original xsd under the <types> element (iftypes
    doesn't
    exist, it should be the first subelement under the root element).Add
    the contents
    of types.xml (generated by autotype) to the <type-mapping> element(It
    should
    be the second element under the root element.
    Rebundle the war file, rebundle the ear file, and deploy it.
    Here is a fragment of the ant stuff...
    <taskdef name="servicegen"
    classname="weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask"/>
    <target name="check-servicegen" depends="stage">
    <uptodate property="servicegen.notRequired"
    targetfile="${stage}/my_webservice.ear"
    srcfile="${stage}/my_ejb.jar">
    </uptodate>
    </target>
    <target name="servicegen"
    depends="check-servicegen"
    unless="servicegen.notRequired">
    <servicegen destEar="${stage}/my_webservice.ear"
    warName="my_webservice.war">
    <classpath refid="compile.classpath"/>
    <service ejbJar="${stage}/my_ejb.jar"
    targetNamespace="http://foo/bar/baz"
    serviceName="process"
    serviceURI="/process"
    generateTypes="False"
    expandMethods="True"
    style="document">
    </service>
    </servicegen>
    </target>
    Mike
    "Raghu Subramaniam" <[email protected]> wrote:
    Hi,
    Can anybody give me some pointers to any examples about Document
    type
    webservice
    that is passed an XML document? The service expects a custom javaobject.
    I am running WLS 7.0 with sp2.
    This is what i have done so far:
    I have created a document type web-service with the following
    signature
    >>>>>
    public CustomReturnObject provideService(customParameter) { }
    The 'customParameter' is based on a "CustomParameter.xsd" and'CustomReturnObject'
    is based on its schema. I ran the "autotype" to generate the javaclasses
    for
    the schema.
    Now, we would like to invoke the service by passing an XML documentinstead
    of
    calling it by creating instances of "CustomParameter" java class.
    Also
    we would
    like to get the XML represented by "CustomReturnObject" in the client
    program
    instead of the java object.
    Can anybody help?
    Thanks
    Raghu

  • User Exit for PO Calculation Schema Determination by PO Document Type

    Hello,
    Due to complex pricing requirements for both standard inbound purchase orders and return to vendor purchase orders, we need two separate calculation schemas to be applicable to each vendor.
    I have configured the primary calculation schema (ZM1000) which is correctly calculated on our standard purchase orders.  Through ENHANCEMENT-POINT mepo_header_fill_neu_01 SPOTS es_saplmepo (program SAPLMEPO) we have implemented code to change the calculation schema to the return schema (ZM1002) if the document type is one of our return purchase order types.
    ENHANCEMENT 1  ZMEEI_PO_PRICE_SCHEMA_DETM.    "active version
    IF fekko-bsart eq 'ZR1' or fekko-bsart eq 'ZR2' or fekko-bsart eq 'ZR3' or fekko-bsart eq 'ZR4'  .
         fekko-kalsm = 'ZM1002'.
    ENDIF.
    ENDENHANCEMENT.
    We are facing an issue where once the data is correctly entered into the return PO and the pricing has been determined there are errors.  The following is observed in the pricing analysis:
    1)  The correct calculation schema is determined (ZM1002).
    2)  Pricing conditions which have a condition record under the main calculation schema (ZM1000), but which do not exist in the return one (ZM1002) still appear in the pricing.  This is an issue.
    3)  Price conditions which have a condition record under the new schema (ZM1002), and which should appear, receive the message "Condition record exists, but has not been set".  This is an issue.
    When the pricing is re-determined manually at the line item level, it recalculates correctly and issues 2 and 3 above are adjusted accordingly.
    Question:
    Is there something missing in our code above which is cause these issues or is there a better user exit we should be using to address this requirement?
    Thanks in advance!

    Melih
    What we ended up doing was using ENHANCEMENT-POINT item_process_main_01 SPOTS es_saplmepo (program SAPLMEPO) to re-price the line items automatically when processing.  This solved our issue.
    IF EKKO-BSART = 'ZR1' or EKKO-BSART = 'ZR2' or EKKO-BSART = 'ZR3' or
    EKKO-BSART = 'ZR4'.
    lf_ext_calctype = 'C'.
    ENDIF.

  • How to block one of the purchasing document types for certain period

    My client asked me to block the one of the purchase order documents for certain period.In what way i can do it? and also it shouldn't be displayed in the purchase documents list when we do me21n?
    Advanced thanks,
    Sateesh

    Hi Sateesh,
    Here u cann't block the Document type,
    U can do this,only the way to delete that document type for certain peroid.
    Thanks & Regards
    Suresh
    > My client asked me to block the one of the purchase
    > order documents for certain period.In what way i can
    > do it? and also it shouldn't be displayed in the
    > purchase documents list when we do me21n?
    >
    > Advanced thanks,
    > Sateesh

  • PO Item Goods Receipt indicator change based on the PO document type

    Hi All,
    Our requirement is for a particular PO document type the PO Item Delivery tab > goods receipt indicator needs to be set as blank and the field should be greyed.
    For this PO type we are usign the account assignment category K and F. We cannot remove the Goods receipt indicator from this account assignment in SPRO because this is the central change and it will affect other Purchase organizations.
    We are using the R3 4.6c Version.
    We tried the User Exit "MM06E005" with exit FM "EXIT_SAPMM06E_016" but this cannot be used to changed the PO Item standard fields.
    Badi ME_PROCESS_PO_CUST not exist in R3 4.6c.
    Is there any other solution avl to meet out requirement.
    Thanks & regards.
    Madhan.

    Hi,
    I think you have posted the question in the wrong Forum.

  • Substituion of the FI Document type from MM posting

    Dears,
    we are actually in the need of posting movement type 562 and would like to assign a specific document type when certain conditions are met.
    In transaction OMBA document type WA is associated to the goods receipt (which is the task that is being carried out with movement 562) and we would like to substitute it with a custom document type when posting the document that meet particular criteria such as Plant and G/L account.
    I have tried to create a substitution from standard transaction OBBH but, if I create it at line item level, I am not able of selecting the BLART field (since it is part of the header data) while if I create it at header level I do not have the necessary information (such as plant and G/L account) and it's not possible to select the document type as a field to be substituted.
    Do you think that it would be possible to achieve my objective by creating a substituion at line item level that has, as prerequisite, the plant and G/L account, and a UEXIT as substitution?
    Do you have any other suggestion to solve this issue?
    Thanks and best regards
    Davide

    Hello Davide,
    You can try to change the attribute to the BLART and make it subsitutable (by maintaining VWTYGB01 view via SM30) and build your subsitution on complete document, but I doubt if SAP will allow to substitute such sensitive field.
    Regards,
    Eli

  • Document number disrepencies for the same Document Type

    Dear All,
    I found an issue with Document number range with document type SA wherein last month document posted starts with 1431..... and in current month document posted starts with 1400..... how can this be possible?  NOTE: The same document number range is attached to another document type as well.

    Refer SAP Notes
    1828201 - Missing document numbers for accounting documents
    175047 - Causes for FI document number gaps (RF_BELEG)
    1522367 - Document number gap reason and analysing method

  • Changing the material document type.

    Hi All,
    While creating a GR using the FM "BAPI_GOODSMVT_CREATE", is there any way we can set the document type (WE or WN) depending upon the company code.
    Thanks in Advance
    Someswara

    Hi,
    The short answer is no, the document types are not, and should not be, company code specific, they relate to the movement taking place rather than the company involved.
    Why would you want to use a different document type?
    I would imagine that it was to segregate the different company codes but surely the company code is part of the data anyway and can be  used for this purpose?
    Steve B

  • VKM1 Block/Release Sales Order depending on the FI Document Type

    Hi guys
    I need to configure the R/3 4.6C to block in VKM1 (for Credit Management) only the Sales Orders that have specific FI Document Types in FBL5N. I mean, I don't want to block documents for Static Checks (defined in OVA8) if there are only Credit Memos for the customer in FI, for example.
    Is there any way to do this configuration?
    I believe I will have to use the USER EXIT enabled in OVA8, but I need to be sure that there is no other way to do this.
    Best regards,
    Adilson Ferreira

    Hi
    I am not sure about your requirement. But If you want to exclude certail FI Transactions from Credit check, then you can configure the G/L accounts with the NO credit Check indicator ON.
    Example, for Special Transactions like Downpayments, you can set the no credit check indicator ON in OBXR.
    Otherwise, using the User exit option is always there
    Hope this helps

Maybe you are looking for