Smartform problem for shipment number

HI all
            I have got one issue with smartform . for all shipment numbers data is getting printed . but only for one shipment number layout is empty.i'e for one shipment data is not getting printed .
data  is coming in Print program. but it is not passing into Smartform only for one shipment number.
the data is in production system . how can i debug the smartform in production to check if values are passing or not .bcoz i cant hardcode breakpoint in smartform as it is in production .
if i debug Function modue unable to see variable in smartform
plz tell me how to debug in this scenario???

Hi,
once you execute the smartform you will get the one function modele, then do the following steps.
1) go inside that FM and search of the key word "PERFORM %GLOBAL_INIT". and put the break point there.
2) then execute your smartform it will trigger that breakpoint and press f5 it goes to the "initilization" of that smartform there you can check in debugging.. then you can figureout why that particular value is not popoulating.
hope it will useful to you.
Regards,
Prasanth

Similar Messages

  • Change transaction using BDC-problem for large number of lines on screen

    Hi All,
    I am developing BAPI (using BDC) which creates quality notification in SAP which is entered via front end web application. Structure p_qmsm contain 3 lines of task in notification. The code is as given below. To avoid problem of large no of lines on screen,code lines starting with * is used. This actually for pagedown after entering every 2 lines and creates new line. so that 2 lines always push up on screen and there will not be problem for creating large no of lines on screen
    perform bdc_dynpro using 'SAPLIQS0' '7200'.
    perform bdc_field using 'BDC_OKCODE' '=10\TAB11'.
    LOOP AT p_qmsm INTO wa_qmsm.
    *IF wa_qmsm_cntr > 2.
           wa_qmsm_cntr = 2.
           perform bdc_dynpro  using 'SAPLIQS0'                   '7204'.
           perform bdc_field   using 'BDC_OKCODE'                 '=PEND'.
    ENDIF.
    perform bdc_dynpro using 'SAPLIQS0' '7204'.
    perform bdc_field using 'BDC_OKCODE' '/00'.
    CONCATENATE 'VIQMSM-QSMNUM(' wa_qmsm_cntr ')' INTO wm_qmsm_qsmnum.
    CONCATENATE 'VIQMSM-MNGRP(' wa_qmsm_cntr ')' INTO wm_qmsm_mngrp.
    CONCATENATE 'VIQMSM-MNCOD(' wa_qmsm_cntr ')' INTO wm_qmsm_mncod.
    CONCATENATE 'VIQMSM-MATXT(' wa_qmsm_cntr ')' INTO wm_qmsm_matxt.
    perform bdc_field using wm_qmsm_qsmnum wa_qmsm-qsmnum.
    perform bdc_field using wm_qmsm_mngrp wa_qmsm-mngrp.
    perform bdc_field using wm_qmsm_mncod wa_qmsm-mncod.
    perform bdc_field using wm_qmsm_matxt wa_qmsm-matxt.
    wa_qmsm_cntr = wa_qmsm_cntr + 01.
    ENDLOOP.
    CALL TRANSACTION 'IQS2' USING wt_bdc
    MODE 'N' UPDATE 'A'  MESSAGES INTO P_MESSTAB.
    The same code is used in modify mode also. web application is sending all 3 lines in modify mode even if single line is modified. It is already decided to send all rows back from web application to SAP in same sequence. It is working fine if i comment 5 lines which is starting with *. But in modify mode, how can i ensure that correct row is modified? and how can i achieve problem of large no of lines on screen?Please suggest?

    Hi yogesh,
    how can i ensure that correct row is modified?
    1. For this we need to know two things ;
       a) the database table in which the entries are already stored
       b) the sequence in which they are displayed in the transaction.
    2. So before changing any line, we need to compare (the primary key values / important values)
       a) as per the database table and as per the incoming data from web application (using bapi)
      b) if the match is ok, it means that particular row was not modified, else modified.
    how can i achieve problem of large no of lines on screen?
    1. For this I am  not sure about the transaction and its screen. Manytimes for appending row on the screen,
      there is a PLUS + button on the grid toolbar. So for every entry, (inspite of some empty/filled rows already visible on the screen), we should use the + button, and this new row always appears on the top i.e. row number 1.
    hope this helps.
    regards,
    amit m.

  • Create shipment cost that reference from TD shipment number

    Dear all,
    At the moment, i just create shipment cost for shipment number (create by VT01N). So, i want to create shipment cost for TD shipment (O4F1). How to do that? Pls help!
    Thanks,
    Quanglv

    Hi
    Std. Process
    Sales order >> Delivery (with or without PGI) >> Create shipment document - VT01N >> Create shipment cost document - VI01 >> Auto P.O can created - ME22N >> Invoice reciept from Service vendor - MIRO
    Kapil

  • Problem in Shipment purchase order number

    Hello Experts,
    At time of shipment count number(VI02), purchase order and service entry is created automatically. But whenever created new shipment count same purchase order number is updated ie sequentially not taking, but service entry has not problem.
    Pls tell why this problem is occured.

    Hi,
    It depends on customizing settings for the PO for shipment costing. You can set a period for validity of the PO. In standard it is set to a month (I believe). It will split up per forwarding agent.
    Quote of help.sap:
    The purchase order can be valid for the following periods:
    Day
    Week
    Month
    In Customizing the purchasing organization, the purchasing group and the plant must be assigned to the corresponding transportation planning point and the shipment cost type. You make these settings in the IMG. Choose Logistics Execution ® Transportation ® Shipment costs ® Settlement ® Assign purchasing data.
    End quote.
    MdZ

  • Shipment number problem

    Hi experts,
    I am facing one problem plz help me.
    Creating the STO, shipment number  based on the purchase order.
    and when i am entering the shipment number in VI02  it is not picking the  netvalue
    Regards,
    Srinivas

    Hi,
    once you execute the smartform you will get the one function modele, then do the following steps.
    1) go inside that FM and search of the key word "PERFORM %GLOBAL_INIT". and put the break point there.
    2) then execute your smartform it will trigger that breakpoint and press f5 it goes to the "initilization" of that smartform there you can check in debugging.. then you can figureout why that particular value is not popoulating.
    hope it will useful to you.
    Regards,
    Prasanth

  • I can use my appleID without any problems for using to download new apps in the app-store or Itunes - Problem: I can´t use my ID at facetime and Imessage - I´d like to add an EMail account on top to my mobile number. My password will not be accepted!!!???

    I can use my appleID without any problems for using to download new apps in the app-store or Itunes - Problem: I can´t use my ID at facetime and Imessage -
    I´d like to add an EMail account on top to my mobile number to use more this services. My password will not be accepted!!!??? I try it and i try it and i try ist, throughout the same problem. Whats on? The user help desk said, i´ve to reset and use the WLAN key new as well as possible - no way!

    Contact the App store for Apple ID help. Their support link is on the right of the App store window
    LN

  • To Send the Email to Ship to Party for Shipment Notification in SMARTFORMS

    HI Gurus,
    I am having a scenario to send the EMAIL  for Shipment Notification using SMARTFORMS when processed through VT01/VT02N transaction.
    I general process, the email is going to Forwarding agent Email address. But the user wants to send the notification to Ship to Party email address.
    Is there any IMG settings to be done or should we handle using Custom Driver program.? If yes, can anyone help how to achive this.
    Your help is greatly appreciated.
    Regards,
    Yathish

    Just take a look at this where PO is discussed but should not be different from your issue
    PO as SMART Form and mail as PDF
    Scheduling Agreement as PDF in email ?
    External Email (PDF Attachment) while PO is created or Changed
    Convert PO into PDF format and send by an email to vendor
    PDF form as email attachment for purchase order
    Send PO as email attachment
    How to convert smartform output to PDF and mailing them
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292
    Regards,
    Ravi
    Note - Please mark all the helpful answers

  • Shipment  Number in Subject line of Email for SD Outputs

    SAP ECC is  currently emailing the Bill of Lading of a shipment  to our customer. They have asked us to change the subject line of the email to include certain shipment information - i.e. shipment number, and shipment date.
    I use a Program in the Output Type for other delivery documents and need to replicate it on the shipment side - can someone please tell me the name of the Program that I need to use and the Form Routine that I need to use to make this work? Or if there is a better way to handle this in config, please let me know.
    Thanks,
    Russ

    Hi ,
    refer Snote 325827
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=325827
    Thanks
    Chidambaram

  • Problem on forms for serial number generation with last record next_record.

    Hi Experts,
    currently i'm facing one problem like :
    i'm populating one receipt detail in Multi block , like when user key in one receipt number that time record should go in first record ,and if they key in second receipt number then record should go in second record . mean to say every time record go in last record ..but the problem is i want to generate Serial no correspondence to every last record ..
    here is my approch :
    cursor c1 is
    select * from table
    where cname =:blk_name.clm_name.
    Last record;
    next_record;
    for v1 in c1 loop
    processed record;
    next_record;
    end loop;
    last_record;
    go_block(___);
    first_record;
    :sno := system.cursor_record ;
    next_reocrd;
    end loop;
    first_record;
    And in block level i'm writing code for Serial number generation when user key in manual entry for receipt detail:
    :blk_name.coulumn_name := :system. cursor_record;
    so in this approach their is no problem it is working properly but the problem is that
    when user fetch one receipt automatically and then after he want to enter next record manually and he decided to go in detail block ,
    and once he reached in detail block that time block level trigger i firing .ans serial number 2 generated and then suddenly he came to know no i want to fetch next record automatically mean to say now user going again master block and fetching next receipt detail ,
    but the problem is when user leaving seccond sr no and going in master block and population next receipt detail that time cursor going on 3 record
    but logically have to replace the second Serial no and generate the again serial number 2 record population .mean to say its not refreshing last_record..
    so i'm appreciating is anyone if came accoross this type of issue please corrrect my code and send updated code ..plsssssssssssssssssssssssssssssss
    Thanks
    Abhishek
    [email protected]

    hi
    I put this below code on when_new_record_instance on block level..
    :blk_name.column_name :=system.cursor_record;
    so can you please help me.....
    Thanks
    Abhishek

  • Smartform for Shipment Doc with program RV56TD00

    I know, there is Sapcript form SHIPMENT_DOC avaible for shipment printout with program RV56TD00. I am just wondering whether there is standard smartform and relating program for this?!
    Thanks in advance

    It looks like we have only SAPScript upto the latest version. I couldn't find any SMARTForm for Shipment doc.
    Regards,
    Naimesh Patel

  • Get Idoc structure and contents from Shipment Number

    Hi all,
    We have a 3rd Party Logistics company who wants to send us back minimal shipment data to enable us to update our shipment details.  They want to send us the shipment number, and vehicle information.  My tests (and SAP's documentation) have indicated that in order to modify a shipment via the message type SHPADV, you need to have the complete Shipment Idoc structure filled in in order for the idoc to process successfully.
    My client has indicated that they want to use IDoc processing to manage the shipment updates.
    Does anyone know of a FM that can be used to fill the shipment Idoc structures if only a shipment number is filled in?  Or do the structures have to be modified manually?  For example, these is a function called 'IDOC_READ_COMPLETELY' which populates all the segment details if an Idoc number is entered.  I want something similar, but for a document number, in this instance, a shipment number. 
    Cheers,
    Steve

    Roger,
    Thanks for this suggestion.  I chose to go down another path which I put up here for those who have this problem in the future.
    I have passed the shipment number and just the fields that require modification into user exit EXIT_SAPLV55K_020, and recorded the passed in values into variables.
    I then executed the <b>idoc_output_shpmnt</b> idoc, which, when the shipment number is passed in to the nast-objky field, reads the required shipment data and populates the idoc_data table with the segment details as per sending the document out.  But the FM doesn't actually call the ALE layer, so I then loop through the idoc_data table, modifying the fields that need to change with the values I've saved in the variables, and passed the modified idoc_data tables back into the <b>idoc_input_shpmnt</b> FM.  Worked a treat.
    Cheers,
    Steve

  • Multiple smartforms call for transfer order

    Hi All,
    I have a requirement to call multiple smartforms based on customer number from same print program.How i would define nace setting and also in my requirement i have to create a ztable that will contain customer number and smartform name,that means i need to pic smartform name from that ztable for corresponding customer.But my form will trigger from transfer order transaction.
    Could you please help in this regard.
    Thanks
    Mohit

    Hi ankur,
    NACE setting doesn't happen for LT31(transfer order) transaction.Setting somewhere defined in SPRO in WM module.My problem is the i need to create ztable that is recommended by client to maintain customer number along with smartform name.
    Thanks
    Mohit

  • Identify Shipment number in Shipment05 Idoc

    Hi ,
    I am using Shipment05 Idoc to create and change Shipment ,
    while creating Shipment , Shipment number is created through intrenal number assignment,
    My problem is that now when Shipment Idoc is coming for change , It is not able to identify Shipment to change and creating new shipment every time even when it should change.
    Can you please suggest me how the ERP will identify the shipment number for change when the shipment number is not known to other system since number is an internal assignment to our ERP.
    I have been told that In case of changes of an already existing ERP Shipment the reference field u2018EXTI2u2019 will be used to identify the ERP Shipment during the IDOC processing.
    Do we need any enhancement for this or SAP standard functinality will do this since I have tried to change Shipment IDOC but not able to change.
    Regards
    Arushi

    Need a E1EDT20 segment with the shipment number in E1EDT20-TKNUM
    To identify your IDOC is referencing a SAP shipment number need also
    E1EDT18 with E1EDT18-QUALF = 'CHA' to identify a change
    E1EDT18 with E1EDT18-QUALF = 'PID' and E1EDT18-PARAM = 'TKNUM' to identify yhe IDOC is referencing a SAP shipment number.
    Regards Jack

  • Identify Shipment number while TPSSHT01 inbound IDOC

    Hi ,
    I am using TPSSHT01 Idoc to detete Shipment ,
    while creating Shipment , Shipment number is created through intrenal number assignment,
    My problem is that now when TPSSHT01 Idoc is coming for delete , It is not able to identify Shipment to delete ,
    Can you please suggest me how the ERP will identify the shipment number for delete when the shipment number is not known to other system since number is an internal assignment to our ERP.
    Do we need any enhancement for this or SAP standard functinality will do this since I have tried to delete TPSSHT01 IDOC but not able to delete.
    Regards
    Arushi

    Closed

  • I have several albums by and an artist as is expected for a number of artists. But after the new iOs5 update my ipod touch now only showing one on my ipod.

    I have several albums by and an artist as is expected for a number of artists. But after the new iOs5 update my ipod touch now only showing one on my ipod. I have already resynced it, any suggestions on how to fix the problem without having to restore my iPod to factory settings.

    Becaise the digitizer is broken in that area
    Apple will exchange your iPod for a refurbished one for $199 for 64 GB 4G and $99 for the other 4Gs. They do not fix yours.
    Apple - iPod Repair price                       
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens         
    Replace the screen yourself if you are up to it
    iPod Touch Repair – iFixit                  

Maybe you are looking for

  • HOWTO: Get a logitech marble mouse to work w/scroll and more

    This bit of information was taken from a post at the ubuntu forums. It worked for me, enjoy! Modify your Xorg.conf/XF86Config file to have this in the mouse section: Section "InputDevice" Identifier "MarbleMouse" Driver "mouse" Option "Protocol" "aut

  • Unicode related issue in 4.6c to ECC 6.0 upgrade

    Hi I am doing upgrade from 4.6c to ECC 6. Here I am getting one unicode related issue. "The data object A948 does not have a component called ZZMATWA.". This type of issues , how can I resolve. I am very new to upgrade, Plese do help me. Regards Sand

  • BI publisher 11g

    Hi All; I'am want to use this query in the data set: select Substring( :X ,1,3) from my_table X is a bind variable. but This query gives me this error : Function Subtring (argument 1) does not support non-text types. when i use the cast function : se

  • Set cursor command

    Hi experts, I want to position the cursor in a screen field. I gave SET CURSOR FIELD GS_ASSEMBLY-SERNR  in PAI. But still the cursor is not in required position. Pls help me to do this. Thanks.

  • SM58 Error

    Hi, I'm gettting the following status text "Error in target system" in SM58 from the function module IDOC_INBOUND_ASYNCHRONOUS. I have not encountered this type of error in the past can anyone let me know what coule be the possible reason.