Quantcast
Channel: SCN: Message List - Output Management
Viewing all 3169 articles
Browse latest View live

FM 'ME_PRINT_PO' not creating spool no.

$
0
0

Hi Experts,

 

I have requirement where I need to send PO as a attachment with text message in one single mail. Previously there were two mails being sent out one with attachment and other with text message configured in NACE using Standard Prog. SAPFM06P.

 

Now to achieve this I have created my custom program but the issue is FM  'ME_PRINT_PO' does not create spool (sy-msgv1) which will be used by FM 'CONVERT_OTFSPOOLJOB_2_PDF' to create PDF.

 

All necessary config is in place like in NACE Output type is set with medium 5(external send) and Communication Strategy is CS01.

 

Kindly advice what else I can check.

 

regards,

Ashutosh Misra


Re: Issue in PO Print Preview

$
0
0

This need to be resolved by Abaper.. you print may be going out of borders or system not able move the data..or text to 2nd page .. ask your abaper to fix the issue

SPAD identify active printers that are used for the last one year or 6 months

$
0
0

Hello,

 

In SPAD transaction there are nearly 4000+ output devices .how we need to identify the list of active printers that are used for the last 6 months or 1 year?

 

Is there any report that shows the active output devices that are used at least for the last 6 months to 1 year ?

 

we need this list to identify the output devices which are not used and lock them .

 

please let me your suggestions .

 

 

Thanks,

Utham

Re: Issue in PO Print Preview

$
0
0

Even I am making the simple PO with no extra Text in it, how it it possible?

 

Data is not going on 2nd page OR not any changes in Smart-form recently. Before couple of days, all type of POs was printing well.

 

Please suggest more.

Re: SAPScript adjust total number of pages

$
0
0

When I set the numbering type for the Terms and Conditions page to HOLD, the &PAGE& variable will contain the correct value. It is not being printed on the T&C page itself, so we're good there. This now results in pages 1/4, T&C, 2/4 and 3/4.

 

So far I have seen that the &SAPSCRIPT-FORMPAGES& value is being incremented for every page it passes. After all pages have been processed, SAP prints that final value to all pages. It seems the system keeps a blank space for that value until end of processing.

 

Now when I read that value on every page and store it in my own global variable, that global variable would simply increase for every page. Resulting in pages 1/1, T&C, 2/2, 3/3.

 

Perhaps we're not talking about the same thing here, I get the feeling I don't fully understand what you are trying to tell me.

Re: SAPScript adjust total number of pages

$
0
0

Hi,

 

there are different designes for your sap-script programm

 

1.

1.1 call FM open_form

do all your normal logic inside here

1.2 call FM close_form

 

2.

2.1 call FM open_form

2.1.1 call FM START_FORM

do your normal logic inside here

2.1.2 call FM END_FORM

 

remember ITCPP-TDPAGES of returning parameter of END_FORM in your own global variable and use it as total page for your special page logic

 

2.1.3 call FM START_FORM

do your special page logic inside here

your special page can be a seperate SE71-Formular, or at least a seperate window in your formular you use for Start-end-form above. so you can directly call it here.

 

2.1.4 call FM END_FORM

 

2.2 call FM close_form

 

 

i did not test it, but it should work.

end_form contains the pages of all pages inside open and end-form.

close_form contains all pages of the whole job.

 

regards

Stefan Seeburger

Re: Error during print request output. l_rc = 99

Re: Unable to print from SAP


Re: SPAD identify active printers that are used for the last one year or 6 months

Re: SPAD identify active printers that are used for the last one year or 6 months

$
0
0

Hi Florian,

 

Thanks for providing the details. I have wrongly tagged to this post to output management.

 

I have posted this details in a separate thread.

 

 

Thanks,

Utham

Re: SPAD identify active printers that are used for the last one year or 6 months

Re: Unable to print from SAP

$
0
0

is it only 1 user? can all the other users print? is the problem on a single printer? or does it effect every printer?

 

did you check if the user got the authorization to print?

