Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8620

Re: Import and Export not working with SUBMIT

$
0
0

Many thanks everybody for your valuable input. I've resolved the issue in following way.

 

1. call function'JOB_OPEN'

2. submit z_craete_order_doc_batch             

              user sy-uname
              via job lv_jname
              number lv_jcount
              TO SAP-SPOOL WITHOUT SPOOL DYNPRO
              WITH destination = 'LOCL'
              WITH immediately = space
              WITH keep_in_spool = 'X'
              with selection-table i_seltab
              and return.

3. call function 'JOB_CLOSE'

4. call function 'BP_JOB_READ'

5. call function 'RSPO_RETURN_ABAP_SPOOLJOB'

 

On step 5 I loop though records in internal table and make decision.


Viewing all articles
Browse latest Browse all 8620

Trending Articles



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