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: 

Production via Service Layer

mariakoval
Explorer
0 Kudos

I am looking to get a list of entities or services of service layer to be able to post timesheet entries, issue for production and receipts from productions (SAP B1 cloud hana). Do someone know if those are available via service layer as I am unable to identify it in Service Layer API Reference? thank you!

  • SAP Managed Tags:
1 ACCEPTED SOLUTION

ens_
Active Participant
0 Kudos

Dear Mrs. maria.koval.11,

For the Project Timesheet, this is the schema;

<ServiceLayer>
<bfa:io xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms">
<!--ObjectName: ProjectManagementTimeSheet, EntityType: PM_TimeSheetData-->
<bfa:object>
<!-- AbsEntry is Primary Key - Not Null -->
<bfa:number name="AbsEntry">-32 (Int32)</bfa:number>
<bfa:number name="DocNumber">-32 (Int32)</bfa:number>
<bfa:string name="TimeSheetType">E | U | O</bfa:string>
<bfa:number name="UserID">-32 (Int32)</bfa:number>
<bfa:string name="LastName">sample (String)</bfa:string>
<bfa:string name="FirstName">sample (String)</bfa:string>
<bfa:number name="Department">-32 (Int32)</bfa:number>
<bfa:string name="DateFrom">2015-08-11T12:05 (DateTime)</bfa:string>
<bfa:string name="DateTo">2015-08-11T12:05 (DateTime)</bfa:string>
<bfa:array name="PM_TimeSheetLineDataCollection">
<!-- PM_TimeSheetLineDataCollection is a Collection -->
<bfa:object>
<!-- LineID is Not Null -->
<bfa:number name="LineID">-32 (Int32)</bfa:number>
<bfa:string name="Date">2015-08-11T12:05 (DateTime)</bfa:string>
<bfa:number name="ActivityType">-32 (Int32)</bfa:number>
<bfa:string name="LaborItem">sample (String)</bfa:string>
<bfa:string name="StartTime">13:20:00 (Time)</bfa:string>
<bfa:string name="EndTime">13:20:00 (Time)</bfa:string>
<bfa:number name="Workorder">-32 (Int32)</bfa:number>
<bfa:number name="ServiceCall">-32 (Int32)</bfa:number>
<bfa:string name="CostCenter">sample (String)</bfa:string>
<bfa:string name="FinancialProject">sample (String)</bfa:string>
<bfa:number name="Location">-32 (Int32)</bfa:number>
<bfa:string name="GPSData">sample (String)</bfa:string>
<bfa:number name="Branch">-32 (Int32)</bfa:number>
<bfa:string name="Break">13:20:00 (Time)</bfa:string>
<bfa:string name="NonBillableTime">13:20:00 (Time)</bfa:string>
<bfa:string name="EffectiveTime">13:20:00 (Time)</bfa:string>
<bfa:string name="BillableTime">13:20:00 (Time)</bfa:string>
<bfa:string name="FullDay">N | Y</bfa:string>
</bfa:object>
</bfa:array>
</bfa:object>
</bfa:io>
</ServiceLayer>

For the Issue and Receipt, It is InventoryGenExit and InventoryGenEntries respectively. You can find the schema in B1i if you go under HELP menu. For the InventoryGen types, you need to define the BaseType as 202 and it will be Issue for production from the GenExit and Receipt from production for GenEntries

Sincerely,

Varnavas Eleftheriou

  • SAP Managed Tags:
3 REPLIES 3

ens_
Active Participant
0 Kudos

Dear Mrs. maria.koval.11,

For the Project Timesheet, this is the schema;

<ServiceLayer>
<bfa:io xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms">
<!--ObjectName: ProjectManagementTimeSheet, EntityType: PM_TimeSheetData-->
<bfa:object>
<!-- AbsEntry is Primary Key - Not Null -->
<bfa:number name="AbsEntry">-32 (Int32)</bfa:number>
<bfa:number name="DocNumber">-32 (Int32)</bfa:number>
<bfa:string name="TimeSheetType">E | U | O</bfa:string>
<bfa:number name="UserID">-32 (Int32)</bfa:number>
<bfa:string name="LastName">sample (String)</bfa:string>
<bfa:string name="FirstName">sample (String)</bfa:string>
<bfa:number name="Department">-32 (Int32)</bfa:number>
<bfa:string name="DateFrom">2015-08-11T12:05 (DateTime)</bfa:string>
<bfa:string name="DateTo">2015-08-11T12:05 (DateTime)</bfa:string>
<bfa:array name="PM_TimeSheetLineDataCollection">
<!-- PM_TimeSheetLineDataCollection is a Collection -->
<bfa:object>
<!-- LineID is Not Null -->
<bfa:number name="LineID">-32 (Int32)</bfa:number>
<bfa:string name="Date">2015-08-11T12:05 (DateTime)</bfa:string>
<bfa:number name="ActivityType">-32 (Int32)</bfa:number>
<bfa:string name="LaborItem">sample (String)</bfa:string>
<bfa:string name="StartTime">13:20:00 (Time)</bfa:string>
<bfa:string name="EndTime">13:20:00 (Time)</bfa:string>
<bfa:number name="Workorder">-32 (Int32)</bfa:number>
<bfa:number name="ServiceCall">-32 (Int32)</bfa:number>
<bfa:string name="CostCenter">sample (String)</bfa:string>
<bfa:string name="FinancialProject">sample (String)</bfa:string>
<bfa:number name="Location">-32 (Int32)</bfa:number>
<bfa:string name="GPSData">sample (String)</bfa:string>
<bfa:number name="Branch">-32 (Int32)</bfa:number>
<bfa:string name="Break">13:20:00 (Time)</bfa:string>
<bfa:string name="NonBillableTime">13:20:00 (Time)</bfa:string>
<bfa:string name="EffectiveTime">13:20:00 (Time)</bfa:string>
<bfa:string name="BillableTime">13:20:00 (Time)</bfa:string>
<bfa:string name="FullDay">N | Y</bfa:string>
</bfa:object>
</bfa:array>
</bfa:object>
</bfa:io>
</ServiceLayer>

For the Issue and Receipt, It is InventoryGenExit and InventoryGenEntries respectively. You can find the schema in B1i if you go under HELP menu. For the InventoryGen types, you need to define the BaseType as 202 and it will be Issue for production from the GenExit and Receipt from production for GenEntries

Sincerely,

Varnavas Eleftheriou

  • SAP Managed Tags:

Thanks a lot Varnavas

  • SAP Managed Tags:

ens_
Active Participant
0 Kudos

You are most welcome 🙂

  • SAP Managed Tags: