Is it BADI Problem ????

hi,
i guess may be i am missing something but pl. guys check it at ur end.
i have done some coding in my PO BADI 'ZME_PROCESS_PO_CUST' in PROCESS_ITEM method,
the check works fine it also give the said error (if any),
but if i held my PO then it is saved, and when the user again go to change the said PO (only after logging again)
and he makes some changes irrespective of the Check and he saves the PO and the PO is saved bypassing the Check put in PROCESS_ITEM method, but if i put the same check in CHECK method then this is not possible.
that means if the PO is held the the PROCESS_ITEM method doesn't work.
the same thing is happening in my PR also. and in many cases also.
kindly see at ur end.
abhishek suppal

hi,
As i see your requirement is to populate some additional data to BSEG table for which you are in search of a field,
I would suggest not to use any existing field, as each and every field in BSEG is used for some purpose or other in different SAP scenarios, this would be very difficult to any one to judge and provide you a view on this, even if any one says it would be a opinion only. - This is my view of fields in BSEG.
But, there is a solution for your requirement as SAP had provided 2 additional fields in BSEG - XREF1,XREF2.(reference key 1 and reference key2 )  these fields can be used by you for filling any additional information as per your business scenario.
This is pretty much standard SAP, no enahncements and these fileds are available for inputing at the time of doucment posting also incase of manual postings.
I would feel this would suit your requirement.
Regards,
Bharathi.

