ME_PROCESS_PO_CUST~PROCESS_ITEM Shipping data doesn't get populated

Hi Gurus,
I need your help to solve one issue while populating shipment data  via 'BAPI_PO_CREATE1' to create a PO I am populating poshipping[] and poshippingx[] with Route field and and also 'X' but the value I am passing it is overwritten by other value.
Then I have implement ME_PROCESS_PO_CUST BADI method PROCESS_ITEM where I was trying to pass the value what I have pass through my custom program but when PO is created shiping tab is missing.
Attaching my code written in BADI method:
  ASSIGN (lc_ship_table) TO <lfs_ship_tab>.
    IF <lfs_ship_tab> IS ASSIGNED.
Retrieve Item level details
      lw_ship = ir_purchase_order_item_mm->get_shipping_data( ).
Read item
      READ TABLE <lfs_ship_tab> ASSIGNING <lfs_ship_line>
      WITH KEY po_item = lw_ship-ebelp.
      IF sy-subrc EQ 0.
        lw_ship-route = <lfs_ship_line>-route.
        CALL METHOD ir_purchase_order_item_mm->set_shipping_data
          EXPORTING
            IM_EKPV = lw_ship.
Any suggesions and how to acheive this.
Dip

Hello All,
I am also facing the same problem.
Can anyone help me to make the standard fields non editable ?
Either user exit or badi.
Thanks in advance..
Regards
Prapul Kumar

