Need Material Description in SAPscript Export Packing list

Hi Friends,
                I copied standard SAPscript form SD_EXPORT_FUEP for Export packing list. I need a Material description in main window but not able to get. Please tell me how to get the material description.
Thanks,
Ziad

Hi Surya,
              Here is my subroutine,please check it. Still I am not getting description.
PROGRAM  ZSD_EXPORT.
tables: VBRP, VBRK, V55ENAFT.
********form routine to fetch the material description
form GET_DESC tables in_par  structure itcsy
                     out_par structure itcsy.
DATA: BEGIN OF S_MAT.
     VBELN TYPE VBRP-VBELN,
     POSNR type VBRP-POSNR,
     ARKTX  type VBRP-ARKTX,
       include structure vbrp.
data:      END OF S_MAT.
data: it_line like V55ENAFT-POSNR,
      inv_no  like V55ENAFT-VBELN.
data: mat_desc  type VBRP-ARKTX.
read table in_par with key 'ITLINE'.
check sy-subrc = 0.
it_line = in_par-value.
read table in_par with key 'INV'.
check sy-subrc = 0.
INV_NO = in_par-value.
*SELECT SINGLE VBELN POSNR ARKTX FROM VBRP INTO S_MAT where vbeln = inv_no and posnr = it_line.
select single * from vbrk
where vbeln = inv_no.
SELECT SINGLE * FROM VBRP
WHERE VBELN = vbrk-vbeln AND POSNR = IT_LINE.
move vbrp-arktx to mat_desc.
read table out_par with key 'DESC'.
check sy-subrc = 0.
out_par-value = mat_desc.
modify out_par index sy-tabix.
endform.               "get_desc
Thanks,
Ziad

