Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What is your relationship with SAP?
 
Home
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: 330
Sample Code: 164
Total Contributions: 545

Member Activity
Members: 6061 since 2/1/2007!
New: 0 since yesterday!
Visitors: 959688

Newest Members

Welcome our newest members:

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor