Correct user exit need for vl32n - post goods receipt.

Sorry this is not the correct forum . SO please don't look in to this
For vl32n , upon "Post goods receipt" button click, I was  writing code in "mv50afz1" ...Basically in the  "mv50afz1" program, I am clearing the value of batch(charg) and the same batch value I am assigning to vendor batch(am doing by moving xlips-charg value to xlips-lichn).
But the thing is my logic should be written in one of the userexit before this user exit( Why because  SAP generates one batch on it's own and assigns that to batch if it the batch field in vl32n is space - If batch field is not space SAP's generated batch won't be assigned - So I need to make the batch value space in vl32n upon click of "Post goods receipt" button to allow assignment of SAP's batch).
So could you please suggest me is there any user exit available for this ? 
THANKS.
Edited by: sam kumar on May 8, 2009 7:22 PM

I am sorry this i snot the correct forum.

Similar Messages

  • BAPI needed for VL32 (Post goods receipt) and VT02 shipment transaction

    Hi,
    We are currently updating quantities and Performing a Post Goods Receipt against all associated inbound deliveries using BDC (VL32).
    Also, updating the completion date of associated shipments by BDC (VT02).
    As part of upgrade intiative ECC 6.0, we are trying to avoid BDC and looking for suitable BAPI's for the above tasks.
    Please help us in this regard,
    Thanks,
    Madhan.

    Hi,
    Please look following BAPI in Tcode BAPI.
    For Transport
    go tp Tcode BAPI --- > Logistic Exection ---> Transportaion .
    For Billing.
    go tp Tcode BAPI --- > Logistic Exection -> Shopping- >Inbound Delivery
    You find many more BAPI in this Transaction.
    BAPI for PGi is BAPI_GOODSMVT_CREATE.
    To change the header details of a shipment use
    SD_SHIPMENT_HEADER_CHANGE
    To change the stage data use
    SD_SHIPMENT_STAGE_APPEND
    SD_SHIPMENT_STAGE_CHANGE
    SD_SHIPMENT_STAGE_CHECK
    SD_SHIPMENT_STAGE_DELETE
    SD_SHIPMENT_STAGE_INSERT
    To add deliveries to shipment use
    SD_DELIVERY_ASSIGN_TO_SHIPMENT
    Thanks & Regards.
    ShreeMohan
    Edited by: ShreeMohan Pugalia on Jul 17, 2009 8:18 AM

  • Correct User Exit search  for a Buisness Process..

    Hi Team,
    Can someone please explain me how should i go about to search for the correct User Exit running behind a Process(A buisness Process )  which would require certain enhancements ..
    Thanks .
    Regards,
    SK

    Hi,
    Go to SE93, and give the t.code which you want
    Then take the package and go to SMOD
    There click F4 for enhancements, then click on information system, there you give package and enter
    Now, you will get corresponding exits.
    this is one way.
    other way is  we need to check whole program or exit
    go to that t.code, goto system -->status .There find out the prog name.
    Then double click the program name.
    In attributes  teb, you find the package.
    go to SMOD, press F4 and input package
    Hope this helps
    Regards,
    Anbu

  • User exit needed for KDMAT (customer-material number )

    Hi! I need to find a user exit for filling in the customer-material number (KDMAT) in the Sales order. If there is not a cutomer material info record, the filed should be filled in with the Old material number from the Material master (MARA-BISMT). Does anyone knows such a user-exit.
    Thanks

    You can try with any of the following sale order user exits
    -  User exits in the program MV45AFZZ - USEREXIT_READ_DOCUMENT
    -  User-Exits in program MV45AFZB - USEREXIT_CHECK_VBAP
    -  User-Exits in program MV45AFZB - USEREXIT_CUST_MATERIAL_READ
    thanks
    G. Lakshmipathi

  • Need Acknowledgement When Posting Goods Receipt Document

    Hi,
    My scenario is i want to post the Goods Receipt Document using an idoc MBGMCR02. After posting if any error occurs  i want acknowledgement file describing the error. How can i achieve this. Kindly suggest.
    Regards,
    Venkat

    Hi Venkat !
    acknowldegement in the file to idoc scenario using BPM
    file adapter supports only transport ack,not application ack.
    /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
    Do the steps given in the help link for acknowledgement
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm
    also look at this Thread discuss the same
    Process Integration (PI) & SOA Middleware
    Thanks !!

  • Issue with MIR7(BADI or User exit needed for stop SO data updating)

    Hi,
    While using MIR7 to post invoice, corresponding sales order item data is changed ,such as 'Billing date'.
    We don't want this happen. Please let me know if there is any BADI or Uer exit for achieving this. Thanks in advance..
    Regards..

    Hi,
    These are all BADI/Exit of MIR7 transactions.
    MRM_TRANSACT_DEFAULT
    MRM_HEADER_DEFAULT
    WRF_PREPAY_INVOICE
    MRM_ITEM_CUSTFIELDS
    BADI_FDCB_SUBBAS01
    BADI_LAYER
    BADI_FDCB_SUBBAS02
    BADI_FDCB_SUBBAS03
    BADI_FDCB_SUBBAS04
    BADI_FDCB_SUBBAS05
    PPA_CUST_BADI
    FI_TRANS_DATE_DERIVE
    Thanks ,
    Abhijit

  • User Exit or BADI while posting GRs.

    HI all,
    I am looking for a User Exit or BADI while posting Goods Receipts for Purchase Orders.
    I need to change the <b>POSTING DATE</b> on the receipt for certain document types.
    i found a user exit : MB_CF001, but this is not allowing me to change the posting date on the material document.
    Thanks for your help in advance.

    Hi Ravi,
                      This is ULitity program which takes Tcode or program name as a input and gives the BADI existing in the program. Please Allocate me the point if it is usefully to you
    REPORT ZBADI_CHECK .
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.

  • Post Goods Receipt with HU

    Hi,
    I need to do Post Goods receipt for HU ( inbound delivery).
    I'm using the fn module WS_DELIVERY_UPDATE_2.
    For that,i've updated the vbkok_wa structure with the below data
      i_vbkok-vbeln    = delivery number
      i_vbkok-lgnum    = warehouse
      i_vbkok-SPE_AUTO_GR = 'X'.
    Please let me know what all parameters are required to be updated for the fn module WS_DELIVERY_UPDATE_2 to do post goods receipt for hu.
    Thanks and regards,
    Poornima
    Edited by: poornima v on Jun 17, 2009 4:45 PM

    Hi,
    I need to do Post Goods receipt for HU ( inbound delivery).
    I'm using the fn module WS_DELIVERY_UPDATE_2.
    For that,i've updated the vbkok_wa structure with the below data
      i_vbkok-vbeln    = delivery number
      i_vbkok-lgnum    = warehouse
      i_vbkok-SPE_AUTO_GR = 'X'.
    Please let me know what all parameters are required to be updated for the fn module WS_DELIVERY_UPDATE_2 to do post goods receipt for hu.
    Thanks and regards,
    Poornima
    Edited by: poornima v on Jun 17, 2009 4:45 PM

  • User exit for post good receipt for tcode VL32n(inbound delivery)

    HI,
    I need a user exit which should get triggered when the user hit the button "post good receipt" under tcode VL32N. I appreciate your help.
    Thanks,
    Sanjay

    Hi,
    Here is the list
    Enhancement                                                                               
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)       
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)       
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)      
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc           
    V53W0001                                User exits for creating picking waves                       
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot     
    V53C0001                                Rough workload calculation in time per item                 
    V50S0001                                User Exits for Delivery Processing                          
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List     
    V50R0002                                Collective processing for delivery creation                 
    V50R0001                                Collective processing for delivery creation                 
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields     
    V50PSTAT                                Delivery: Item Status Calculation                           
    V02V0004                                User Exit for Staging Area Determination (Item)             
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination                
    V02V0001                                Sales area determination for stock transport order                                                                               
    Business Add-in                                                                               
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing                       
    DELIVERY_PUBLISH                        Announcement of delivery data during database update        
    Shib

  • User Exit needed updating Order Reason for Sales order

    Hi,
      we have a requirment wherein we need to update the Order Reason of a sales order(present in the Sales tab) by a default value if the sales order is of type ZDR(debitmemo order type).Which is the user exit responsible for this?if theres no user exit what is the other alternative?
    Thanks,
    Rakesh.

    Hi,
    You can use the User Exit Include MV45AFZZ of Main Sales order program SAPMV45A,
    Use the form FORM USEREXIT_MOVE_FIELD_TO_VBAP     or
    FORM USEREXIT_SAVE_DOCUMENT.
    Regards,
    Anji

  • Define new User exit screen for LM51 --  Please take as much time as you need.  No hurry.

    Hi gurus ,
    I am trying to define new User exit screen for LM51. I have developed new screen assigned as,
    logical == 9151 variant=9 actual screen = 2151
    assighned in lrfmd with variant = 9
    Even In Lm51 its not calling the subscreen 9151.i am not getting reson,
    kindly help me
    Edited by: Matt on Dec 17, 2008 10:05 AM - Please read the Rules of Engagement.  "urjt" not allowed.

    Hi,
    Did you try with these exits???
    MWMMOB01            Enhancement for Verification Field in the Warehouse Master
    MWMMOB02            Extension for Barcode Translation                        
    MWMRFSRT            ENHANCEMENT FOR TO SORTING
    Thanks

  • Batch needs to be created 1st then post goods receipt with inbound delivery

    Hi,
    We are having split valuated materials with batch managed, we need to post goods receipt with inbound delivery.
    When we create inbound delivery with PO batch is blank which is correct.
    Now when we try to post GR with IBD in VL32N we need to put batch, but we are getting error message as batch is not available in receiving plant.
    In this case we have to create batch 1st with MSC1N and then we can put batch number in Vl32N and can post GR.
    If material is not split valuated we can put batch manualy(Without creation in MSC1N) in VL32N and it is allowing to post GR with batch.
    Can you please let me know this behaviour, is there any SAP note available about this behaviour.
    Thanks
    Sudhir

    Hi Uwe,
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    The binary answer would be no. You should use WMMBXY or MBGMCR instead.
    But if we are doing goods receipt against Inbound delivery then answer is YES with additionally E1EDL18-QUALF = 'PIC' populated. But please remember no partial receipt is possible against Inbound Delivery.
    We should populate E1EDL20-VBELN with our Inbound delivery number and line item info should go to E1EDL24.
    I have done a similar interface recently where we are doing receipt against Inbound delivery. But our case was a bit complex because we had to support against Inbound delivery. So we had to go for a custom solution on top of IDOC_INPUT_DELVRY.
    Hope this helps. Let me know if you have more questions.
    Regards,
    Rudra

  • The user exit on the sap post the account document

    Dear all.
       I use the t-code mb01 or migo to receipt goods for purchase order.When I execute post or save,the sap generate the material document and the account document.The account documents have two item with account 12110000 and account 12010000.And I know this two account was configure in the t-code omwb.
       Now my company have a new requirement:
       When the sap generate the account documents,I need to write some code to do some judgement and change the account 12110000 to account 35510000 or other account.The logic of the code was complex and it's impossible to do in sap standard configure.So I want to find the user exit on the sap post the account document.In the user exit I would write some code to do some judgement and change the account 12110000 to account 35510000 or other account.
      But I can't found the user exit.So I need the experts to give me some reference.
    Regard
    Yoda

    Hi,
    You may use ZXF48U01 of EXIT_SAPLF048_001 of enhancement F180A001 for the same.
    Please note that control comes here for no of transactions hence you need to specifically check for sy-tcode, for which your 'exit' logic needs o be executed.
    I hope this helps,
    Regards
    Raju Chitale

  • User Exit & BADI for controling the END user in co06

    Hi
    I HAVE SOME 2 DOUBTS
    1.  I  need a user exit /  BADI  for controlling the user to edit a specific document type in co06 (BACKORDER PROCESSING) .
    the control should be actve for specfic order type for specfic users
    2  DEPENDS ON ORDER TYPE I NEED TO CONTROL THE ALLOCATION , AND HOW TO CHECK THE SAFETY STOCK

    Answer cannot be Provided properly , so has to Post more questions . i am jus closing my ques??

  • "Post Goods Receipt" is not allowed in VL32N

    Hello,
    I have a problem with GI in VL32N for an Inbound Delivery with several HU's.
    The message I get is:
    "Post Goods Receipt" is not allowed (HU  1835717)
    What I have already checked:
    1. The status of all HU's in this delivery seems to be correct
    2. All HU's are assigned to the delivery
    3. There was already an Inbound delivery created with reference to the Purchasing document (in our case Scheduling Agreement).
    4. There was never a HU with the same number before in the system.
    5. Inbound Delivery seems to be properly packed
    Now I have no idea what to do.
    Any suggestions appreciate.
    Regards,
    Grzegorz

    Thanks a lot for the suggestion.
    I put the breakpoint in the FM STATUS_CHECK and noticed it raises a STATUS_NOT_ACTIVE event after the following query:
    READ TABLE JEST_BUF WITH KEY MANDT = MANDT OBJNR = OBJNR
    STAT = STATUS BINARY SEARCH
    TRANSPORTING INACT.
    The field values are
    OBJNR HU0001835716
    STATUS I0512
    which is strange as it point on a different HU then one visible in the error message.
    On the other hand I have no idea where to find I0512.

Maybe you are looking for

  • How does the notify() call work in Java?

    Hi! Can someone help me: How does the notify() call work in Java? H�var

  • Query rewrites with Nested materialized views with different aggregations

    Platform used : Oracle 11g. Here is a simple fact table (with measures m1,m2) and dimensions (a) Location (b) Calendar and (c) Product. The business problem is that aggregation operator for measure m1,m2 are different along location dimension and Cal

  • OBIEE write back - button greyed out.

    Hi I have below xml template for write back. I have given same name WriteSpendOpt in table properties and xml file in available under both OracleBI and OracleBIData customMessages folder. But still i don't update button enabled in my screen. Do i mis

  • Cisco Prime 1.3 Discovery

    I noticed that Prime won't allow anything more that  255.255.240.0 networks. What is the best way to get around this....or what is the best recommendation to setup discovery....

  • Error Msg 150:30?

    Every time I open PSE 8 for the first time after turning on my computer, I get an error msg saying the licensing cannot be verified and I must reboot my computer and the program shuts down.  Error msg is 150:30.  I can go immediately back and open PS