Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

serial number in sd module

Former Member
0 Kudos

Hi all

We have a scenario of serial number which is assigned to a sales order.

Earlier scenario ( SIEBEL TO SAP R/3 )

Actually the required fields are in put from Siebel and the same is

sent to SAP R/3 via standard BAPI. "BAPI_SALESORDER_CREATEFROMDAT1". As

a result of BAPI the sales order is being created.

The input fields to SAP R/3 are

To SAP

SAP 4x Order - Create SAP Order (BAPI Input)

Siebel Field SAP Fields

Import Parameters

Source Expression Target Field Name

"X" CONVERT_PARVW_AUART

[Distribution Channel] ORDER_HEADER_IN-DISTR_CHAN

[DC SAP Division] ORDER_HEADER_IN-DIVISION

[SAP Sub Type] ORDER_HEADER_IN-DOC_TYPE

[Order Date] ORDER_HEADER_IN-PURCH_DATE

[Order Number] ORDER_HEADER_IN-PURCH_NO

[Sales Group] ORDER_HEADER_IN-SALES_GRP

[Sales Office] ORDER_HEADER_IN-SALES_OFF

[Sales Organization] ORDER_HEADER_IN-SALES_ORG

"" WITHOUT_COMMIT

ORDER_PARTNERS

[Ship to Location Code] PARTN_NUMB

"SH" PARTN_ROLE

[Bill to Location Code] PARTN_NUMB

SP PARTN_ROLE

ORDER_ITEMS_IN

[Line Number] PO_ITM_NO

[Material variant ] MATERIAL For Vehicle

[Quantity Requested] REQ_QTY For Vehicle

Now Required ( SIEBEL TO SAP R/3 )

As per new scenario the serial number field is to be added to existing

BAPI so that sales order will be saved along with serial number. (

sales order->Extras->Technical objects->serial number )

The serial number field in SAP R/3 is SERNR ( table u2013 RIPWO )

Problem:

Please advise how we can make use of existing BAPI by incorporating

serial number. We unable identify the fields. So, Please suggest how we

can utilize standard BAPI. to get sales order creation?

1 REPLY 1

Former Member
0 Kudos

Hi SReddy,

The field serial no you are looking for is present in the structure

ORDER_ITEMS_IN [BAPISDITM] as BOMEXPL_NO of the next BAPI [BAPI_SALESORDER_CREATEFROMDAT2].

Use this BAPI to solve the problem.

Thanks

Sudharshan