Warning: include_once(http://erpgenie.com/_borders/topabap.htm) [function.include-once]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/templates/rhuk_solarflare_ii/index.php on line 52

Warning: include_once() [function.include]: Failed opening 'http://erpgenie.com/_borders/topabap.htm' for inclusion (include_path='.:') in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/templates/rhuk_solarflare_ii/index.php on line 52

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What area of ABAP are you interested in?
 
Home arrow Tips and Tricks arrow General arrow Create NAST entry via ABAP
Create NAST entry via ABAP PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Kevin Wilson   
Thursday, 19 July 2007
How do you create an output record (NAST / Message Control) using ABAP? This code snippet created an EDI BA00 output for a customer.
  SPAN { FONT-SIZE: 10pt; BACKGROUND: #ffffff; COLOR: #000000; FONT-FAMILY: "Courier New" } .L1S32 { COLOR: #3399ff } .L1S33 { COLOR: #4da619 } .L1S52 { COLOR: #0000ff }   clear v_nast.
      v_kunnr = '123454'.
    v_name = g_vbeln.
    v_nast-kappl = 'V1' .
    v_nast-objky = g_vbeln .
    v_nast-tcode = 'VA02' .
    v_nast-kschl = 'BA00' .
    v_nast-spras = 'E' .
    v_nast-parnr = v_kunnr.
    v_nast-parvw = 'AG' .
    v_nast-erdat = sy-datum .
    v_nast-eruhr = sy-uzeit .
    v_nast-nacha = '6' .
    v_nast-vsztp = '1' .
    v_nast-vstat = 0 .

        call function 'RV_MESSAGE_UPDATE_SINGLE'
          exporting
            msg_nast = v_nast.

Related Items:

 
< Prev   Next >

Google Search

Statistics

Contribution Activity
Utilities: 38
Tips and Tricks: 333
Sample Code: 164
Total Contributions: 550

Member Activity
Members: 6244 since 2/1/2007!
New: 0 since yesterday!
Visitors: 1080656
We have 7 guests online

Newest Members

Welcome our newest members:

Google Ads


Warning: include(http://erpgenie.com/_borders/bottom.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/includes/footer.php on line 22

Warning: include() [function.include]: Failed opening 'http://erpgenie.com/_borders/bottom.htm' for inclusion (include_path='.:') in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/includes/footer.php on line 22