Similar Messages

  • Need Print Program for Smartform /SAPSLL/SF_GL_EPL for Export Packing list

    Hello Friends,
                         I need a print program for Smartform /SAPSLL/SF_GL_EPL for Export Packing list. Please reply ASAP.
    Thanks,
    Ziad.

    Hi Sowjanya,
                         I am using FUEP o/p type for Export Packing list for Billing . I Copied SAPscript SD_EXPORT_FUEP form and the  print program for this is same RVADAUS1. Can we use the same print program for Smartform  /SAPSLL/SF_GL_EPL?
    Thanks,
    Ziad

  • How to print export packing list from invoice transaction(VF03)

    Dear all,
            In export process,i need to generate export packing list
           In my case my export invoice and packing list both are same the only difference is in paking list i dont have total coloumn
           so i plan to change invoice form to packing list,
          while issuing the output from vf03 it should ask whether invoice or paking list
           according to that i need print out
            How to achieve these,otherwise any other alternative solution is there?
    Regards,
    Vijay
    Edited by: Vijay Guru on Mar 31, 2010 9:08 AM

    Instead of this you copy the same form and change as per packing list and give the user another output type for Packing list.
    and say that if u choose one u will get invoice and if he chooses the other he will get Packing list
    Regards,
    Prakash

  • Print Program - Export Packing List/Export Invoice Form

    Hi friends,
    I've to create two new smartforms for the above said subject and assign the same in output control as a new output type instead of Script.
    Im in ECC 6.0 version and in NACE->Billing,i've the std output control(FUEP) in form of script as "SD_EXPORT_FUEP" and the calling print program is RVADAUS1.....here i want to assign the std program for my customised smartform...like smb40 package or relates to ecc 6.0 version.
    So,pls if anyone did the same object or having any std programs for this...pls help me by posting ur attachment to my email-id.
    [email protected]
    [email protected]
    Pls reply.
    thanks & regards
    Sankar.
    Edited by: sankar babu on Jan 21, 2008 12:56 PM

    Hi Surya,
                  Here is my subroutine,please check it. Still I am not getting description.
    PROGRAM  ZSD_EXPORT.
    tables: VBRP, VBRK, V55ENAFT.
    ********form routine to fetch the material description
    form GET_DESC tables in_par  structure itcsy
                         out_par structure itcsy.
    DATA: BEGIN OF S_MAT.
         VBELN TYPE VBRP-VBELN,
         POSNR type VBRP-POSNR,
         ARKTX  type VBRP-ARKTX,
           include structure vbrp.
    data:      END OF S_MAT.
    data: it_line like V55ENAFT-POSNR,
          inv_no  like V55ENAFT-VBELN.
    data: mat_desc  type VBRP-ARKTX.
    read table in_par with key 'ITLINE'.
    check sy-subrc = 0.
    it_line = in_par-value.
    read table in_par with key 'INV'.
    check sy-subrc = 0.
    INV_NO = in_par-value.
    *SELECT SINGLE VBELN POSNR ARKTX FROM VBRP INTO S_MAT where vbeln = inv_no and posnr = it_line.
    select single * from vbrk
    where vbeln = inv_no.
    SELECT SINGLE * FROM VBRP
    WHERE VBELN = vbrk-vbeln AND POSNR = IT_LINE.
    move vbrp-arktx to mat_desc.
    read table out_par with key 'DESC'.
    check sy-subrc = 0.
    out_par-value = mat_desc.
    modify out_par index sy-tabix.
    endform.               "get_desc
    Thanks,
    Ziad

  • Reset page number to '1 ' for each box of packing list in sap script

    hi Gurus,
    I am running a packing list for delivery note . Many boxes spread across more than one page. I Need to print page number in Packing list for each box like 1 of 2 , 2 of 2. In the new page for next box , I need to print 1 of 1, 2 of 2. and goes on.
    can you suggest a method to achieve this in script.
    thanks,
    manoj

    Hi,
    Could you give me the reply for following question?
    1. Are the boxes changing depends on the data? or static size? How many boxes would be displayed in a page?
    2. Is it your own driver program / standard one?
    3. Suppose if you have 5 pages and having 10 boxes, 2 boxes for each page, then do you need to display like,
    >1 of 1 on 1st box on 1st page
    >2 of 1 on 2nd box on 1st page
    >1 of 2 on 1st box on 2nd page
    >2 of 2 on 2nd box on 2nd page
    >....
    Is it so?
    Once i get these details then I will let u know the way....:)

  • Screen Display Language of Material Descriptions in PO vs Output Documents

    Greetings Experts,
    We have the requirement to display material descriptions in purchase order screens as well as other screens in language dictated by user setting and not the business partner preference. Currently, when we log on as user with English language setting and create purchase order for vendor with a Korean language setting, the material description in the screen is displayed in Korean. So it appears that system ignores the UI preference and displays the material description in the vendor's language/comunication preference. We see this same behavior in other SAP transactions as well. Is there a way for display language for material description to be dictated by user logon preference while retaining ability to output documents that are required in vendor's preferred language?

    Hi
    The material description will come from the material master record, so whic language you are entering in the material master it automatically pick to the purchasing documents.
    If you need material description in different language you can do this in material master itself goto additional data and maintain there.

  • Material Description while goods movement in CORK

    Hi experts,
           When i am trying process order confirmation, it pick-up material code only and not material description, and it is very difficult to recognize which material is this by this, so need material description field there, but in standard SAP its not there, please suggest me how can i get description there.
    Karad D D

    Hi,
    In CORK screen,material description is there.it will get displayed next to the material.
    If you are lokking in CORK goods movement tab,then it is there in end of teh table ,just drag that next to material field and save the layout.from next time onwards it will get displayed next to that material.
    To make description next to material always,first drag that field next to material and then click on the table setting at the right hand corner and create a variant and make that variant as current setting.
    Hope it helps
    Edited by: Girish  Adaviswamy on May 12, 2010 12:16 PM

  • Regarding material description length

    hi experts,
    client needs material description more than 40 chars so how can we extend because in standard table material descp is of 40 chars only.
    *can we do with the help of userexit or badi if yes how .........
    thnx in advance.

    Hi
    I don't think it is possible to increase the length of MAKTX more than 40 char.
    What for he needs.
    If he needs to enter some extra text let him use the Material LONG texts which are available in MM01 etc. (which we can fetch afterwards using READ_TEXT fun module and use )
    generally when the lient needs to enter some extra data which is of more length we advise them to do like that.
    If the client still insists in the material master  of MM01 in SPRO You can try by increasing it.
    Because there is no screen exits for MM01.
    also see the OSS notes
    44410
    38299
    Regards
    Anji

  • Packing list without Handling Management.

    Hi All,
    I have a question, please need all LE GURUS Input.
    I am going for output type PL00 Packing list.
    At my client place, we are not using handling unit management.
    I am thinking, we can print out packing list without handling units.
    We did not configured any handling units and whenever I am trying to print output it erring me no handling units. Am I rt r wrong. Please let me know if you have any ideas and answers.
    Thank you,
    Sharath.

    Hi Sarath,
    Even if you are not using Handling Unit "Management", you need handling units to create the packing list. Handling Units are created automatically by the system when you pack items in the delivery. This is irrespective of whether you are using HUM or not.
    In short, you can use handling units without enabling HUM.
    If you are trying to print the packing list without packing the items, then of course the system will not print it.
    Hope this answers,
    Regards
    Nikhil

  • Can you export shipping docs (packing list and invoice) into a doc file?

    Hello Gurus,
    Is there a way to save ZRPL packing list and ZRIN ROSA Invoice into a file instead of printing?
    For example going to VL03N > outbound delivery > issue delivery output > select ZRPL and instead of printing a hardcopy, can it be exported into a file? I need to do this operation to more than 100 packing lists and invoices. I want to upload it to a sharepoint and save some paper.
    Thank You very much for your responses!

    create another comment field that doesn't use 'appending', and through SP Designer change workflow keep
    updating that field with the new comments  (prepend the field with date/username/new comment). Hide the field on all forms, but put it in the view you need to export to Excel.
    Please refer few more links: Hope they will help
    http://www.nothingbutsharepoint.com/2009/04/16/versioning-append-changes-to-existing-text-view-entries-aspx/
    http://sympmarc.com/2011/02/07/showing-all-versions-of-append-changes-to-existing-text-in-a-data-view-web-part-dvwp/comment-page-3/
    https://mossipqueen.wordpress.com/2013/03/06/display-all-appending-field-entries-in-a-single-list-view/
    http://community.office365.com/en-us/f/154/t/278560.aspx
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Need additional Description of Material apart from Material Master

    Dear All,
    One of our customer wants to maintain an additional Material Description, apart from the description maintained in the Material Master.
    In the material Master, they are maintaining "Manufacturer Part Number" as a description.
    In the Customer-Material Info record, they are maintaining "Customer's Part No".
    Both are getting printing in the Invoice output.
    Apart from these they need to maintain some other decription of material. Where we can maintain this?
    For example, in the Material Master, they are maintaining "Manufacturer Part Number", something like "RM20010V". The same is not acceptable for Excise clearace officers. They asked them to maintain the clear description of the material.
    Please suggest.
    Regards,
    Mullairaja

    they need to maintain some other decription of material
    Go to MM01 / MM02 and click "Select views" so that you can see a field SALES TEXT.  You can maintain here and fetch the same to your sale order / billing.
    thanks
    G. Lakshmipathi

  • Packing list in case of export for trading materials from merchant-exporter

    Dear Experts,
    Could you please guide me how to map "Packing list" in case of export for trading materials with head-office acting as merchant exporter in SAP?
    Waiting for your reply.
    With regards,
    Jhelum Roy

    You have posted the question without giving proper details like whether the head office is a manufacturer or just merchant exporter.
    If they are a manufacturer exporter, then no problem, normal export process you can follow adhering to Excise regulations; be it head office or marketing office, you can consider it as a shipping point.
    If not, the scenario should be treated as a Third Party Exports which cannot be explained just like that here.  Search google with this text and you will find some documentation on that.
    thanks
    G. Lakshmipathi

  • Print Material text on Pick/Pack list??

    HI Friends,
    Is there any such thing existing for text specific to a material to print on shipping papers (Pick list/Pack list)
    I have a request to print that the material xyz  "must be packed in containers & must ship in quantities"
    I can enter it in the customer master - but then it will print for every item.  Appreciate your advise and expertise.
    Thanks.
    Mike

    But how can i make sales text specific to only one material, bcoz i want this text to appear on pack list.
    For any other material if there is any text exist under sales text it would also print on pack list, here the requirement is i have to restrict this text to only one material. pls advise.
    thanks.
    Mike

  • E-mailing packing list to the customer

    Hi,
    Our business process needs emailing of packing list to the customer.
    The packing list output form has been developed using SMARTFORM to print bar codes on it.
    We would like to utilize contact person functionality, which is available in the customer master, to store the email id of the packing list recipient.
    Can you provide the details of how to send the packing list output to the customer contact using SAP email functionality? Should I need to create a separate output condition type for it?
    Thanks in advance.
    Regards,
    Shiva

    Hi,
    You can use the following code to send the smartform output to email.
    *********Variable Declarations *****************************
    DATA: gv_form_name TYPE rs38l_fnam,   " Used to store the function module generated by Smartform
          gv_bin_filesize TYPE i,         " Store the file size
          gv_pos TYPE i,
          gv_len TYPE i,
          gv_tab_lines TYPE i.
    ********Constants *******************************************
    Data : gc_text(11) type c value 'Form Output',
           gc_tst(3) type c value 'TST',
           gc_testing(7) type c value 'Testing'.
    *********Work Area Declarations *****************************
    DATA: gs_docdata TYPE sodocchgi1,     " Data of an object which can be changed
          gs_ctrlop TYPE ssfctrlop,       " Smart Forms: Control structure
          gs_outopt TYPE ssfcompop,       " SAP Smart Forms: Smart Composer (transfer) options
          gs_otfdata TYPE ssfcrescl,      " Smart Forms: Return value at end of form printing
          gs_reclist TYPE somlreci1,      " SAPoffice: Structure of the API Recipient List
          gs_pdf_tab TYPE tline,          " Workarea for SAP Script Text Lines
          gs_objbin TYPE solisti1,        " SAPoffice: Single List with Column Length 255
          gs_objpack TYPE sopcklsti1.     " SAPoffice: Description of Imported Object Components
    *********Internal tables Declarations *****************************
    DATA: gt_reclist TYPE TABLE OF somlreci1,      " SAPoffice: Structure of the API Recipient List
          gt_pdf_tab TYPE TABLE OF tline,          " SAPscript: Text Lines
          gt_otf TYPE TABLE OF itcoo,              " OTF Structure
          gt_objbin TYPE TABLE OF solisti1,        " SAPoffice: Single List with Column Length 255
          gt_objpack TYPE TABLE OF sopcklsti1.     " SAPoffice: Description of Imported Object Components
    CLEAR : gv_form_name,
            gs_ctrlop,
            gs_outopt,
            gs_otfdata,
            gv_bin_filesize,
            gv_pos,
            gv_len,
            gv_tab_lines.
    START-OF-SELECTION.
    Generate Function Module name
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZPDF_G'
        IMPORTING
          fm_name            = gv_form_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Assigning values to Form Control Structure and Form Composer
      gs_ctrlop-getotf = 'X'.
      gs_ctrlop-no_dialog = 'X'.
      gs_outopt-tdnoprev = 'X'.
    Getting the OTFDATA
      CALL FUNCTION gv_form_name
        EXPORTING
          control_parameters = gs_ctrlop
          output_options     = gs_outopt
          user_settings      = 'X'
        IMPORTING
          job_output_info    = gs_otfdata
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Assigning the OTFDATA to OTF Structure table
      CLEAR gt_otf.
      gt_otf[] = gs_otfdata-otfdata[].
    Convert the OTF DATA to SAP Script Text lines
      CLEAR gt_pdf_tab.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = gv_bin_filesize
        TABLES
          otf                   = gt_otf
          lines                 = gt_pdf_tab
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Assigning the Description of the object sent in the mail
      CLEAR gs_docdata.
      gs_docdata-obj_name = gc_tst.
      gs_docdata-obj_descr = gc_testing.
    Assigning the email id to Structure of the API Recipient List table
      CLEAR : gt_reclist, gs_reclist.
      gs_reclist-receiver = '[email protected]'.
      gs_reclist-rec_type = 'U'.
      APPEND gs_reclist TO gt_reclist.
    Passing the SAP Script text lines to SAPoffice: Single List with Column Length 255 table
      CLEAR : gs_objbin, gs_pdf_tab.
      LOOP AT gt_pdf_tab INTO gs_pdf_tab.
        gv_pos = 255 - gv_len.
        IF gv_pos > 134. "length of pdf_table
          gv_pos = 134.
        ENDIF.
        gs_objbin+gv_len = gs_pdf_tab(gv_pos).
        gv_len = gv_len + gv_pos.
        IF gv_len = 255. "length of out (contents_bin)
          APPEND gs_objbin TO gt_objbin.
          CLEAR: gs_objbin, gv_len.
          IF gv_pos < 134.
            gs_objbin = gs_pdf_tab+gv_pos.
            gv_len = 134 - gv_pos.
          ENDIF.
        ENDIF.
      ENDLOOP.
      IF gv_len > 0.
        APPEND gs_objbin TO gt_objbin.
      ENDIF.
    Filling the details in SAPoffice: Description of Imported Object Components table
      DESCRIBE TABLE gt_objbin LINES gv_tab_lines.
      CLEAR gs_objbin.
      READ TABLE gt_objbin INTO gs_objbin INDEX gv_tab_lines.
      IF sy-subrc = 0.
        gs_objpack-doc_size = ( gv_tab_lines - 1 ) * 255 + STRLEN( gs_objbin ).
        gs_objpack-transf_bin = 'X'.
        gs_objpack-head_start = 1.
        gs_objpack-head_num = 0.
        gs_objpack-body_start = 1.
        gs_objpack-body_num = gv_tab_lines.
        gs_objpack-doc_type = 'PDF'.
        gs_objpack-obj_name = 'ATTACHMENT'.
        gs_objpack-obj_descr = 'test'.
        APPEND gs_objpack TO gt_objpack.
      ENDIF.
    Sending the Form Output in the PDF format to email
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data                    = gs_docdata
         put_in_outbox                    = 'X'
         commit_work                      = 'X'
        TABLES
          packing_list                     = gt_objpack
          contents_bin                     = gt_objbin
          receivers                        = gt_reclist
       EXCEPTIONS
         too_many_receivers               = 1
         document_not_sent                = 2
         document_type_not_exist          = 3
         operation_no_authorization       = 4
         parameter_error                  = 5
         x_error                          = 6
         enqueue_error                    = 7
         OTHERS                           = 8
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        WRITE 'Sent Successfully'.
      ENDIF.
      SUBMIT rsconn01
      WITH mode EQ 'INT'
      AND RETURN.
    END-OF-SELECTION.
    Reward if useful.........

  • Mapping of Packing List

    Dear All
    We need to map the packing list in SAP.
    As of now,It is being offline as it is being provided by the Plant,then the  concerned person are taking output based on the description of number of Carton ,gross weight ,net weight.
    Can you plz help me out how we can create a packing list in SAP before creating a delivery with all description of fully packed carton ,lose carton?
    Suppose there is a 110 pieces of material in which you can keep 20 material in one carton.
    Then we can say there is a 5 carton fully packed and 10 material wiill be in a  lose slot.

    Hi,
    Set up configuration in logistic execution for packing
    IMG >> LE >> SHIPPING >> PACKING
    Number ranges for HU
    Define packing control by item categories
    Define packaging material type as Carton in detail maintain configuration as
    OutputDet.Proc. 000001 Standard
    Output Type     0001   Handling unit
    Plant determin. - From 1st item that was packed
    Pack.matl cat. - packaging material
    Number assgnmt - HU_VEKP
    HU type -CARTON
    Int. interval   01
    Ext. interval   02
    Define packaging material group as Cartons
    Define allowed packaging material (Cartons - Carton)
    Then create packaging material as carton by MM01, in basic data 1 screen maintain packaging material group
    Then create your sale material in that in SALES : General/plant tab enter packaging material group and type
    Now create sales order then delivery
    In delivery click on pack
    The delivery material show in at down
    then select material and change quantity as 10 and clcik on pack
    then system will ask can search for allowed packaging material say yes then from list select packing material carton and enter
    Then your 10 qty will pack and 1 handling number will be generated that will appear on upper screen.
    However you can set automaticlly packing of 10 QTY in 1 carton for this explore HU management automatic packing.
    kapil

Maybe you are looking for