To Update the status of a handling unit in VEKP table

HI,
My smartform(picking slip ) is triggering from vl02n transaction,my requirment is
to change the status of handling unit to 60 (Delete) ,after my form printed,
I checked with FM hu_update_status but it is not changing the VEKP-status field for that particular hanling unit .

Hi,
What's the link between Printing the Smartform and Updating the HU status?
Generally Smartform is used to print the Output of Packing Slip,?
You mean after packing is over you have to Modify the handling Unit status?
then you have to find the status of packing and based on that field you have to modify the JU status.
Regards,
Anji

Similar Messages

  • Error while updating the status record of IDOC in SAP

    Hi All,
    I am facing this problem. I have done outbound processing and IDOC was sent successfully from SAP to EDI system and it was processed in EDI and now EDI system wants to send the status back to SAP with a status message and the status number that we are using is '24' and we have mapped all the fields in the status table EDIDS and made sure that EDI system sends all those and I think Counter field can not be determined by EDI system so EDI system used the counter '1' since it can not determine how many counters are already there in SAP and unless we pass the value to this counter field we were getting the error. After passing all the values the status of the IDOC is updated with the status '00' instead of '24' and we do not know why it is happened and I would like to know how SAP converts the status record that is received from the EDI system.
    Please let me know how the status record will be translated into SAP from EDI system and I ahve followed basically EDIDS structure and the IDOC status is updating in SAP but with wrong status number and the alignemnt also missing in SAP fields like if I give some text in the EDI it is splitting and storing in 2 fields.
    Please help me in this and I think I have explained the problem in a detail manner.
    Thanks,
    Ramesh.

    Hi Naresh,
    Thanks for the reply and my question is since EDI system is able to send the status back to SAP from EDI system and only problem is it is updatinf the status wrong and I have checked the EDIDS table also and the entry is creating with another counter and please confirm me that it is because of EDI does not support the status record update so that I can confirm to the client that there is nothing wrong in the way SAP functions and EDI system can not update the status code in the SAP.
    Thanks,
    Ramesh.

  • CLEAN_REQREQ_UP not updating the status of all confirmations.

    Hello All
    We have scheduled the cleaner report as a job running every 2 minutes.
    This job changes the status of the confirmations from 'Approved' to 'Transmit to backend system'.
    However the job doesn't process a few confirmations randomly.
    In such confirmations, the status remains as ' Approved'.
    There is no issue for replication for such confirmations in the backend.
    This happens on 30 % of all confirmations.
    All these confirmations are coming from an interface and the following sequence occurs
    1) MFG Batch user creates Confirmation in SRM
    2) WF Batch user sets the status as Approved
    3) Job Batch user( CLEAN_REQREQ_UP) updates the status to 'Transmit to Backend system'
    I am trying to find out why the job wont process these confirmations.
    Regards
    Kedar

    HI
    for eg,
    when we do confirmations in SRM
    message type MBGMCR and RFC takes GOODS CONFIRMATION / SERVICES  data to .ECC
    and BBP_GET_STATUS_2 job bring the informations of ECC GR status and update in SRM.
    bbp_docuemnt_tab get entries of srm confirmation data and clears clen req up table (po+confirmation number).
    clean job must clean this PO+confirmation line in the bbp_docuemnt_tab table.
    check your PO number in BBP_DOCUMENT_TAB TABLE.
    i need to check it up.
    br
    muthu

  • How to update the status of Outbound IDOC in case of error

    I want to know about how to update the status of Outbound IDOC in case of error.
    I am using message control functionality here.

    HI,
    If u r using the standard message and basic type
    u can do it in the FM attached to the basic and message type.There u need to write ur own message instead of standard SAP message..chek if there r any userexits available in the FM..where u can overwrite ur own message ..
    If u r using the Zmessage and Zbasic type
    then u need to declare an internal table of EDIDS structure and then append ur message to the internal table..
    idoc_status-docnum   = idoc_contrl-docnum.
      idoc_status-msgty    = <message type>
      idoc_status-msgid    = message-id.
      idoc_status-msgno    = message-number.
      idoc_status-msgv1    = message-message_v1.
      idoc_status-repid    = sy-repid.
      idoc_status-status   = <give the error status>.
      APPEND idoc_status.
    Reward if u find useful
    Regards,
    Nagaraj

  • A FM or BAPI to update the status of a Production Order

    Hello, does anybody know if there is an interface FM or BAPI to update the status of a production order. Specifically I want change the status of PP order to LKD (locked). I want to do it programmatically from an external system.
    Thank you
    Ernesto

    Hi,
    I believe you can use the FM I_CHANGE_STATUS to update the status..
    where JEST-OBJNR = AUFK-OBJNR
    Thanks,
    Naren

  • Using a shuttle to update the status of a record

    I'm using JHeadstart 10.1.3. What I need to do is allow the users to select a record(s) that need to have it's status updated to show it's been rejected. I would like to acomplish this by using a shuttle, listing all the records that haven't been rejected and then allowing the user to shuttle over the records that require to have the status set to rejected. So essentialy, the two shuttle VO's would be for the same entity. On moving a record over from one shuttle to another all I want to happen is for the status of the record to change. This doesn't really seem to fit the mould of either a parent-shuttle or an intersection-shuttle :(
    Do I have to abandon the idea of using a shuttle and revert to something else ? If not the shuttle, what else would best serve my purpose here ? Can JHeadstart generate a tableSelectMany component ?
    Cheers,
    Brent

    Hi,
    What's the link between Printing the Smartform and Updating the HU status?
    Generally Smartform is used to print the Output of Packing Slip,?
    You mean after packing is over you have to Modify the handling Unit status?
    then you have to find the status of packing and based on that field you have to modify the JU status.
    Regards,
    Anji

  • Can't create the positions of a Handling Unit

    Hi everyone,
    I am using WS_DELIVERY_UPDATE funcion to do the packing of a delivery. Everything is apparently ok and the packing seems to be done, but then if I check in VL03N transaction, Pack and then Total content I can't see any positions created for the Handling Unit.
    Does anyone know if I have to execute something else after the function for creating the positions of HU?
    Thanking you in advance,
    Nisha

    HI,
    Yes it will update VEPO/VEKP and related DB's.
    Unfortunately, I dont have a sample code to share with you but I have used this in my previous accounts.
    It should not very cumbersome to know what to pass to the BAPI as the Import Interface is not tht huge
    Hope this helps.
    Gary
    P.S: Reward if helpful

  • Deriving/ change the item category from handling unit

    Hi SAP GURUS,
    In vl01n I want to derive the item category based on the handling unit. Hnadling unit is derived from the payment terms.
    Please let me know the required configuration or the development for this.
    Thanks

    i need ur help regarding the Sales order item category redetermination.
             we are having two item categories YNAE and YNAG and it contain schedule  line categories CP and CB ( i.e for item category  YNAE schedule line category is CP and 
             for item category  YNAG schedule line category is CB), for YNAG Purchase Requisition is automatically created becz of functional setting on save and it is working fine.
             For every line item in sales order line item level item category YNAE will be determined by default as per functional settings.
             Now my requirement is that, if sales order line item doesn't contain 100% confirmed quantity, than i needs to change the default line item category YNAE to YNAG
             which i am trying to do it in USEREXIT_PRICING_PREPARE_TKOMP becz in this exit i am getting the values in XVBAP and XVBEP and  it is working fine .
             But schedule line category is not getting redetermined automatically what i mean is, if i change the item category to YNAG from YNAE in user exit corresponding schedule line category CB of YNAG is getting determined automatically at the schedule line level and if ichange the schedule line categories in XVBEP in exit USEREXIT_PRICING_PREPARE_TKOMP, changes are reflecting at the schedule line level but Purchase requisation is not getting created for schedule on SAVE and its delivary dates are also not getting determined properly. If press the option ATP check at the schedule line level than very things will getting corrected in the order.
    i am using UPDKZ = U  in both xvbap and xvbep for changes
    I feel that i am not doing this in proper way, do u have any idea about how to redetermine item category. please let me know if u have any idea .
    Regards,
    Vaddepally Manoj

  • To update the status of the Sale Order through Pl/sql(backend)

    Hi folks.
    May I how to alter the status of Sale Order from 'Entered' to 'Awaiting for Approval' when the sale order was booked.After approval only it needs to change into 'BOOKED'.
    Requirement Scenaria as follows:
    Activity Status
    1) Sale Order Creation Entered
    2) Booking the Sale Order Awaiting For Approval
    3) After Approved 'Booked'
    or
    4) After Rejected Rejected --- should not be available for pick and ship.
    Please tell me the solution to alter the status and I had already tried both normal update statement and update through sale order API.Both didnt work.
    kindly find me an appropriate solution
    Note:I had already altered the OE order header workflow to go for approval when Sale order booked
    Thanks in advance

    Apparently, your Sales Order Type has Approval Workflow associated. Have the approver approve it from the Notifications window. Alternatively have a script to approve the workflow with userid as the approver's, in order for approval and booking.
    In case of forced Booking, use OE_ORDER_PUB.PROCESS_ORDER API to pass the Order Details along with BOOKED_FLAG='Y' and FLOW_STATUS_CODE='BOOKED'.
    let me know,
    Dip

  • Sample disposition is updating the status ofone sublot per lot but not all

    Hi
    Sample disposition is changing the status of one sublot per lot but not all sublots.
    Setup Part
    OPM INV-Setup-Item master-define lot and sublot as yes under Controls
    Quality Manager-specification-validity rules-wip-control lot attributes box checked.
    Navigation Path
    OPM Production Manager- Batches- Material Detalis-Products-Select the Line Item-Line allocations-Define the Lot No,Sublot,Warehouse,Location,Allocated Qty,Reason code,Date etc.
    When we create sublots more than one for the same lot, I am getting this problem.
    I am creating the sample after coming back to material details window. then go to actions-click on sample-create sample.
    created the sample,entered the test results, and changed the disposition to accept.
    The status of all the sublots is not changed. Only one sublot status is updated.
    We have a situation where we need to have different sublots for the same lot.
    can any one please tell me the setup part where i missed.
    Thanks in advance
    Prem.

    any clue??
    Regards,

  • How to view the output maintained at handling unit level

    Hi All,
    How to view the output which was maintained at Handling unit level in the delivery.
    Say for ex:- If we maintain the out put type LD00 at delivery level, we can view the output for the same in the change mode of outbound delivery.
    In the same way how can e view the output which was maintained at handling unit level.
    Regards,
    Mallesh.

    Hi,
    Go to 'VL02N' transaction code give the Delivery number and from menu Outbound delivery select issue output to. then select the proper output type (already issued) and select the print preview button.
    It is just as you see for other output's only.
    Reward if it helps.
    Thanks
    Venkat Cheedalla.

  • Yahoo! Messenger Connects But No Longer Updates The Status Of Users

    I have a Mac Pro and a MacBook both with 10.5.8 and both with Yahoo! Messenger version 3 Beta 4. When I first log in, all online friends status is updated and correct. As users log in, log out, go idle, go mobile etc the Yahoo application does not update their status. I can log out and log back in to update the list but my online friends get irritated with me when I do that every half hour or so.
    I have reinstalled, deleted preferences, repaired permissions, chanted and tried to ignore it. Nothing worked so far.
    Anyone else having this problem?
    Hockey Dad

    I'm having problems with Yahoo Messenger but it's different from yours. Anyway here it is (just in case someone's experiencing the same problem with me).
    Since I updated to 10.5.8 (from 10.5.7) I noticed that my Yahoo Messenger won't show my image. I tried checking it a gazillion times to make sure that I didn't select "None" as my Display Image. However, if I chose Avatar (cartoony image that you can customize via Yahoo) it's working, I can see it and my friends too. I also noticed that when I click Browse and choose a certain picture it shows in the Preference Window but not on the actual Yahoo Messenger Window. I've tried selecting .jpg .png .gif versions hoping it would do the trick, but it didn't. I've deleted the cache and the application, reinstalled (YM 3.0 Beta) but my picture still won't show.
    Would downgrading solve the problem?

  • Update the status of contract uusing bapi

    Hi,
    here my requirement is that ,i want to update the item status of the CONTRACT (va42) to TECO
    Which function module i have to use for this.

    Try following BAPI's
    BAPI_CONTRACT_CHANGE    BAPI to Change a Purchase Contract
    BAPI_CUSTOMERCONTRACT_CHANGE   Change Customer Contract

  • Auto Approval EBP Purchase Order is not updating the status at the header

    Hi There ,
    We are facing an issue in EBP auto approval PO ,
    The process level schema is set to Auto Approval  (Standard 9CBUS2201_EX01_55)
    During the PO creation , the standard schema is triggered and it gets approved .
    The status of the PO in the Approval Tab is showing as Approved .
    But in the docuemnt level the status is still Awaiting Approval .
    While checking in SWI1 we came to know that an error has happened in the Task TS40007972
    and the Guid ID of SRM Purchase is initial that has made the status(EV_STATUS) as initial .
    The ERROR is from the below class & method.
    Class: /SAPSRM/CL_WF_PROCESS_MGR_SBWF
    Method:GET_PROCESS_DECISION_STATUS
    Can anyone suggest to overcome this issue .It will be very usefull if anyone could suggest debugging possibility if any .
    Regards,
    Arun.

    Have you tried notes?
    1625513 - Workflow without approval is Awaiting approval status
    1724251 - Workflow log error: CREATE_DECISION_SETS cannot be executed

  • How to update the status of Credit memo request as "Close" by putting reason of rejection

    Dear All,
    Our requirement is to close credit memo request, We already cancelled the subsequent document i.e. billing. In credit memo request we are trying to close it by putting "Reason of Rejection", but instead of closed is coming as " Being Process". I already did the required configuration at Item Level for G2N in VOV7, but still the status is "Being Process".
    Please let me know if I m missing config.
    Thanks,
    Sumeet Sah

    Hi
    Check this below link. I had faced this issue years ago and got a strange solution which is still applicable.
    Open status of Credit Memo after rejecting all line items
    Thank$

Maybe you are looking for