Similar Messages

  • I can't open my gallery after i migrate the iphoto! How can i fix this bad problem?

    HI,
    I can't open my gallery after i migrate the iphoto! How can i fix this bad problem? Flz help me!!

    Try repair permissions with Disk Utility
    Regards
    TD

  • When i was in a phone conversation my phone has switch off and began to vibrate. I solved with a soft reset. It can be a bad problem?

    When i was in a phone conversation my phone has switch off and began to vibrate. I solved with a soft reset. It can be a bad problem?

    Is the battery charged?
    By factory reset, do you mean you "restored" the iPhone?

  • PO check BADI problem

    Hi,
    I have this problem,
    When I use me21n to create a new PO everything looks fine until I've ended filling header. When I press save button I can save a document that has no items (that is bad) because before I get a popup with warnigns, errors, etc. I get a window with save/edit/abort where save is active.
    Any help?

    Hi
    Try this ->
    1) If you have activated versioning on PO, you can get modifications with BBP_PD_PO_GET_DIFF, using the different version GUIDs.
    Otherwise you can read usual change documents (see FM BBPCHANGE_DOC_GENERAL called when you display SC or PO changes)._
    You can also look for implementing the BADI "BBPVERSION_CONTROL"_
    2) Use the FM "BBPPROCDOC_GETDETAIL" which gives the value of the details entered in PO / SC which are already there in Database._
    3) You can use the function module BBPPD_PO_GET_DIFF_ , but any way you should have different guids for the original purchase order and changed purchase order.
    Some related pointers to go through ->
    BADI: BBP_WFL_EMPL_WI_BADI - Read change document
    Re: Get PO modifications?
    how to get PO modifications when no version history exists
    Hope this will help. Do let me know.
    Regards
    - Atul

  • Custom badi problem when imported from 4.6C to 4.7

    Hi ,
    I have the following problem. I imported a custom badi from release 4.6C to a 4.7 and I see a new attribute INSTANCE_FLT_CACHE inside the generated class which is not defined inside the class private section. As a result I get a syntax error .
    What can I do?
    Thank you very much for your help.

    Hi Donatella,
    If it is an istance attribute you can declare it using the DATAstatement.
    If it is a static Attribute, the contents of static attributes define the state of the class that is valid for all instances of the class. Static attributes exist once for each class. You declare them using the CLASS-DATA statement. They are accessible for the entire runtime of the class.
    All of the objects in a class can access its static attributes. If you change a static attribute in an object, the change is visible in all other objects in the class.
    The technical properties of instance attributes belong to the static properties of a class. It is therefore possible to refer in a LIKE addition to the visible attributes of a class – through the class component selector or through reference variables, without prior creation of an object.
    if it may be useful rewards points are appreciated

  • BadI problem in MIGO

    Dear Experts,
    I need to do some validation in MIGO tcode based on item Purchase Order and item. I have already identified badi MB_MIGO_BADI and methods CHECK_ITEM also. but problem is in CHECK_ITEM method having Item Number only as Input parameter. I am unable to get PO Number and Item in this method to do validation.
    Please let me know how can i get Po number and Item in my methos CHECK_ITEM???
    Thanks in Advance,
    Siva

    Hi Siva,
    Check like this
    CALL METHOD im_header->get_items
    RECEIVING
    re_items = lt_items. If you use this method you can not get po no.
    Suppose if your business requirement is to check when ever an item enter in line then you can use line_modify.This will fire when ever you enter line item.In this case you can use parameter cs_goitem for po reference.If there is any macro available then easy to give the message.
    Regards,
    Madhu.
    Edited by: madhurao123 on Sep 26, 2011 11:20 PM

  • BADI Problem In QA01

    Hi All,
    i have to add some custome fields in QA01/QA02/QA03 so i am using BADI Definition QPL1_SUBSCREEN_ADDON and created its implementation also but problem is that now i want to add custom fields appended in CI_QALS in screen number 212 but it is coming in only display mode and it is asking for access key. can anyone please tell me that how can i add those custom fields in that screen?
    regards.

    You have to maintain a customer program and subscreen in the BADI implementation in the Subscreens tab. The custom subscreen will then be called by screen 212.
    Hope that helps.

  • CRM BADI Problems

    We have created a bespoke copy control routine to copy the order reason from one transaction to another. Within the routine we have put BREAK-POINT, but this break point is never being executed, so I assume the routine is not being called.
    The implementation name is ZCRM_COPY_CREDIT_MEM. The definition name is CRM_COPY_BADI.
    We have changed the SUBJECT method to include the following code:
    METHOD if_ex_crm_copy_badi~subject .
    Copy the Analysis Code "Order Reason" to Credit Memo
    Request analysis code "Activity Reason".
      DATA: ls_subject TYPE crmt_subject_wrk.
      BREAK-POINT.
    Ensure the analysis code is for Order Reason "ZT"
      LOOP AT it_ref_subject INTO ls_subject WHERE katalogart = 'ZT'.
    Populate the target structure from the Query source data
      ENDLOOP.
    ENDMETHOD.
    According to SE19 this implementation is active, and I have checked that the routine is being used in copy control.
    Any ideas?

    Hi Avinash,
    I am looking for your help
    Were you able to solve your  problem. Were you able to get your debugger in the Date method in the BADI CRM_COPY_BADI.
    I have implement the date method in the above Badi but this method is not getting called , could you please tell me what could be the problem.
    Waiting for your prompt reply
    Thanks and regards
    Sandeep

  • Bad Problem with Dropped Frames

    I'm running FCP 6 on my 2GHz Intel Core Duo Macbook. I've got IGB 667 MHZ RAM.
    I hadn't been having problems all day when all of the sudden, BAM, every 1 or two seconds I get the Dropped Frames error.
    This happens when I am editing MPEG4 video. I get the dropped frames both with and without audio. There are no other sequences or programs open.
    Would this problem arise from taking multiple shots from a single clip?
    It's getting pretty bad guys, so any ideas are welcome.
    thanks.

    OK, i think i've figured out what the problem may be. When i added an MPEG 4 clip to the sequence in question, a window popped up asking me if I would like to change my timeline settings to match the clip. I said yes. Whatever was changed by this is what is causing the problem.
    What would this have changed and how can i change it back?

  • Dragon Writer MS-8348B having some bad problems.

    I actually don't have the 8348B, I have a Verbatim but it's the same rebaged drive(BenQ 4816p) and I'm having alot of problems, mostly the same problems that other people are having.  The drive initially would recognize some cheap media at 40x MAX but when I tried to write at that speed the drive makes a loud buzzing noise(like really fast clicking), and when it was done writing I look at the media and only see sporatic written dat on it, it's skipping all over the place.  When I tried to write at a slower speed(16x) it either writes really slowly (slowing down to 1x or 2x) or it just burns coasters.  I have the A.UZ driver, should I expect this to happen continuously or is it just my media that's bad?

    I had the exact same thing, I returned it back to the store I bought it from and I'm supposed to get a new one in three weeks.
    P.S. Has this drive done it since you bought it or did this just start recently?

  • Bad problem with crashes - how to troubleshoot?

    Hi,
    I'm a new user and I'm having a lot of trouble with Premiere Pro CS6 crashing. It's so bad that I am thinking I might have to go back to FCP7 until I can get it sorted out. Can someone tell me where to begin troubleshooting this problem?
    I'm on a MacPro mid 2012, 24 Gb RAM, using ATI Radeon HD 5870.
    The OS is OSX Lion 10.7.4
    I'm using Premiere Pro 6.0.1
    It doesn't seem like I'm doing anything particularly special when the crashes occur. This morning, I just had three crashes in the space of about five minutes. I was looking at the audio waveform of a clip and adding markers so I could shorten the soundbite. It didn't seem to like me adding markers.
    Thanks so much.
    - C
    Update: It now crashes almost every time I add a marker to the audio waveform. Sometimes I get to hit save fast enough, sometimes not. If I look in Console, it says "invalid drawable." Not sure where to begin dealing with this.

    It's because you have a Mac....Sorry I had to.
    I had a similar problem with Premiere CS4, although not to the extent of your situation. The two things that seemed to fix it for me was first to upgrade the RAM (which likely is not your problem) and second to reinstall Premiere. It's a pain, but I think I might have just had a buggy install the first time.
    Hope you find a fix! Premiere is an excellent program!
    -Barrett

  • BADI:problem with creating a new tab in BADI

    Hi
    I'm new to BADI's.
    i have a requriement to add a new tab in the MIGO transaction and add a field in that new tab .
    my Functional specification author is suggesting to use the BADI "MB_MIGO_ITEM_BADI" to create a new TAB .
    But i'm not find any function code availale in this BADI .
    Can anybody tell me how to use this BADI "MB_MIGO_ITEM_BADI" to create a new TAB .
    Also can anybody provide me any documentation available in designing a new TAB or new screen using BADI's ?

    Hi pawan
    Try this badi :   MB_MIGO_BADI  -
    (BAdI in MIGO for External Detail Subscreens)  as the name suggest ,
    If you want to add a screen in header level use : Method : PBO_header an code as :
        e_cprog   = 'ZMMPRM0001'.     """ Your screen created
        e_dynnr   = '1000'.                     "Your screen No
        e_heading = 'TEXT ID '(004).    """" Name of the screen to be created .
      ELSE .
        e_cprog   = 'ZMMPRM0001'.
        e_dynnr   = '1000'.                     "External fields: Display
        e_heading = 'TEXT ID '."(004).
    or if at item level
    u can use methid : PBO_DETAIL
    for item level screen creation . and code in the same maaner ..
    You can explore the remaning methods as per your requirements .
    Hope it helps ..!
    Regrads
    Swapnil P KAmble

  • I have a very bad problem with java I try many solution but all the solution failed

    Hello friends,
    My system  10.8.3 Macbook pro
    I try many solution in the 
    Hello friends,
    My system  10.8.3 Macbook Pro, I use Safari 6.0.3
    Java is not working.
    I try many solution in the  internet but nothing work with me , And I feel very sad
    One of the famous solution I try in this link: http://support.apple.com/kb/HT5559
      I download Java OS x 2013-002 and Java 7.17
    after that i do what is written here : http://support.apple.com/kb/HT5559 Also failed.
    Sometime I think to sell my new Macbook Pro because of this problem
    I hope that any one can help me ?
    Thank you
    Soso

    I check what java I have by this way: https://service.parachat.com/knowledgebase/211/How-do-I-check-which-Java-version -is-installed-on-my-Mac.html
    java version "1.6.0_43"
    Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-11M4203)
    Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode)
    sos-macbook-pro:~ so$

  • BADI problem

    Hi
    I have to use  standard badi FI_INT_CUS01, can any body tell how to define it and implement it.
    rgds

    Hi Anup,
    Hope this example will be usefull for u.
    DEFINING THE BADI
    1)        execute Tcode  SE18.
    2)        Specify a definition Name : ZBADI_SPFLI
    3)        Press create
    4)        Choose the attribute tab.  Specify short desc for badi.. and specify the type :
    multiple use.
    5)        Choose the interface tab
    6)        Specify interface name: ZIF_EX_BADI_SPFLI and save.
    7)        Dbl clk on interface name to start class builder . specify a method name (name,
    level, desc).
    Method                   level                                      desc
    Linese;ection        instance methos                 some desc
    8)        place the cursor on the method name desc its parameters to define the interface.
    Parameter                       type                            refe field                        desc
    I_carrid                          import                       spfli-carrid                     some
    I_connid                         import                      spefi-connid                   some
    9)        save , check and activate…adapter class proposed by system is
    ZCL_IM_IM_LINESEL is genereated.
    IMPLEMENTATION OF BADI DEFINITION       
    1)        EXECUTE tcode se18.choose menuitem create from the implementation menubar.
    2)        Specify aname for implementation ZIM_LINESEL
    3)        Specify short desc.
    4)        Choose interface tab. System proposes a name fo the implementation class.
    ZCL_IM_IMLINESEL which is already generarted.
    5)        Specify short desc for method
    6)        Dbl clk on method to insert code..(check the code in “AAA”).
    7)        Save , check and activate the code.
    Now write a sample program to use this badi method..
    Look for “BBB” sample program.
    “AAA”
    data : wa_flights type sflight,
    it_flights type table of sflight.
    format color col_heading.
    write:/ 'Flight info of:', i_carrid, i_connid.
    format color col_normal.
    select * from sflight
    into corresponding fields of table it_flights
    where carrid = i_carrid
    and  connid = i_connid.
    loop at it_flights into wa_flights.
    write:/ wa_flights-fldate,
    wa_flights-planetype,
    wa_flights-price currency wa_flights-currency,
    wa_flights-seatsmax,
    wa_flights-seatsocc.
    endloop.
    “BBB”
    *& Report  ZBADI_TEST                                                  *
    REPORT  ZBADI_TEST                              .
    tables: spfli.
    data: wa_spfli type spfli,
    it_spfli type table of spfli with key carrid connid.
    *Initialise the object of the interface.
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    selection-screen begin of block b1.
    select-options: s_carr for spfli-carrid.
    selection-screen end of block b1.
    start-of-selection.
    select * from spfli into corresponding fields of table it_spfli
    where carrid in s_carr.
    end-of-selection.
    loop at it_spfli into wa_spfli.
    write:/ wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-deptime,
    wa_spfli-arrtime.
    hide: wa_spfli-carrid, wa_spfli-connid.
    endloop.
    at line-selection.
    check not wa_spfli-carrid is initial.
    create object exit_ref.
    exit_ref1 = exit_ref.
    call method exit_ref1->lineselection
    EXPORTING
    i_carrid = wa_spfli-carrid
    i_connid = wa_spfli-connid.
    clear wa_spfli.
    regards,
    Srinivas

  • Exit or badi problem about migo

    I hope i can get the material document after migo operation in exit or badi ,which exit or badi i can use it ?now i finded the badi which is MB_MIGO_BADI and i use POST_DOCUMENT method,but i can only get the document before actual document  create ,i want to get the document after actual document  create,
    please give me some clue or solve way,thank you very much!

    Hi,
    Check the BADI MB_DOCUMENT_BADI the method is MB_DOCUMENT_UPDATE..
    Also check the user exit EXIT_SAPLMBMB_001..
    In this BADI / Userexit..The material document number is available..
    These are called in the Update function module MB_POST_DOCUMENT.
    Thanks,
    Naren