did you check the syslog?

 

regards

Stefan Seeburger

Re: Multiple O/P Records-Billing

$
0
0

Hello Raghuram,

 

I believe the issue here is both the records (for 3rd Access and 7th Access) were determined.

 

If my understanding is correct, are the Accesses marked as "Exclusive"?

 

Go to IMG - Sales and Distribution - Basic Functions - Output Control - Output Determination - Output Determination Using the Condition Technique - Maintain Output Determination for Billing Documents - Maintain Access Sequences.

 

If the Accesses are marked as Exclusive, once the Condition Record for third access is determined, system should not search any further.

 

Thanks,

Jignesh Mehta

Re: Multiple O/P Records-Billing

$
0
0

thanks Jignesh.

Yes the accesses are exclusive of each other.

 

any other pointers please?

Re: Multiple O/P Records-Billing

$
0
0

Moved from SAP ERP SD Billing to Output Management


Re: Multiple O/P Records-Billing

$
0
0

thanks Lakshmipathi, haven't been to SCN since ages!

Re: Multiple O/P Records-Billing

$
0
0

Hi Raghuram,

good to have you here, but you need to provide more information about what you have done or what exact your problem is.

Right now it is just walking through the dark without a light.

Have a look in this blog

Before You Ask - Just another guide

please share the finding-analyse-protocol. I'm sure we can find some countable.

~Florian

Re: Send 1 of many attacments files in PO output message

$
0
0

Hi Nicolas Giuffrida,

 

if you resolve this issue please help me, I'm also facing same kind of issue,  please send me the sample code

 

Note:

How to archive this point

3rd Then use what SCMS_AO_TABLE_GET returns to call FM SCMS_XSTRING_TO_BINARY

 

 

Thanks

Vimal Raj

Re: Send 1 of many attacments files in PO output message

$
0
0

Hi Vimal

 

This is what you need to do in steps 3 and foward:

 

 

        CALL FUNCTION 'SCMS_AO_TABLE_GET'

          EXPORTING

            mandt        = sy-mandt

            arc_id       = <connect>-archiv_id

            doc_id       = <connect>-arc_doc_id

          IMPORTING

            length       = l_v_length

          TABLES

            data         = l_i_data

          EXCEPTIONS

            error_http   = 1

            error_archiv = 2

            error_kernel = 3

            error_config = 4

            OTHERS       = 5.

 

 

        IF sy-subrc EQ 0.

*Cast from binary to xstring

          CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'

            EXPORTING

              input_length = l_v_length

            IMPORTING

              buffer       = l_v_xstring

            TABLES

              binary_tab   = l_i_data

            EXCEPTIONS

              failed       = 1

              OTHERS       = 2.

 

          IF sy-subrc EQ 0.

            REFRESH i_objbin1[].

            CLEAR v_num.

*Cast from xstring to binary into a object format

            CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'

              EXPORTING

                buffer     = l_v_xstring

              TABLES

                binary_tab = i_objbin1.

 

 

After that,do this:

Note:o_document_attach its TYPE REF TO cl_document_bcs

 

 

          TRY.

              v_doc_size = l_v_length.

              CLEAR o_document_attach.

              CALL METHOD cl_document_bcs=>create_document

                EXPORTING

                  i_type    = 'BIN'

                  i_subject = l_v_subject <----- Document name with the extention,doc, docx, txt...

                  i_length  = v_doc_size

                  i_hex     = i_objbin1

                RECEIVING

                  result    = o_document_attach.

            CATCH cx_bcs INTO o_bcs_exception.

          ENDTRY.

          CALL METHOD o_document->add_document_as_attachment

            EXPORTING

              im_document = o_document_attach.

 

 

 

 

Hope this helps.

Regards,

Nico.-

Re: Send 1 of many attacments files in PO output message

$
0
0

Hi Nicolas,

 

Thanks for your reply, Can you please tell me the type for (o_document)

 

Thanks

Vimal Raj

Viewing all 3169 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>