Similar Messages

  • Date is not getting populated soon after a change in a field which has LOV.

    Hi friends,
    I have a requirement in my form......
    I have a two fields, in my form......
    One field which has a LOV's list---------------> the name of the field is "PRIORITY" and it has following LOV's
    *) LOW *) MEDIUM *) HIGH..
    Second field is of date field-----------------> the name of the field is "DUEDATE"....
    I needed is that soon after i select anyone of values from the list in "PRIORITY" column for example assume it has "LOW"...
    The due date column should automatically populate the date, accordingly that is setted for LOW..
    The same is in case of "MEDIUM" and "HIGH"....
    How it is possible to populate the date accordingly soon after i picked one of the LOV's from the priority column...
    Whether i need to set any dynamic actions for the due date column...or else....if so means......
    guide me friends..in stepwise manner......whether to write any query in back end....
    i also tried with query it didnt worked.......
    regards,
    Harry......

    Hi,
    If i gave the query that i mentioned above post, in my sql statement, the dynamic action is working but not fetching the correct date for the selected priority..
    what is the answer that im getting is
    When i select priority as low means
    what is populating in my due date field is not the date im expecting........
    it is giving some thing in the due date field like the below i mentioned.......
    " ,,11/10/10 0&amp;#58;0&amp;#58;0,11/10/10 0&amp;#58;0&amp;#58;0,,,,,,,,,,11/24/10 0&amp;#58;0&amp;#58;0,11/24/10 0&amp;#58;0&amp;#58;0,,,,,,,,,,,11/04/10 0&amp;#58;0&amp;#58;0,,,,,,,11/24/10 0&amp;#58;0&amp;#58;0,,,,,,,,,,,,,,,,,,,11/18/10 0&amp;#58;0&amp;#58;0,,,,,,11/24/10 0&amp;#58;0&amp;#58;0,,,11/24/10 0&amp;#58;0&amp;#58;0,11/24/10 0&amp;#58;0&amp;#58;0,,,,11/27/10 0&amp;#58;0&amp;#58;0,11/26/10 0&amp;#58;0&amp;#58;0,,,,,,,11/05/10 0&amp;#58;0&amp;#58;0,,,,11/24/10 0&amp;#58;0&amp;#58;0,11/24/10 0&amp;#58;0&amp;#58;0,,,,,,,,,,,11/19/10 0&amp;#58;0&amp;#58;0,11/05/10 0&amp;#58;0&amp;#58;0,11/24/10 0&amp;#58;0&amp;#58;0"
    i dont know why it is returning like this......please help me........
    Regards,]
    Harry......

  • Please help: data doesn't get through when using NIO's UDP

    Hi there, I have a 2D client-server game, using NIO's UDP. Whenever the clients send data to server, the data just disappears and not exception nor error appear at the server side.
    Following are the portions of the code where the problem occurs, please help me have a look, many thanks.
    (Please note, I'm using non blocking mode for both client and server, and have no problems with other portions of code, communication was fine, data did get through the network and processed by the server/client. Also, client's DatagramChannel "dChannel" is connected to server, however server's DatagramChannel is not connected to any one).
    //***client's sending code***
    public void sendEventToServer(int[] values) {
        prepWriteBuffer(values);
        try {
          dChannel.write(writeBuffer);
        catch (Exception ioe1) {
          System.out.println("Error when send event to server");
    public void prepWriteBuffer(int[] values) {
        writeBuffer.clear();
        writeBuffer = ByteBuffer.allocate(128);
        if (values[0] == 1) { //fire event
          writeBuffer.putInt(0, firePacketNum);
          firePacketNum++;
        else if (values[0] == 2) { //positional event
          writeBuffer.putInt(0, positionalPacketNum);
          positionalPacketNum++;
        else {
          writeBuffer.putInt(0, -1);
        int j = 4;
        for (int i = 0; i < values.length; i++) {
          writeBuffer.putInt(j, values);
    j += 4;
    writeBuffer.flip();
    //***server's code*****
    public void sReceive(long startTime){
        do {
          readBuffer.clear();   //note, readBuffer is 3072 bytes, bigger than client's sending buffer
          InetSocketAddress sourceAddr = null;
          // read from the channel into our buffer
          try {
                 sourceAddr = (InetSocketAddress) dChannel.receive(readBuffer);
          catch (Exception ioe) {
                 System.out.println(ioe);
          // check for end-of-stream
          //I tried with "if (readBuffer.hasRemaining())", getting the same "data disappearing" problem
          if (sourceAddr == null) {
                 //*********Problem: no matter how often the client is sending, this "if" clause is always entered
                 //that is, data disappeared
                 System.out.println("Server got nothing so breaks.");
                 break;
          else {
                 //******Problem: client keeps sending, but this "else" is never entered.
                 System.out.println("Server now got someting from client.");
                 readBuffer.flip();
                 broadcastEvent(readBuffer, sourceAddr);
        while ((System.currentTimeMillis() - startTime) < 134);

    Here's how the buffer filling stuff works, Ron Hitchen's JAva NIO O'Reilly press, has lots of good diagrams of this.
    buf = ByteBuffer.allocate(10)  // creates new buffer
      0----1----2----3----4----5----6----7----8----9----10
      |    |    |    |    |    |    |    |    |    |    |
      ----------------------------------------+
      ^                                                 ^
      |                                                 |
    position=0                                       limit=capacity
    buf.putInt(5);  // relative put, updates position
      0----1----2----3----4----5----6----7----8----9----10
      | 00 | 00 | 00 | 05 |    |    |    |    |    |    |
      ----------------------------------------+
                          ^                             ^
                          |                             |
                       position=4                    limit=capacity
                       updated
    buf.putInt(4,12);  // absolute put doesn't update position
      0----1----2----3----4----5----6----7----8----9----10
      | 00 | 00 | 00 | 05 | 00 | 00 | 00 | 0c |    |    |
      ----------------------------------------+
                          ^                             ^
                          |                             |
                       position=4                     limit=capacity
    buf.position(8);  // so we set the position ourselves
      0----1----2----3----4----5----6----7----8----9----10
      | 00 | 00 | 00 | 05 | 00 | 00 | 00 | 0c |    |    |
      ----------------------------------------+
                                              ^         ^
                                              |         |
                                         position=8   limit=capacity
    buf.flip();  // flip prepares for write
      0----1----2----3----4----5----6----7----8----9----10
      | 00 | 00 | 00 | 05 | 00 | 00 | 00 | 0c |    |    |
      ----------------------------------------+
      ^                                       ^         ^
      |                                       |         |
    position=0                             limit=8   capacity
    channel.write(buf); // write it out, assume all gets written
      0----1----2----3----4----5----6----7----8----9----10
      | 00 | 00 | 00 | 05 | 00 | 00 | 00 | 0c |    |    |
      ----------------------------------------+
                                              ^         ^
                                              |         |
                                  position=limit=8   capacity
    if it didn't all go out, the position would indicate the
    first unwritten byte.

  • Newly added field in the data Source not getting populated

    Hello All,
    We have added few fields in the Data Source. The Data Source is based on the InfoSet. We have included the field in the Infoset and have updated the code to fetch the value for the newly added fields.
    When we perform the test extraction for this Data Source in RSA3, the newly added fields are not getting populdated with the value. In the system generated query's selection list, the newly added fields are not selected.
    Please let mw know how to get the newly added field selected in the system generated query of the infoset.
    Regards,
    -Purnima

    Hi,
    As you said you have added the filed in Info Set. Have you included the same in data source? try if not.
    If you are trying to create a query in source system to check the data. I guess in R/3 (ECC) then you have to include the new field in slection critera (ther is an option available on top menu).
    I would suggest before creating any query go to RSO2 select the data source. Display the field structure and check if the filed is there or not. You maysee Infoset level data directly by data display from top menu. Try that optionas well to check.
    I hope it will help.
    THanks,
    S

  • Data not getting populated in Payslip in ESS Portal

    Hi All
    I am tryig to display Payslip in Portal. Have done all the necessary configuration in Benefits and payments->Salary statement->HRFOR/ EDTIN features.
    Correct Payslip form is visible but data is not getting populated in the payslip.
    Have tested the Payslip in PC00_M40_CEDT transaction with the variant i have set for HRFOR/EDTIN features and Payslip data is displayed correctly.
    Have checked for PZ11_PDF transaction but i get a message saying it cannot be accessed through Easy access.
    Can anyone pls let me know what might be the reason for data not getting populated in Payslip in Portal?
    what is role of PZ11_PDF transaction in Payslip display in Portal?
    Regards
    Asha

    Hello,
    Do one thing for executing the PZ11_PDF trsaction please follow following steps.
    1. Once you log in SAP system with same User - Id which you r using on Portal .
    Once log in PUT "/N" in the command box . Then put the trasaction "PZ11_PDF" and execute it will
    Call the salary statement .
    Or
    Once you log in SAP system put the trasction "/nsbwp" then give the trasaction "PZ11_PDF" it will
    call the salary statement ..
    give inputs once you done
    .....The issue with  Authorisations please check it ...
         Add this object in ESS role "S_SERVICE' ...
        and this object in ESS role "P_PERNR" ---infotype 0008
    Edited by: Vivek D Jadhav on Jun 15, 2009 11:49 AM

  • Data not getting populated in ESS Payslip in portal

    Hi All
    I am tryig to display Payslip in Portal. Have done all the necessary configuration in Benefits and payments->Salary statement->HRFOR/ EDTIN features.
    Correct Payslip form is visible but data is not getting populated in the payslip.
    Have tested the Payslip in PC00_M40_CEDT transaction with the variant i have set for HRFOR/EDTIN features and Payslip data is displayed correctly.
    Have checked for PZ11_PDF transaction but i get a message saying it cannot be accessed through Easy access.
    Can anyone pls let me know what might be the reason for data not getting populated in Payslip in Portal?
    what is role of PZ11_PDF transaction in Payslip display in Portal?
    Regards
    Asha

    Asha,
    Maintain Feature EDPDF which determines the SMARTFORM being used to make the payslip available for employees. This is more of a HR related issue and I believe if you post this in the ESS or HR Forum you would be able to resolve this issue.
    Good Luck!
    Sandeep Tudumu

  • Baseline date not getting populated from SRM invoices posted to ECC 6.0

    Hi,
    We are currently in ECC 6.0. The SRM system is in 4.0. We have this particular problem that the baseline date is not getting populated from the Invoices posted from the SRM. The baseline date is blank and the document is saved.
    Did anyone face the same problem??? Can you please refer SAP note 541934 and expand........
    Thanks
    Aravind
    Edited by: Aitipamula Aravind on Aug 10, 2009 5:13 AM

    Hello,
    Yes, you could check the attached note 541934 and regard the implementation of the field ZFBDT in the invoicing document.
    Note 541934 provides a solution how to achieve the MM-customizing for payment baseline dates getting effective for invoices with SRM-origin. This note needs to be applied at your ERP-MM-side in the former plug-in-layer. As described in the note, this is a modification. It's recommended to apply in non-productive system first.
    Hope the above infor.are helps for you!
    Best Regards,
    Gladys xing

  • Actual GI Date not getting populated

    Hi
    My issue is that after the change in Fiscal Year, now in some of the STO Deliveries the Actual GI Date is not getting populated in Delivery Document, however the PGI is complete.
    Any suggestion where should I look, and what may be reason / solution.
    Regards
    AA

    AA,
    What Lakshmipati has said is correct the Actual GI date does not get populated we enter it manually, only in the case if you are doing a delivery for 26th march then you can enter in Actual GI date field 26.03.2008. (at that point the Actual GI date will be empty, and you can enter the required date) This date is being taken by the material document which will be generated after performing PGI.
    If you are raising the Order or STO today and you are pursuing with delivery today itself then the system willl take today's date.
    Regards
    Sathya

  • Data in detailed block is not getting populated

    I have created 3 blocks-: block1, block2 and block3
    I have created two relations
    1st - between block1 and block2 (block1 is master and block2 is detailed)
    2nd - between block1 and block3 (block1 is master and block3 is detailed)
    Now, on the canvas I place a text item block1.text_item1 (involved in relation) from block1,
    and a text item block3.text_item3 from block3 (this too involved in relation) block3
    when I execute the form and I query on master block that is on block1.text_item1, data in detail block that is in block3.text_item3 do not get populated.
    Now I place a text item block2.text_item2(involved in the relation) from block2 on the same canvas
    Now I again execute the form and query on the master block that is on block1.text_item1, this time data in all three blocks got populated.
    I want to place items only from block1 and block3 at present. Could you please tell me how can I do this?
    Regards

    No, I am not getting such error. Only data is not getting populated.
    If I remove item from block3 and place item from block2, then also the data is getting populated.
    Item from block1+ Item from block2 -> Data is getting populated
    Item from block1+ Item from block3 -> Data is not getting populated
    Item from block1+ Item from block2+Item from block3 -> Data is getting populated
    Regards

  • Sales data not getting populated for Material master by LSMW.

    Hi,
      When I am trying to create material manual for sales view material is getting created and the table MVKE(Sales Data for Material) is getting populated with the sales data. But when i Am trying with LSMW METHOD
    Object          :     0020  
    Method          :     0000               
    Program Name    :     RMDATIND           
    Program Type    :     D(Direct Input)
        materials are geeting created but the sales data is not getting populated in the table MVKE(Sales Data for Material) and LSMW program also not showing any error.
    Can any one tell me what is teh problem here.
    Thanks,
    Naren.

    Hi,
    along with VKORG, VTWEG in <b>BMM00</b> are you mapping the below one's also.
    BMM00-XEIV1 = 'X'. "sales 1 view
    BMM00-XEIV2 = 'X'. "sales 2 view
    this will enable the sales(1/2) view.
    Check it once..
    Regards
    vijay

  • Production down : Data updation is getting queued

    Hi all,
    We are facing major problem in our production system. whatever transaction invoice,HU creation ,sales order creation etc...we do, number is getting generated but data doesn't get updated. it goes into queue. V1 , V2 update goes in queue.
    Pls suggest something on urgent basis.
    Thank u,
    Regards,
    Kavan Shah

    Hi Kavan,
    Goto SM12
    Menu Extras - Diagnosis in update
    That can give you some information what wrong
    and please check the DB02 also for the tablespace free space.
    Check SM13 also, the message for update system mush: Update is active.
    Regards,
    Fendi Suyanto

  • Data in RSA3 not populating in PSA

    Hi All,
             This issue is seen for a generic extractor which shows data for a particular field in RSA3. But when the same is seen in the manage of PSA, I do not see the field being updated.
             I replicated and activated the data source and reloaded data again; however it still does not update the data for that field. Has anybody faced persistent issue with the missing PSA data like this?
    Thanks!

    Hi,
    Goto RSA6 in R/3 and search the datasource. Click on "Display datasource" (Ctrl + F2).
    Find the field for which the data is not getting populated in BW.
    Check if the "Field Only Known in Customer Exit" is selected for that field. If it is so, then the data will not be available in BW for that field. It has to be populated via User exit code.
    Regards,
    Balaji V

  • How the Schedule ship date will get affected

    Hi Team,
    Q) How is the schedule ship date populated? Is this based on the Planning engine?
    Q) For some of the transactions realted to the OM will get stuck in RA_INTERFACE_LINES_ALL with the error "GL period is closed" without the invoice getting generated. ( I know by updating the GL_DATE TO SYSDATE (Open Period). the invoice can be generated.
    I want to know Based on which date the transaction get stuck in the INTERFACE (RA_INTERFACE_LINES_ALL).
    Thanks,
    Raghav.

    Q) How is the schedule ship date populated? Is this based on the Planning engine?
    The SSD is populated in a variety of ways.
    You can put it in manually.
    If not, you could run a program called Schedule Orders that will put the date in.
    If not, the order booking workflow could be putting that date in.
    If not, you could use ATP to arrive at the proper scheduled ship date.
    Please create a seperate thread for each question. It is easier to answer questoins that way.

  • In VA01  In Schedule line Delivery date not getting populated

    Hello,
    We have developed enhancement for VA01 tcode.
    Depending upon the quatity entered for a material it should show one more item as free good.
    If quatity is 10 for a line item 10 then it should show item 20 by default same mateerial and quatilty as 1.We have done this it is working fine.
    But if we select free good item in our case it is 20 and click on schedule line item buttom all quaitity fields getting populated.but delivery date not getting populated for only free good.for line item 10 it showing properly.
    Can any one please suggest what i need to do in order to display delivery date for free good.
    Thanks in advance.
    Regards.

    Thanks for your response.
    Actually i have seen technical settings for that field.it is rv45a-etdat.this field has value till MV45AFZZ.seen in debugger.
    Looks like it is clearing some where after the above include.Any suggisitions welcome.Thanks again.

  • Data not getting populated in output form

    hi all,
    i have to create a layout set with two pages, and fill the first page with ekko data and second page with ekpo data. i have designed the layout set. but the values are not getting populated in my form and logo is also not displaying.....
    can anyone help me.
    regards
    mano

    Hi,
    1.Delete the Logo Command from the Textelement.And re include from Include ->Graphics->Stored document server>Select logo>execute.
    2.Have you written the Driver program for the Layout.
    IF yes,Have you assign the Form and Driver program in NACE.
    3.If yes,Then Debug the Driver and Script ,check those values are coming or not.
    Regards,
    Shiva.

Maybe you are looking for

  • Can two users share the same catalog in PSE 10 on OSX Lion?

    Subject line says it all. I was able to do this with PSE7 on Windows 7, just by placing the catalog in a shared folder.  I tried something similar on Mac, creating a catalog under \Users\Shared, but only the user who created it is able to open it.

  • Pay roll log Error while running the Payroll

    Hi Experts, I am getting one error  while i am running the payroll.Create valuation bases(addition).In Pcr X010  P01. I was the valuation of WTs in Table V_512w_B.Can u any body give solution to rectify this error. Thanks in Advance Bhaskar Edited by

  • NO Expense GL/Purchase Order not reflecting in 0FIGL_14

    Hi All, 1) We want GL expense data from 0FIGL_14 but the system is showing RECON GL accounts which we don't want. 2) No PO data is populaing in 0FIGL_14 Can anyone help in this issue? Thanks, Mayur

  • Synchronized method in a java class used by many interfaces

    My interface (idoc to file) is using a java class, which has one method that reads a table from a central database and after doing some calculations updates it. (The interface instantiate the class inside a user-defined function and calls the method

  • Problem to Install Peoplesoft People tool

    Hi, Here is samiullah, I am new to install peoplesoft . I have installation manual little bit  things are missing.  During installation I am facing  a problem, I installed list of component 1-10g 2-create database 3-bea 4-texudo 5-peopletool 8.49 Dur