Maybe you are looking for

  • Error while installing addon in Citirx environment

    Hi, We are getting the following error while installing our addon in Citrix environment. CustomerLibrary: Error during Addon Installation Object reference not set to an instance of an object. The addon runs from within SAP and after the error we can

  • 30EA3: Monitor sessions grid freezes when scrolling lo last session

    Hi, I've found an issue with the Monitor Sessions grid. Steps to reproduce the problem (scenario I have tested an reproduced the issue) 1. Open monitor sessions window 2. Order the grid by "OS User" column (In this scenario, my "OS user" is the last

  • Click/Drag multiple emails?

    How do you click/drag multiple emails in Mail.app in Mountain Lion? In Lion I used to be able to click and drag, highliting multiple emails to be able to drag to trash - I can't seem to get that function to work in Mountain Lion.

  • Expdp/impdp error

    Hi Aman, Sorry about that. Posting it as new one: SQL> ALTER USER SCOTT DEFAULT TABLESPACE TEST; User altered. SQL> ALTER USER TEST DEFAULT TABLESPACE TEST; User altered. SQL> ALTER TABLESPACE TEST 2 STORAGE 3 MAXEXTENTS UNLIMITED; STORAGE ERROR at l

  • Where can I see the calculation of annual regular income?

    Hi Experts, Where can I see the calculation of annual regular income? Is it possible to see it in Payroll log ? In Form 16 Gross Emoluments is not matching with the total Emoluments paid, coming in page 4 of Form 16. Please advise what may be the pro